Function at 0x47def4
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x2a
push 0
push 0
dec ecx
jne 0x47defc
push ebx
push esi
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x47e36c
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
test esi, esi
je 0x47e346
mov eax, ebx
mov edx, esi
call fcn.00404960
lea eax, [ebp - 0x124]
mov edx, esi
call fcn.0040bc5c
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x124]
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x47e346
mov eax, dword [ebp - 0xc]
call fcn.00402d38
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x47e33f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
lea eax, [ebp - 0x124]
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x47e326
mov byte [ebp - 1], 1
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x47e37c
mov eax, dword [ebp - 0x14]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x47e326
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 8]
call fcn.0040774c
movzx eax, ax
mov dword [ebx + 0x24], eax
mov eax, dword [ebp - 0x18]
movzx eax, word [eax + 8]
mov dword [ebx + 0x28], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0xc]
call fcn.0040774c
movzx eax, ax
mov dword [ebx + 0x2c], eax
mov eax, dword [ebp - 0x18]
movzx eax, word [eax + 0xc]
mov dword [ebx + 0x30], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x10]
call fcn.0040774c
movzx eax, ax
mov dword [ebx + 0x34], eax
mov eax, dword [ebp - 0x18]
movzx eax, word [eax + 0x10]
mov dword [ebx + 0x38], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x14]
call fcn.0040774c
movzx eax, ax
mov dword [ebx + 0x3c], eax
mov eax, dword [ebp - 0x18]
movzx eax, word [eax + 0x14]
mov dword [ebx + 0x40], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x47e380
mov eax, dword [ebp - 0x14]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x47e095
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
xor edx, edx
push edx
push eax
lea edx, [ebp - 0x20]
mov eax, 8
call fcn.0040b604
lea eax, [ebp - 0x128]
push eax
mov ecx, 4
mov edx, 1
mov eax, dword [ebp - 0x20]
call fcn.00404e2c
mov eax, dword [ebp - 0x128]
push eax
lea eax, [ebp - 0x12c]
push eax
mov ecx, 4
mov edx, 5
mov eax, dword [ebp - 0x20]
call fcn.00404e2c
mov edx, dword [ebp - 0x12c]
lea eax, [ebp - 0x20]
pop ecx
call fcn.00404c18
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x47e3a4
push dword [ebp - 0x20]
push 0x47e3c0
lea eax, [ebp - 0x130]
mov edx, 3
call fcn.00404c8c
mov eax, dword [ebp - 0x130]
call fcn.00404dcc
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x47e0de
lea eax, [ebx + 0x20]
mov edx, dword [ebp - 0x10]
call fcn.00404b04
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x47e3a4
push dword [ebp - 0x20]
push 0x47e3d8
lea eax, [ebp - 0x134]
mov edx, 3
call fcn.00404c8c
mov eax, dword [ebp - 0x134]
call fcn.00404dcc
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x47e127
lea eax, [ebx + 4]
mov edx, dword [ebp - 0x10]
call fcn.00404b04
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x47e3a4
push dword [ebp - 0x20]
push 0x47e3f0
lea eax, [ebp - 0x138]
mov edx, 3
call fcn.00404c8c
mov eax, dword [ebp - 0x138]
call fcn.00404dcc
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x47e170
lea eax, [ebx + 0x10]
mov edx, dword [ebp - 0x10]
call fcn.00404b04
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x47e3a4
push dword [ebp - 0x20]
push 0x47e40c
lea eax, [ebp - 0x13c]
mov edx, 3
call fcn.00404c8c
mov eax, dword [ebp - 0x13c]
call fcn.00404dcc
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x47e1b9
lea eax, [ebx + 0x18]
mov edx, dword [ebp - 0x10]
call fcn.00404b04
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x47e3a4
push dword [ebp - 0x20]
push 0x47e424
lea eax, [ebp - 0x140]
mov edx, 3
call fcn.00404c8c
mov eax, dword [ebp - 0x140]
call fcn.00404dcc
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x47e202
lea eax, [ebx + 0x14]
mov edx, dword [ebp - 0x10]
call fcn.00404b04
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x47e3a4
push dword [ebp - 0x20]
push 0x47e438
lea eax, [ebp - 0x144]
mov edx, 3
call fcn.00404c8c
mov eax, dword [ebp - 0x144]
call fcn.00404dcc
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x47e24b
lea eax, [ebx + 0x44]
mov edx, dword [ebp - 0x10]
call fcn.00404b04
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x47e3a4
push dword [ebp - 0x20]
push 0x47e450
lea eax, [ebp - 0x148]
mov edx, 3
call fcn.00404c8c
mov eax, dword [ebp - 0x148]
call fcn.00404dcc
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x47e294
lea eax, [ebx + 8]
mov edx, dword [ebp - 0x10]
call fcn.00404b04
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x47e3a4
push dword [ebp - 0x20]
push 0x47e468
lea eax, [ebp - 0x14c]
mov edx, 3
call fcn.00404c8c
mov eax, dword [ebp - 0x14c]
call fcn.00404dcc
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x47e2dd
lea eax, [ebx + 0xc]
mov edx, dword [ebp - 0x10]
call fcn.00404b04
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x47e3a4
push dword [ebp - 0x20]
push 0x47e480
lea eax, [ebp - 0x150]
mov edx, 3
call fcn.00404c8c
mov eax, dword [ebp - 0x150]
call fcn.00404dcc
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x47e326
lea eax, [ebx + 0x1c]
mov edx, dword [ebp - 0x10]
call fcn.00404b04
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47e346
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
call fcn.00402d68
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47e373
lea eax, [ebp - 0x150]
mov edx, 0xb
call fcn.00404930
lea eax, [ebp - 0x20]
call fcn.0040490c
ret