Function at 0x43b530
Capabilities:
Check if file exists
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x446459
mov eax, dword fs:[0]
push eax
sub esp, 0x25c
mov eax, dword [0x456020]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x268], ecx
mov dword [ebp - 0x230], 0
lea ecx, [ebp - 0x22c]
call fcn.00411dd0
mov dword [ebp - 4], 0
push 0x20019
push 0x44a1f0
push closesocket
lea ecx, [ebp - 0x22c]
call fcn.00432de0
mov dword [ebp - 0x23c], eax
cmp dword [ebp - 0x23c], 0
je 0x43b5cd
mov dword [ebp - 0x248], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x22c]
call fcn.00433130
mov eax, dword [ebp - 0x248]
jmp 0x43b92a
mov word [ebp - 0x224], 0
push 0x206
push 0
lea eax, [ebp - 0x222]
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
mov dword [ebp - 0x18], 0x104
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x224]
push edx
push 0x44a210
lea ecx, [ebp - 0x22c]
call fcn.00432d20
mov dword [ebp - 0x23c], eax
cmp dword [ebp - 0x23c], 0
je 0x43b644
mov dword [ebp - 0x24c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x22c]
call fcn.00433130
mov eax, dword [ebp - 0x24c]
jmp 0x43b92a
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x240]
call fcn.0040f5f0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x224]
push ecx
lea ecx, [ebp - 0x10]
call fcn.0040f5f0
mov byte [ebp - 4], 2
push str.KSafe.exe
lea ecx, [ebp - 0x240]
call fcn.00411f40
push str.ksafever.dll
lea ecx, [ebp - 0x10]
call fcn.00411f40
lea ecx, [ebp - 0x240]
call fcn.00433de0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x43b6e2
mov dword [ebp - 0x250], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.0040fa10
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x240]
call fcn.0040fa10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x22c]
call fcn.00433130
mov eax, dword [ebp - 0x250]
jmp 0x43b92a
lea ecx, [ebp - 0x10]
call fcn.00433de0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x43b737
mov dword [ebp - 0x254], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.0040fa10
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x240]
call fcn.0040fa10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x22c]
call fcn.00433130
mov eax, dword [ebp - 0x254]
jmp 0x43b92a
lea edx, [ebp - 0x10]
push edx
lea ecx, [ebp - 0x244]
call fcn.00412090
mov byte [ebp - 4], 3
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x228], 0x34
mov dword [ebp - 0x14], 0
push 0
lea ecx, [ebp - 0x244]
call fcn.00418220
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0x238], eax
cmp dword [ebp - 0x238], 0
jne 0x43b7ee
push str.0.0.0.1
mov ecx, dword [ebp - 0x268]
add ecx, 0x3cc
call fcn.0040f670
mov dword [ebp - 0x258], 1
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x244]
call fcn.0040fa10
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.0040fa10
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x240]
call fcn.0040fa10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x22c]
call fcn.00433130
mov eax, dword [ebp - 0x258]
jmp 0x43b92a
mov eax, dword [ebp - 0x238]
push eax
call fcn.0043a3f2
add esp, 4
mov dword [ebp - 0x25c], eax
mov ecx, dword [ebp - 0x25c]
mov dword [ebp - 0x234], ecx
mov edx, dword [ebp - 0x234]
push edx
mov eax, dword [ebp - 0x238]
push eax
push 0
lea ecx, [ebp - 0x244]
call fcn.00418220
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x43b8b8
lea ecx, [ebp - 0x228]
push ecx
lea edx, [ebp - 0x14]
push edx
push 0x44a270
mov eax, dword [ebp - 0x234]
push eax
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x43b8b8
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0xc]
and edx, 0xffff
movzx eax, dx
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0xc]
shr edx, 0x10
and edx, 0xffff
movzx eax, dx
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 8]
and edx, 0xffff
movzx eax, dx
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 8]
shr edx, 0x10
and edx, 0xffff
movzx eax, dx
push eax
push 0x44a274
mov ecx, dword [ebp - 0x268]
add ecx, 0x3cc
push ecx
call fcn.0040f3e0
add esp, 0x18
cmp dword [ebp - 0x234], 0
je 0x43b8dc
mov edx, dword [ebp - 0x234]
mov dword [ebp - 0x260], edx
mov eax, dword [ebp - 0x260]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov ecx, dword [ebp - 0x230]
mov dword [ebp - 0x264], ecx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x244]
call fcn.0040fa10
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.0040fa10
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x240]
call fcn.0040fa10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x22c]
call fcn.00433130
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0043a53a
mov esp, ebp
pop ebp
ret 8