Function at 0x43d0e0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52e86c
mov eax, dword fs:[0]
push eax
sub esp, 0x388
mov eax, dword [0x5c6150]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
push dword [esi + 0x18]
lea ecx, [ebp - 0x25c]
mov dword [ebp - 0x394], esi
call fcn.0044fe90
push str.SGDownload.exe
lea ecx, [ebp - 0x25c]
mov dword [ebp - 4], 0
call fcn.00450150
cmp byte [ebp - 0x140], 0
lea edi, [ebp - 0x250]
cmove edi, dword [ebp - 0x254]
add edi, 4
call fcn.0048b0f0
mov ebx, eax
cmp byte [ebx], 0
jne 0x43d18f
test edi, edi
je 0x43d18f
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x43d18f
shr eax, 4
not al
and al, 1
je 0x43d18f
push edi
lea eax, [ebx + 2]
push 0x104
push eax
call fcn.004e1af2
add esp, 0xc
mov byte [ebx], 1
push 0
push 0
push 0
push 0
push str.SGTool.exe
push dword [esi + 0x18]
lea ecx, [ebp - 0x380]
call fcn.00451610
lea ecx, [ebp - 0x138]
mov dword [ebp - 0x388], 0
call fcn.0044fd40
mov byte [ebp - 0x38c], 0
mov dword [ebp - 0x390], 0
mov byte [ebp - 4], 4
mov eax, dword [esi + 8]
cmp eax, 6
ja case.default.0x43d1e0
jmp dword [eax*4 + 0x43d4a0]
push str.__appidupUrlGuidefunc
lea ecx, [ebp - 0x138]
call fcn.00450150
cmp byte [ebp - 0x1c], 0
lea eax, [ebp - 0x12c]
push 5
cmove eax, dword [ebp - 0x130]
lea edx, [ebp - 0x388]
push ecx
add eax, 4
push eax
push ecx
lea ecx, [ebp - 0x390]
call fcn.00486ed0
mov eax, dword [esi + 4]
add esp, 0x10
test eax, eax
je 0x43d3dd
push 0
push 0
push 0x10
jmp 0x43d3d4
push str.__appidupcelldictfunc
lea ecx, [ebp - 0x138]
call fcn.00450150
mov eax, dword [esi + 0x1c]
mov edi, 0
mov ecx, 5
mov eax, dword [eax]
test al, 4
cmove edi, ecx
test eax, 0x1000
je 0x43d275
push str.__wizard
lea ecx, [ebp - 0x138]
call fcn.00450150
cmp byte [ebp - 0x1c], 0
lea eax, [ebp - 0x12c]
push edi
cmove eax, dword [ebp - 0x130]
lea edx, [ebp - 0x388]
push ecx
add eax, 4
push eax
push ecx
lea ecx, [ebp - 0x390]
call fcn.00486ed0
mov eax, dword [esi + 4]
add esp, 0x10
test eax, eax
je 0x43d3dd
push 0
push 0
push 0x10
jmp 0x43d3d4
push ecx
mov ecx, esi
call fcn.0043a7e0
cmp eax, 0xffffffff
jne 0x43d2c7
mov dword [esi + 0x34], eax
mov eax, dword [esi + 4]
test eax, eax
je 0x43d3dd
cmp dword [eax + 0x7dc], 0
je 0x43d3dd
push 0
push 0
push 0x10
jmp 0x43d3d4
push 0
mov byte [esi + 0x80], 1
call fcn.004e2e2c
add esp, 4
mov dword [esi + 0x88], eax
mov ecx, 0x5d58dc
mov dword [esi + 0x8c], edx
push 0x5dd4c8
call fcn.0047ab20
test eax, eax
jne 0x43d320
mov byte [esi + 0x80], al
cmp byte [esi + 0x80], 0
je 0x43d32e
call fcn.00489c50
push ecx
lea eax, [ebp - 0x381]
mov byte [ebp - 0x381], 0
push eax
mov ecx, esi
call fcn.0043add0
cmp byte [ebp - 0x381], 0
je 0x43d3dd
push str.__appidupAutoUp
lea ecx, [ebp - 0x138]
call fcn.00450150
cmp byte [ebp - 0x1c], 0
lea eax, [ebp - 0x12c]
push 0
cmove eax, dword [ebp - 0x130]
lea edx, [ebp - 0x388]
push ecx
add eax, 4
push eax
push ecx
lea ecx, [ebp - 0x390]
call fcn.00486ed0
add esp, 0x10
jmp 0x43d3dd
push str.__appidupImeRepair
jmp 0x43d1ec
push str.__appidupInfoKeyDict
jmp 0x43d1ec
sub esp, 8
mov ecx, esi
call fcn.0043bef0
jmp 0x43d3dd
mov eax, dword [esi + 4]
test eax, eax
je 0x43d3dd
cmp dword [eax + 4], 0
je 0x43d3dd
push 0
push 2
push 0x501
push dword [eax + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
mov dword [ebp - 4], 3
call fcn.00489f20
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
lea ecx, [ebp - 0x390]
call fcn.00450c20
cmp byte [ebp - 0x1c], 0
mov dword [ebp - 0x138], vtable.t_str.0
jne 0x43d426
mov eax, dword [ebp - 0x130]
lea ecx, [ebp - 0x12c]
cmp eax, ecx
je 0x43d426
push eax
call fcn.004e1b56
add esp, 4
cmp byte [ebp - 0x264], 0
mov dword [ebp - method.t_str.virtual_0], vtable.t_str.0
jne 0x43d452
mov eax, dword [ebp - 0x378]
lea ecx, [ebp - 0x374]
cmp eax, ecx
je 0x43d452
push eax
call fcn.004e1b56
add esp, 4
cmp byte [ebp - 0x140], 0
mov dword [ebp - method.t_str.virtual_0], vtable.t_str.0
jne 0x43d47e
mov eax, dword [ebp - 0x254]
lea ecx, [ebp - 0x250]
cmp eax, ecx
je 0x43d47e
push eax
call fcn.004e1b56
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004d6cfd
mov esp, ebp
pop ebp
ret 8