Function at 0x4beca0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x624ca9
mov eax, dword fs:[0]
push eax
sub esp, 0x19c
mov eax, dword [0x6d5db8]
xor eax, ebp
mov dword [ebp - 0x20], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x174], ecx
mov dword [ebp - 0x170], 0
push str.1.0.0.0
lea ecx, [ebp - 0x14]
call fcn.004015a0
mov dword [ebp - 4], 0
push 0x661296
lea ecx, [ebp - 0x10]
call fcn.004015a0
mov byte [ebp - 4], 1
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x178], eax
mov ecx, dword [ebp - 0x178]
sub ecx, 1
mov dword [ebp - 0x178], ecx
cmp dword [ebp - 0x178], 6
ja case.default.0x4bed2b
mov edx, dword [ebp - 0x178]
jmp dword [edx*4 + 0x4bf12c]
mov byte [ebp - 0x12c], 0
push 0x103
push 0
lea eax, [ebp - 0x12b]
push eax
call fcn.005e5330
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x12c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [ebp - 0x12c]
push edx
lea ecx, [ebp - 0x10]
call fcn.00401640
jmp case.default.0x4bed2b
push 0x66135c
call fcn.0041b910
add eax, 4
push eax
lea eax, [ebp - 0x150]
push eax
call fcn.00404260
add esp, 0xc
mov dword [ebp - 0x17c], eax
mov ecx, dword [ebp - 0x17c]
mov dword [ebp - 0x180], ecx
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x180]
push edx
lea ecx, [ebp - 0x10]
call fcn.0040bb70
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x150]
call fcn.00401620
jmp case.default.0x4bed2b
push 0x661368
call fcn.0041b910
add eax, 4
push eax
lea eax, [ebp - 0x154]
push eax
call fcn.00404260
add esp, 0xc
mov dword [ebp - 0x184], eax
mov ecx, dword [ebp - 0x184]
mov dword [ebp - 0x188], ecx
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x188]
push edx
lea ecx, [ebp - 0x10]
call fcn.0040bb70
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x154]
call fcn.00401620
jmp case.default.0x4bed2b
push 0x661378
call fcn.0041b910
add eax, 4
push eax
lea eax, [ebp - 0x158]
push eax
call fcn.00404260
add esp, 0xc
mov dword [ebp - 0x18c], eax
mov ecx, dword [ebp - 0x18c]
mov dword [ebp - 0x190], ecx
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x190]
push edx
lea ecx, [ebp - 0x10]
call fcn.0040bb70
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x158]
call fcn.00401620
jmp case.default.0x4bed2b
push str.WndManager.ocx
call fcn.0041b910
add eax, 4
push eax
lea eax, [ebp - 0x15c]
push eax
call fcn.00404260
add esp, 0xc
mov dword [ebp - 0x194], eax
mov ecx, dword [ebp - 0x194]
mov dword [ebp - 0x198], ecx
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x198]
push edx
lea ecx, [ebp - 0x10]
call fcn.0040bb70
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x15c]
call fcn.00401620
jmp case.default.0x4bed2b
push 0x661398
call fcn.0041b910
add eax, 4
push eax
lea eax, [ebp - 0x160]
push eax
call fcn.00404260
add esp, 0xc
mov dword [ebp - 0x19c], eax
mov ecx, dword [ebp - 0x19c]
mov dword [ebp - 0x1a0], ecx
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x1a0]
push edx
lea ecx, [ebp - 0x10]
call fcn.0040bb70
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x160]
call fcn.00401620
jmp case.default.0x4bed2b
push 0x661297
call fcn.0041b910
add eax, 4
push eax
lea eax, [ebp - 0x164]
push eax
call fcn.00404260
add esp, 0xc
mov dword [ebp - 0x1a4], eax
mov ecx, dword [ebp - 0x1a4]
mov dword [ebp - 0x1a8], ecx
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x1a8]
push edx
lea ecx, [ebp - 0x10]
call fcn.0040bb70
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x164]
call fcn.00401620
mov dword [ebp - 0x1c], 0
lea eax, [ebp - 0x1c]
push eax
push 0
lea ecx, [ebp - 0x10]
call fcn.00401880
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov dword [ebp - 0x18], eax
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.0040cfa0
cmp dword [ebp - 0x18], 0
jbe 0x4bf0d5
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.005c4770
add esp, 4
mov dword [ebp - 0x168], eax
mov edx, dword [ebp - 0x168]
mov dword [ebp - 0x130], edx
mov eax, dword [ebp - 0x18]
push eax
push 0
mov ecx, dword [ebp - 0x130]
push ecx
call fcn.005e5330
add esp, 0xc
mov edx, dword [ebp - 0x130]
push edx
mov eax, dword [ebp - 0x18]
push eax
push 0
push 0
lea ecx, [ebp - 0x10]
call fcn.00401880
push eax
call sub.VERSION.dll_GetFileVersionInfoA
mov dword [ebp - 0x134], eax
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.0040cfa0
cmp dword [ebp - 0x134], 0
je 0x4bf0b0
lea ecx, [ebp - 0x138]
push ecx
lea edx, [ebp - 0x13c]
push edx
push 0x6613ac
mov eax, dword [ebp - 0x130]
push eax
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x4bf0b0
mov ecx, dword [ebp - 0x13c]
mov edx, dword [ecx + 8]
shr edx, 0x10
mov dword [ebp - 0x140], edx
mov eax, dword [ebp - 0x13c]
mov ecx, dword [eax + 8]
and ecx, 0xff
mov dword [ebp - 0x144], ecx
mov edx, dword [ebp - 0x13c]
mov eax, dword [edx + 0xc]
shr eax, 0x10
mov dword [ebp - 0x14c], eax
mov ecx, dword [ebp - 0x13c]
mov edx, dword [ecx + 0xc]
and edx, 0xff
mov dword [ebp - 0x148], edx
mov eax, dword [ebp - 0x148]
push eax
mov ecx, dword [ebp - 0x14c]
push ecx
mov edx, dword [ebp - 0x144]
push edx
mov eax, dword [ebp - 0x140]
push eax
push 0x6613b0
lea ecx, [ebp - 0x14]
push ecx
call fcn.00405010
add esp, 0x18
mov edx, dword [ebp - 0x130]
mov dword [ebp - 0x16c], edx
mov eax, dword [ebp - 0x16c]
push eax
call fcn.005c4775
add esp, 4
mov dword [ebp - 0x130], 0
lea ecx, [ebp - 0x14]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00401580
mov edx, dword [ebp - 0x170]
or edx, 1
mov dword [ebp - 0x170], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.00401620
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00401620
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.005e5163
mov esp, ebp
pop ebp
ret 8