Function at 0x467710
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x490f75
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x4bd7f4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x34], 0
lea ecx, [ebp - 0x20]
call fcn.004015e0
mov dword [ebp - 4], 0
push 0x49d4af
lea ecx, [ebp - 0x20]
call fcn.004014a0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x467795
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp + 8]
call fcn.00405ae0
mov ecx, dword [ebp - 0x34]
or ecx, 1
mov dword [ebp - 0x34], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.00401680
mov eax, dword [ebp + 8]
jmp 0x46796c
push 0x105
lea ecx, [ebp - 0x20]
call fcn.00401340
mov dword [ebp - 0x10], eax
push 0x104
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov dword [ebp - 0x14], eax
push 0xffffffffffffffff
lea ecx, [ebp - 0x20]
call fcn.00405980
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x20]
call fcn.004023e0
push eax
lea ecx, [ebp - 0x20]
call fcn.00401340
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x467822
push 0x49d4b2
lea ecx, [ebp - 0x20]
call fcn.004014a0
lea edx, [ebp - 0x20]
push edx
mov ecx, dword [ebp + 8]
call fcn.00405ae0
mov eax, dword [ebp - 0x34]
or eax, 1
mov dword [ebp - 0x34], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.00401680
mov eax, dword [ebp + 8]
jmp 0x46796c
push 1
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.00428e15
add esp, 8
mov dword [ebp - 0x28], eax
mov edx, dword [ebp - 0x28]
push edx
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x20]
call fcn.004023e0
push eax
lea ecx, [ebp - 0x20]
call fcn.00401340
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
jne 0x46789f
mov edx, dword [ebp - 0x28]
push edx
call fcn.00428e55
add esp, 4
push 0x49d4b3
lea ecx, [ebp - 0x20]
call fcn.004014a0
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp + 8]
call fcn.00405ae0
mov ecx, dword [ebp - 0x34]
or ecx, 1
mov dword [ebp - 0x34], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.00401680
mov eax, dword [ebp + 8]
jmp 0x46796c
lea edx, [ebp - 0x24]
push edx
lea eax, [ebp - 0x2c]
push eax
push 0x4a3420
mov ecx, dword [ebp - 0x28]
push ecx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
jne 0x4678fb
mov edx, dword [ebp - 0x28]
push edx
call fcn.00428e55
add esp, 4
push 0x49d4b6
lea ecx, [ebp - 0x20]
call fcn.004014a0
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp + 8]
call fcn.00405ae0
mov ecx, dword [ebp - 0x34]
or ecx, 1
mov dword [ebp - 0x34], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.00401680
mov eax, dword [ebp + 8]
jmp 0x46796c
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 0x14]
and eax, 0xffff
push eax
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 0x14]
shr edx, 0x10
push edx
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0x10]
and ecx, 0xffff
push ecx
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 0x10]
shr eax, 0x10
push eax
push 0x4a3424
lea ecx, [ebp - 0x20]
push ecx
call fcn.00405930
add esp, 0x18
mov edx, dword [ebp - 0x28]
push edx
call fcn.00428e55
add esp, 4
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp + 8]
call fcn.00405ae0
mov ecx, dword [ebp - 0x34]
or ecx, 1
mov dword [ebp - 0x34], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.00401680
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret