Function at 0x403da0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5234a2
mov eax, dword fs:[0]
push eax
sub esp, 0x190
mov eax, dword [0x592bb4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x144], 0
push 0x5810d6
lea ecx, [ebp - 0x28]
call fcn.00407770
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 0xc]
call fcn.004071b0
mov dword [ebp - 0x12c], eax
mov dword [ebp - 0x128], 0
mov dword [ebp - 0x148], 0
mov dword [ebp - 0x130], 0
lea eax, [ebp - 0x128]
push eax
mov ecx, dword [ebp - 0x12c]
push ecx
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeA]
mov dword [ebp - 0x120], eax
cmp dword [ebp - 0x120], 0
je 0x40421a
mov edx, dword [ebp - 0x120]
push edx
call fcn.004e6b5d
add esp, 4
mov dword [ebp - 0x19c], eax
mov eax, dword [ebp - 0x19c]
mov dword [ebp - 0x124], eax
mov ecx, dword [ebp - 0x124]
push ecx
mov edx, dword [ebp - 0x120]
push edx
mov eax, dword [ebp - 0x128]
push eax
mov ecx, dword [ebp - 0x12c]
push ecx
call dword [sym.imp.VERSION.dll_GetFileVersionInfoA]
test eax, eax
je 0x4041ff
lea edx, [ebp - 0x148]
push edx
lea eax, [ebp - 0x130]
push eax
push str....
mov ecx, dword [ebp - 0x124]
push ecx
call dword [sym.imp.VERSION.dll_VerQueryValueA]
test eax, eax
je 0x4041ff
cmp dword [ebp - 0x148], 0
je 0x4041ff
mov edx, dword [ebp - 0x130]
mov dword [ebp - 0x11c], edx
mov eax, dword [ebp - 0x11c]
cmp dword [eax], 0xfeef04bd
jne 0x4041ff
call fcn.00403a40
test eax, eax
je 0x403f3e
mov ecx, dword [ebp - 0x11c]
mov edx, dword [ecx + 0x10]
shr edx, 0x10
and edx, 0xffff
mov dword [ebp - 0x140], edx
mov eax, dword [ebp - 0x11c]
mov ecx, dword [eax + 0x10]
and ecx, 0xffff
mov dword [ebp - 0x13c], ecx
mov edx, dword [ebp - 0x11c]
mov eax, dword [edx + 0x14]
shr eax, 0x10
and eax, 0xffff
mov dword [ebp - 0x138], eax
mov ecx, dword [ebp - 0x11c]
mov edx, dword [ecx + 0x14]
and edx, 0xffff
mov dword [ebp - 0x134], edx
jmp 0x403fa4
mov eax, dword [ebp - 0x11c]
mov ecx, dword [eax + 0x10]
shr ecx, 0x10
and ecx, 0xffff
movzx edx, cx
mov dword [ebp - 0x140], edx
mov eax, dword [ebp - 0x11c]
mov ecx, dword [eax + 0x10]
and ecx, 0xffff
movzx edx, cx
mov dword [ebp - 0x13c], edx
mov eax, dword [ebp - 0x11c]
mov ecx, dword [eax + 0x14]
shr ecx, 0x10
and ecx, 0xffff
movzx edx, cx
mov dword [ebp - 0x138], edx
mov eax, dword [ebp - 0x11c]
mov ecx, dword [eax + 0x14]
and ecx, 0xffff
movzx edx, cx
mov dword [ebp - 0x134], edx
mov eax, dword [ebp - 0x134]
push eax
lea ecx, [ebp - 0x100]
push ecx
call fcn.00403260
add esp, 8
mov dword [ebp - 0x198], eax
mov edx, dword [ebp - 0x198]
mov dword [ebp - 0x164], edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x138]
push eax
lea ecx, [ebp - 0x118]
push ecx
call fcn.00403260
add esp, 8
mov dword [ebp - 0x194], eax
mov edx, dword [ebp - 0x194]
mov dword [ebp - 0x150], edx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x13c]
push eax
lea ecx, [ebp - 0x40]
push ecx
call fcn.00403260
add esp, 8
mov dword [ebp - 0x190], eax
mov edx, dword [ebp - 0x190]
mov dword [ebp - 0x17c], edx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x140]
push eax
lea ecx, [ebp - 0x58]
push ecx
call fcn.00403260
add esp, 8
mov dword [ebp - 0x18c], eax
mov edx, dword [ebp - 0x18c]
mov dword [ebp - 0x184], edx
mov byte [ebp - 4], 4
push 0x58120c
mov eax, dword [ebp - 0x184]
push eax
lea ecx, [ebp - 0x88]
push ecx
call fcn.0040e270
add esp, 0xc
mov dword [ebp - 0x180], eax
mov edx, dword [ebp - 0x180]
mov dword [ebp - 0x178], edx
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x17c]
push eax
mov ecx, dword [ebp - 0x178]
push ecx
lea edx, [ebp - 0x70]
push edx
call fcn.0040e2f0
add esp, 0xc
mov dword [ebp - 0x174], eax
mov eax, dword [ebp - 0x174]
mov dword [ebp - 0x188], eax
mov byte [ebp - 4], 6
push 0x581208
mov ecx, dword [ebp - 0x188]
push ecx
lea edx, [ebp - 0xa0]
push edx
call fcn.0040e270
add esp, 0xc
mov dword [ebp - 0x14c], eax
mov eax, dword [ebp - 0x14c]
mov dword [ebp - 0x154], eax
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x150]
push ecx
mov edx, dword [ebp - 0x154]
push edx
lea eax, [ebp - 0xb8]
push eax
call fcn.0040e2f0
add esp, 0xc
mov dword [ebp - 0x158], eax
mov ecx, dword [ebp - 0x158]
mov dword [ebp - 0x15c], ecx
mov byte [ebp - 4], 8
push 0x581204
mov edx, dword [ebp - 0x15c]
push edx
lea eax, [ebp - 0xd0]
push eax
call fcn.0040e270
add esp, 0xc
mov dword [ebp - 0x160], eax
mov ecx, dword [ebp - 0x160]
mov dword [ebp - 0x168], ecx
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x164]
push edx
mov eax, dword [ebp - 0x168]
push eax
lea ecx, [ebp - 0xe8]
push ecx
call fcn.0040e2f0
add esp, 0xc
mov dword [ebp - 0x16c], eax
mov edx, dword [ebp - 0x16c]
push edx
lea ecx, [ebp - 0x28]
call fcn.00407590
lea ecx, [ebp - 0xe8]
call fcn.00407540
mov byte [ebp - 4], 8
lea ecx, [ebp - 0xd0]
call fcn.00407540
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xb8]
call fcn.00407540
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xa0]
call fcn.00407540
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x70]
call fcn.00407540
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x88]
call fcn.00407540
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x58]
call fcn.00407540
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
call fcn.00407540
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x118]
call fcn.00407540
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x100]
call fcn.00407540
mov eax, dword [ebp - 0x124]
mov dword [ebp - 0x170], eax
mov ecx, dword [ebp - 0x170]
push ecx
call fcn.004e6456
add esp, 4
lea edx, [ebp - 0x28]
push edx
mov ecx, dword [ebp + 8]
call fcn.00407680
mov eax, dword [ebp - 0x144]
or eax, 1
mov dword [ebp - 0x144], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00407540
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e6445
mov esp, ebp
pop ebp
ret