Function at 0x4c3c30
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x32
push 0
push 0
dec ecx
jne 0x4c3c38
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4c417d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x4c3c92
push 0x105
lea eax, [ebp - 0x159]
push eax
mov eax, dword [0x4ff668]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea edx, [ebp - 0x160]
lea eax, [ebp - 0x159]
call fcn.0040a268
mov edx, dword [ebp - 0x160]
mov eax, dword [ebp - 4]
add eax, 0x34
call fcn.00404d18
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
call fcn.00405184
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
seta al
mov edx, dword [ebp - 4]
mov byte [edx + 0x3c], al
test al, al
je 0x4c4019
mov eax, dword [ebp - 0x18]
call fcn.00409144
mov dword [ebp - 0x24], eax
xor eax, eax
push ebp
push 0x4c4012
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x18]
push eax
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
call fcn.00405184
push eax
call sub.version.dll_GetFileVersionInfoA
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x4c4188
mov eax, dword [ebp - 0x24]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x4c3d66
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.00407ee0
movzx eax, ax
mov dword [ebp - 0x168], eax
mov byte [ebp - 0x164], 0
lea edx, [ebp - 0x168]
xor ecx, ecx
mov eax, 0x4c41ac
call fcn.0040a780
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0x14]
movzx eax, word [eax]
mov dword [ebp - 0x168], eax
mov byte [ebp - 0x164], 0
lea edx, [ebp - 0x168]
xor ecx, ecx
mov eax, 0x4c41ac
call fcn.0040a780
push 0x4c41bc
push dword [ebp - 8]
push dword [ebp - 0xc]
push 0x4c41d4
lea eax, [ebp - 0x54]
mov edx, 4
call fcn.00405044
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x16c]
mov ecx, 0x4c41e0
mov edx, dword [ebp - 0x54]
call fcn.00404fd0
mov eax, dword [ebp - 0x16c]
call fcn.00405184
push eax
mov eax, dword [ebp - 0x24]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x4c3dc2
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x50]
call fcn.00404ebc
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x170]
mov ecx, 0x4c41f4
mov edx, dword [ebp - 0x54]
call fcn.00404fd0
mov eax, dword [ebp - 0x170]
call fcn.00405184
push eax
mov eax, dword [ebp - 0x24]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x4c3e01
lea eax, [ebp - 0x2c]
mov edx, dword [ebp - 0x50]
call fcn.00404ebc
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x174]
mov ecx, 0x4c420c
mov edx, dword [ebp - 0x54]
call fcn.00404fd0
mov eax, dword [ebp - 0x174]
call fcn.00405184
push eax
mov eax, dword [ebp - 0x24]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x4c3e40
lea eax, [ebp - 0x30]
mov edx, dword [ebp - 0x50]
call fcn.00404ebc
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x178]
mov ecx, 0x4c4220
mov edx, dword [ebp - 0x54]
call fcn.00404fd0
mov eax, dword [ebp - 0x178]
call fcn.00405184
push eax
mov eax, dword [ebp - 0x24]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x4c3e7f
lea eax, [ebp - 0x34]
mov edx, dword [ebp - 0x50]
call fcn.00404ebc
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x17c]
mov ecx, 0x4c4238
mov edx, dword [ebp - 0x54]
call fcn.00404fd0
mov eax, dword [ebp - 0x17c]
call fcn.00405184
push eax
mov eax, dword [ebp - 0x24]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x4c3ebe
lea eax, [ebp - 0x38]
mov edx, dword [ebp - 0x50]
call fcn.00404ebc
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x180]
mov ecx, 0x4c4250
mov edx, dword [ebp - 0x54]
call fcn.00404fd0
mov eax, dword [ebp - 0x180]
call fcn.00405184
push eax
mov eax, dword [ebp - 0x24]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x4c3efd
lea eax, [ebp - 0x3c]
mov edx, dword [ebp - 0x50]
call fcn.00404ebc
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x184]
mov ecx, 0x4c4268
mov edx, dword [ebp - 0x54]
call fcn.00404fd0
mov eax, dword [ebp - 0x184]
call fcn.00405184
push eax
mov eax, dword [ebp - 0x24]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x4c3f3c
lea eax, [ebp - 0x40]
mov edx, dword [ebp - 0x50]
call fcn.00404ebc
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x188]
mov ecx, 0x4c4284
mov edx, dword [ebp - 0x54]
call fcn.00404fd0
mov eax, dword [ebp - 0x188]
call fcn.00405184
push eax
mov eax, dword [ebp - 0x24]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x4c3f7b
lea eax, [ebp - 0x44]
mov edx, dword [ebp - 0x50]
call fcn.00404ebc
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x18c]
mov ecx, 0x4c4298
mov edx, dword [ebp - 0x54]
call fcn.00404fd0
mov eax, dword [ebp - 0x18c]
call fcn.00405184
push eax
mov eax, dword [ebp - 0x24]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x4c3fba
lea eax, [ebp - 0x48]
mov edx, dword [ebp - 0x50]
call fcn.00404ebc
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x190]
mov ecx, 0x4c42b0
mov edx, dword [ebp - 0x54]
call fcn.00404fd0
mov eax, dword [ebp - 0x190]
call fcn.00405184
push eax
mov eax, dword [ebp - 0x24]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x4c3ff9
lea eax, [ebp - 0x4c]
mov edx, dword [ebp - 0x50]
call fcn.00404ebc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c409b
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x24]
call fcn.00402bd0
ret
lea eax, [ebp - 0x28]
mov edx, 0x4c42c4
call fcn.00404d5c
mov edx, 0x4c42c4
lea eax, [ebp - 0x2c]
call fcn.00404d5c
mov edx, 0x4c42c4
lea eax, [ebp - 0x30]
call fcn.00404d5c
mov edx, 0x4c42c4
lea eax, [ebp - 0x34]
call fcn.00404d5c
mov edx, 0x4c42c4
lea eax, [ebp - 0x38]
call fcn.00404d5c
mov edx, 0x4c42c4
lea eax, [ebp - 0x3c]
call fcn.00404d5c
mov edx, 0x4c42c4
lea eax, [ebp - 0x40]
call fcn.00404d5c
mov edx, 0x4c42c4
lea eax, [ebp - 0x44]
call fcn.00404d5c
mov edx, 0x4c42c4
lea eax, [ebp - 0x48]
call fcn.00404d5c
mov edx, 0x4c42c4
lea eax, [ebp - 0x4c]
call fcn.00404d5c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov edx, dword [ebp - 0x28]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov edx, dword [ebp - 0x2c]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov edx, dword [ebp - 0x30]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov edx, dword [ebp - 0x34]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov edx, dword [ebp - 0x38]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov edx, dword [ebp - 0x3c]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov edx, dword [ebp - 0x40]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov edx, dword [ebp - 0x44]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov edx, dword [ebp - 0x48]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov edx, dword [ebp - 0x4c]
mov ecx, dword [eax]
call dword [ecx + 0x38]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c4184
lea eax, [ebp - 0x190]
mov edx, 0xa
call fcn.00404ce8
lea eax, [ebp - 0x160]
call fcn.00404cc4
lea eax, [ebp - 0x54]
call fcn.00404cc4
lea eax, [ebp - 0x4c]
mov edx, 0xa
call fcn.00404ce8
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00404ce8
ret