Function at 0x4abe94
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x33
push 0
push 0
dec ecx
jne 0x4abe9c
push ecx
mov dword [ebp - 0x38], eax
xor eax, eax
push ebp
push 0x4ac4b0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x38]
cmp dword [eax + 0x34], 0
jne 0x4abeeb
push 0x105
lea eax, [ebp - 0x169]
push eax
mov eax, dword [0x4b77f8]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
mov eax, dword [ebp - 0x38]
add eax, 0x34
lea edx, [ebp - 0x169]
mov ecx, 0x105
call fcn.00404ee0
mov word [ebp - 0x52], 0
mov word [ebp - 0x54], 0
mov word [ebp - 0x56], 0
mov word [ebp - 0x58], 0
mov byte [ebp - 0x59], 0
mov byte [ebp - 0x5a], 0
mov byte [ebp - 0x5b], 0
mov byte [ebp - 0x5c], 0
lea eax, [ebp - 0x48]
push eax
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x34]
call fcn.00405100
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
seta al
mov edx, dword [ebp - 0x38]
mov byte [edx + 0x3c], al
test al, al
je 0x4ac318
mov eax, dword [ebp - 0x44]
call fcn.00402f3c
mov dword [ebp - 0x50], eax
xor eax, eax
push ebp
push 0x4ac311
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x50]
push eax
mov eax, dword [ebp - 0x44]
push eax
push 0
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x34]
call fcn.00405100
push eax
call sub.version.dll_GetFileVersionInfoA
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x40]
push eax
push 0x4ac4bc
mov eax, dword [ebp - 0x50]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x4abfe7
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0x40]
mov eax, dword [eax]
call fcn.00407dcc
movzx eax, ax
mov dword [ebp - 0x174], eax
mov byte [ebp - 0x170], 0
lea edx, [ebp - 0x174]
xor ecx, ecx
mov eax, 0x4ac4e0
call fcn.0040ac28
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 0x40]
movzx eax, word [eax]
mov dword [ebp - 0x174], eax
mov byte [ebp - 0x170], 0
lea edx, [ebp - 0x174]
xor ecx, ecx
mov eax, 0x4ac4e0
call fcn.0040ac28
push 0x4ac4f0
push dword [ebp - 4]
push dword [ebp - 8]
push 0x4ac508
lea eax, [ebp - 0x34]
mov edx, 4
call fcn.00405004
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x178]
mov ecx, 0x4ac514
mov edx, dword [ebp - 0x34]
call fcn.00404f88
mov eax, dword [ebp - 0x178]
call fcn.00405100
push eax
mov eax, dword [ebp - 0x50]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x4ac043
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 0x60]
call fcn.00404e68
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x17c]
mov ecx, 0x4ac528
mov edx, dword [ebp - 0x34]
call fcn.00404f88
mov eax, dword [ebp - 0x17c]
call fcn.00405100
push eax
mov eax, dword [ebp - 0x50]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x4ac082
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 0x60]
call fcn.00404e68
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x180]
mov ecx, 0x4ac540
mov edx, dword [ebp - 0x34]
call fcn.00404f88
mov eax, dword [ebp - 0x180]
call fcn.00405100
push eax
mov eax, dword [ebp - 0x50]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x4ac0c1
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 0x60]
call fcn.00404e68
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x184]
mov ecx, 0x4ac554
mov edx, dword [ebp - 0x34]
call fcn.00404f88
mov eax, dword [ebp - 0x184]
call fcn.00405100
push eax
mov eax, dword [ebp - 0x50]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x4ac100
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 0x60]
call fcn.00404e68
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x188]
mov ecx, 0x4ac56c
mov edx, dword [ebp - 0x34]
call fcn.00404f88
mov eax, dword [ebp - 0x188]
call fcn.00405100
push eax
mov eax, dword [ebp - 0x50]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x4ac13f
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 0x60]
call fcn.00404e68
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x18c]
mov ecx, 0x4ac584
mov edx, dword [ebp - 0x34]
call fcn.00404f88
mov eax, dword [ebp - 0x18c]
call fcn.00405100
push eax
mov eax, dword [ebp - 0x50]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x4ac17e
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 0x60]
call fcn.00404e68
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x190]
mov ecx, 0x4ac59c
mov edx, dword [ebp - 0x34]
call fcn.00404f88
mov eax, dword [ebp - 0x190]
call fcn.00405100
push eax
mov eax, dword [ebp - 0x50]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x4ac1bd
lea eax, [ebp - 0x24]
mov edx, dword [ebp - 0x60]
call fcn.00404e68
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x194]
mov ecx, 0x4ac5b8
mov edx, dword [ebp - 0x34]
call fcn.00404f88
mov eax, dword [ebp - 0x194]
call fcn.00405100
push eax
mov eax, dword [ebp - 0x50]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x4ac1fc
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x60]
call fcn.00404e68
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x198]
mov ecx, 0x4ac5cc
mov edx, dword [ebp - 0x34]
call fcn.00404f88
mov eax, dword [ebp - 0x198]
call fcn.00405100
push eax
mov eax, dword [ebp - 0x50]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x4ac23b
lea eax, [ebp - 0x2c]
mov edx, dword [ebp - 0x60]
call fcn.00404e68
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x19c]
mov ecx, 0x4ac5e4
mov edx, dword [ebp - 0x34]
call fcn.00404f88
mov eax, dword [ebp - 0x19c]
call fcn.00405100
push eax
mov eax, dword [ebp - 0x50]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x4ac27a
lea eax, [ebp - 0x30]
mov edx, dword [ebp - 0x60]
call fcn.00404e68
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x64]
push eax
push 0x4ac5f0
mov eax, dword [ebp - 0x50]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x4ac2f8
mov eax, dword [ebp - 0x64]
mov eax, dword [eax + 8]
shr eax, 0x10
mov word [ebp - 0x52], ax
mov eax, dword [ebp - 0x64]
movzx eax, word [eax + 8]
and ax, 0xffff
mov word [ebp - 0x54], ax
mov eax, dword [ebp - 0x64]
mov eax, dword [eax + 0xc]
shr eax, 0x10
mov word [ebp - 0x56], ax
mov eax, dword [ebp - 0x64]
movzx eax, word [eax + 0xc]
and ax, 0xffff
mov word [ebp - 0x58], ax
mov eax, dword [ebp - 0x64]
test byte [eax + 0x1c], 1
setne byte [ebp - 0x59]
mov eax, dword [ebp - 0x64]
test byte [eax + 0x1c], 2
setne byte [ebp - 0x5a]
mov eax, dword [ebp - 0x64]
test byte [eax + 0x1c], 8
setne byte [ebp - 0x5b]
mov eax, dword [ebp - 0x64]
test byte [eax + 0x1c], 0x20
setne byte [ebp - 0x5c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ac39a
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x50]
call fcn.00402f70
ret
lea eax, [ebp - 0xc]
mov edx, 0x4ac5fc
call fcn.00404d08
lea eax, [ebp - 0x10]
mov edx, 0x4ac5fc
call fcn.00404d08
lea eax, [ebp - 0x14]
mov edx, 0x4ac5fc
call fcn.00404d08
lea eax, [ebp - 0x18]
mov edx, 0x4ac5fc
call fcn.00404d08
lea eax, [ebp - 0x1c]
mov edx, 0x4ac5fc
call fcn.00404d08
lea eax, [ebp - 0x20]
mov edx, 0x4ac5fc
call fcn.00404d08
lea eax, [ebp - 0x24]
mov edx, 0x4ac5fc
call fcn.00404d08
lea eax, [ebp - 0x28]
mov edx, 0x4ac5fc
call fcn.00404d08
lea eax, [ebp - 0x2c]
mov edx, 0x4ac5fc
call fcn.00404d08
lea eax, [ebp - 0x30]
mov edx, 0x4ac5fc
call fcn.00404d08
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x38]
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x38]
mov edx, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x38]
mov edx, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x38]
mov edx, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x38]
mov edx, dword [ebp - 0x18]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x38]
mov edx, dword [ebp - 0x1c]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x38]
mov edx, dword [ebp - 0x20]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x38]
mov edx, dword [ebp - 0x24]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x38]
mov edx, dword [ebp - 0x28]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x38]
mov edx, dword [ebp - 0x2c]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x38]
mov edx, dword [ebp - 0x30]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 0x38]
movzx edx, word [ebp - 0x52]
mov word [eax + 0x44], dx
mov eax, dword [ebp - 0x38]
movzx edx, word [ebp - 0x54]
mov word [eax + 0x46], dx
mov eax, dword [ebp - 0x38]
movzx edx, word [ebp - 0x56]
mov word [eax + 0x48], dx
mov eax, dword [ebp - 0x38]
movzx edx, word [ebp - 0x58]
mov word [eax + 0x4a], dx
mov eax, dword [ebp - 0x38]
movzx edx, byte [ebp - 0x59]
mov byte [eax + 0x4c], dl
mov eax, dword [ebp - 0x38]
movzx edx, byte [ebp - 0x5a]
mov byte [eax + 0x4d], dl
mov eax, dword [ebp - 0x38]
movzx edx, byte [ebp - 0x5b]
mov byte [eax + 0x4e], dl
mov eax, dword [ebp - 0x38]
movzx edx, byte [ebp - 0x5c]
mov byte [eax + 0x4f], dl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ac4b7
lea eax, [ebp - 0x19c]
mov edx, 0xa
call fcn.00404c94
lea eax, [ebp - 0x34]
mov edx, 0xd
call fcn.00404c94
ret