Function at 0x42fd20
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x539a8d
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.00430fd0
movzx ecx, al
test ecx, ecx
jne 0x42fd79
push 0x540c31
mov ecx, dword [ebp + 8]
call fcn.00403e90
mov edx, dword [ebp - 0x10]
or edx, 1
mov dword [ebp - 0x10], edx
mov eax, dword [ebp + 8]
jmp 0x42ff80
mov ecx, dword [ebp + 0xc]
call fcn.00404da0
push eax
mov ecx, dword [ebp + 0xc]
call fcn.0040b120
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.0041a100
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.0040b120
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x42fded
push 0x540c32
mov ecx, dword [ebp + 8]
call fcn.00403e90
mov edx, dword [ebp - 0x10]
or edx, 1
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.004040f0
mov eax, dword [ebp + 8]
jmp 0x42ff80
push 0x545a74
mov eax, dword [ebp - 0x1c]
push eax
call fcn.00446201
add esp, 8
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x14], 0
jne 0x42fe3a
push 0x540c33
mov ecx, dword [ebp + 8]
call fcn.00403e90
mov edx, dword [ebp - 0x10]
or edx, 1
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.004040f0
mov eax, dword [ebp + 8]
jmp 0x42ff80
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.00436410
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.0040b120
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x42ff3a
lea ecx, [ebp - 0x48]
push ecx
lea edx, [ebp - 0x18]
push edx
push 0x541dac
mov eax, dword [ebp - 0x14]
push eax
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x42ff3a
cmp dword [ebp - 0x18], 0
jne 0x42febb
push 0x540cde
mov ecx, dword [ebp + 8]
call fcn.00403e90
mov ecx, dword [ebp - 0x10]
or ecx, 1
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.004040f0
mov eax, dword [ebp + 8]
jmp 0x42ff80
push 0xc8
push 0
lea edx, [ebp - 0x110]
push edx
call fcn.00511fb0
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 0x541db0
lea eax, [ebp - 0x110]
push eax
call fcn.0042f190
add esp, 0x18
lea ecx, [ebp - 0x110]
push ecx
lea ecx, [ebp - 0x44]
call fcn.00410600
cmp dword [ebp - 0x14], 0
je 0x42ff59
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00445f74
add esp, 4
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x44]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00403e40
mov edx, dword [ebp - 0x10]
or edx, 1
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.004040f0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8