Function at 0x42e6a0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x471dc8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x104
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x10], 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x20]
call fcn.0042e920
movzx ecx, al
test ecx, ecx
jne 0x42e6f9
push 0x4832ce
mov ecx, dword [ebp + 8]
call fcn.00404ab0
mov edx, dword [ebp - 0x10]
or edx, 1
mov dword [ebp - 0x10], edx
mov eax, dword [ebp + 8]
jmp 0x42e903
mov ecx, dword [ebp + 0xc]
call fcn.00404350
push eax
mov ecx, dword [ebp + 0xc]
call fcn.00404370
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.00414960
add esp, 0xc
mov dword [ebp - 4], 0
mov dword [ebp - 0x24], 0
lea ecx, [ebp - 0x24]
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.00404370
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x42e76e
push 0x4832cf
mov ecx, dword [ebp + 8]
call fcn.00404ab0
mov edx, dword [ebp - 0x10]
or edx, 1
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.00404920
mov eax, dword [ebp + 8]
jmp 0x42e903
push 0x4970d6
mov eax, dword [ebp - 0x1c]
push eax
call fcn.004389dd
add esp, 8
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x14], 0
jne 0x42e7bb
push 0x4832d5
mov ecx, dword [ebp + 8]
call fcn.00404ab0
mov edx, dword [ebp - 0x10]
or edx, 1
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.00404920
mov eax, dword [ebp + 8]
jmp 0x42e903
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.00427c40
add esp, 8
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x1c]
push eax
push 0
mov ecx, dword [ebp + 0xc]
call fcn.00404370
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x42e8bd
lea ecx, [ebp - 0x48]
push ecx
lea edx, [ebp - 0x18]
push edx
push 0x489138
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x42e8bd
cmp dword [ebp - 0x18], 0
jne 0x42e83e
push 0x4832d6
mov ecx, dword [ebp + 8]
call fcn.00404ab0
mov ecx, dword [ebp - 0x10]
or ecx, 1
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.00404920
mov eax, dword [ebp + 8]
jmp 0x42e903
push 0xc8
push 0
lea edx, [ebp - 0x110]
push edx
call fcn.00450820
add esp, 0xc
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0xc]
and ecx, 0xffff
movzx edx, cx
push edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0xc]
shr ecx, 0x10
and ecx, 0xffff
movzx edx, cx
push edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 8]
and ecx, 0xffff
movzx edx, cx
push edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 8]
shr ecx, 0x10
and ecx, 0xffff
movzx edx, cx
push edx
push str._d._d._d._d
lea eax, [ebp - 0x110]
push eax
call fcn.0042f320
add esp, 0x18
lea ecx, [ebp - 0x110]
push ecx
lea ecx, [ebp - 0x44]
call fcn.0040fba0
cmp dword [ebp - 0x14], 0
je 0x42e8dc
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00438977
add esp, 4
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x44]
push ecx
mov ecx, dword [ebp + 8]
call fcn.004049e0
mov edx, dword [ebp - 0x10]
or edx, 1
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.00404920
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8