Function at 0x409bdf
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44c7c0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x54
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x38], 0
mov dword [ebp - 4], 1
push 0x45d910
lea ecx, [ebp - 0x14]
call fcn.0043df01
mov byte [ebp - 4], 2
mov byte [ebp - 4], 3
mov eax, dword [ebp + 0xc]
push eax
push 0x45d918
call fcn.00414290
add esp, 8
lea ecx, [ebp + 0xc]
call fcn.00404600
mov dword [ebp - 0x40], eax
lea ecx, [ebp - 0x30]
push ecx
mov edx, dword [ebp - 0x40]
push edx
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x409c9e
push 0x45d950
call fcn.00414290
add esp, 4
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp + 8]
call fcn.0043dc08
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x38]
or ecx, 1
mov dword [ebp - 0x38], ecx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.0043de93
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.0043de93
mov eax, dword [ebp + 8]
jmp 0x409fd6
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x409cf1
push 0x45d990
call fcn.00414290
add esp, 4
lea edx, [ebp - 0x14]
push edx
mov ecx, dword [ebp + 8]
call fcn.0043dc08
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x38]
or al, 1
mov dword [ebp - 0x38], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.0043de93
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.0043de93
mov eax, dword [ebp + 8]
jmp 0x409fd6
mov ecx, dword [ebp - 0x2c]
push ecx
push 0
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x409d4f
push 0x45d9cc
call fcn.00414290
add esp, 4
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp + 8]
call fcn.0043dc08
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x38]
or ecx, 1
mov dword [ebp - 0x38], ecx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.0043de93
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.0043de93
mov eax, dword [ebp + 8]
jmp 0x409fd6
lea ecx, [ebp + 0xc]
call fcn.00404600
mov dword [ebp - 0x50], eax
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x2c]
push eax
push 0
mov ecx, dword [ebp - 0x50]
push ecx
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
jne 0x409e1a
push 0x45da04
call fcn.00414290
add esp, 4
mov edx, dword [ebp - 0x1c]
push edx
push 0
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
test eax, eax
jne 0x409de2
push 0x45da44
call fcn.00414290
add esp, 4
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x14]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0043dc08
mov dword [ebp - 0x54], eax
mov edx, dword [ebp - 0x38]
or edx, 1
mov dword [ebp - 0x38], edx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.0043de93
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.0043de93
mov eax, dword [ebp + 8]
jmp 0x409fd6
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp + 8]
call fcn.0043dc08
mov dword [ebp - 0x58], eax
mov ecx, dword [ebp - 0x38]
or ecx, 1
mov dword [ebp - 0x38], ecx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.0043de93
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.0043de93
mov eax, dword [ebp + 8]
jmp 0x409fd6
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x28]
push eax
push 0x45da78
mov ecx, dword [ebp - 0x1c]
push ecx
call sub.VERSION.dll_VerQueryValueA
test eax, eax
jne 0x409edd
push 0x45da7c
call fcn.00414290
add esp, 4
mov edx, dword [ebp - 0x1c]
push edx
push 0
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
test eax, eax
jne 0x409ea5
push 0x45dab8
call fcn.00414290
add esp, 4
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x14]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0043dc08
mov dword [ebp - 0x5c], eax
mov edx, dword [ebp - 0x38]
or edx, 1
mov dword [ebp - 0x38], edx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.0043de93
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.0043de93
mov eax, dword [ebp + 8]
jmp 0x409fd6
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp + 8]
call fcn.0043dc08
mov dword [ebp - 0x60], eax
mov ecx, dword [ebp - 0x38]
or ecx, 1
mov dword [ebp - 0x38], ecx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.0043de93
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.0043de93
mov eax, dword [ebp + 8]
jmp 0x409fd6
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 0x14]
and ecx, 0xffff
push ecx
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 0x14]
shr eax, 0x10
push eax
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + 0x10]
and edx, 0xffff
push edx
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 0x10]
shr ecx, 0x10
push ecx
push 0x45daec
lea edx, [ebp - 0x14]
push edx
call fcn.0043ceb7
add esp, 0x18
mov eax, dword [ebp - 0x1c]
push eax
push 0
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_HeapFree]
test eax, eax
jne 0x409f7e
push 0x45daf8
call fcn.00414290
add esp, 4
mov dword [ebp - 0x1c], 0
lea edx, [ebp - 0x14]
push edx
mov ecx, dword [ebp + 8]
call fcn.0043dc08
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x38]
or al, 1
mov dword [ebp - 0x38], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.0043de93
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.0043de93
mov eax, dword [ebp + 8]
jmp 0x409fd6
jmp 0x409fa0
mov dword [ebp - 4], 2
lea edx, [ebp - 0x14]
push edx
mov ecx, dword [ebp + 8]
call fcn.0043dc08
mov eax, dword [ebp - 0x38]
or al, 1
mov dword [ebp - 0x38], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.0043de93
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.0043de93
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8