Function at 0x402de0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x438120
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x4441a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00401d60
mov byte [ebp - 4], 1
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp + 8]
call fcn.0040f250
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x402e64
mov dword [ebp - 0x28], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00401e00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00401e00
mov eax, dword [ebp - 0x28]
jmp 0x403038
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.004123c2
add esp, 4
mov dword [ebp - 0x2c], eax
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x18], edx
cmp dword [ebp - 0x18], 0
jne 0x402ea9
mov dword [ebp - 0x30], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00401e00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00401e00
mov eax, dword [ebp - 0x30]
jmp 0x403038
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x10]
push edx
lea ecx, [ebp + 8]
call fcn.0040f250
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
jne 0x402f03
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x34]
push ecx
call fcn.004135d5
add esp, 4
mov dword [ebp - 0x38], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00401e00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00401e00
mov eax, dword [ebp - 0x38]
jmp 0x403038
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
lea edx, [ebp - 0x20]
push edx
lea eax, [ebp - 0x24]
push eax
push 0x43cc44
mov ecx, dword [ebp - 0x18]
push ecx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
jne 0x402f67
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x3c]
push eax
call fcn.004135d5
add esp, 4
mov dword [ebp - 0x40], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00401e00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00401e00
mov eax, dword [ebp - 0x40]
jmp 0x403038
cmp dword [ebp - 0x20], 0x34
je 0x402fa9
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x44], ecx
mov edx, dword [ebp - 0x44]
push edx
call fcn.004135d5
add esp, 4
mov dword [ebp - 0x48], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00401e00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00401e00
mov eax, dword [ebp - 0x48]
jmp 0x403038
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 8]
shr ecx, 0x10
and ecx, 0xffff
movzx edx, cx
mov eax, dword [ebp + 0xc]
mov dword [eax], edx
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + 8]
and edx, 0xffff
movzx eax, dx
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 0xc]
shr eax, 0x10
and eax, 0xffff
movzx ecx, ax
mov edx, dword [ebp + 0xc]
mov dword [edx + 8], ecx
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 0xc]
and ecx, 0xffff
movzx edx, cx
mov eax, dword [ebp + 0xc]
mov dword [eax + 0xc], edx
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x4c], ecx
mov edx, dword [ebp - 0x4c]
push edx
call fcn.004135d5
add esp, 4
mov dword [ebp - 0x50], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00401e00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00401e00
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret