Function at 0x592b2c
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], edx
mov ebx, eax
mov eax, dword [ebp - 0x14]
call fcn.00404e1c
xor eax, eax
push ebp
push 0x592dbb
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebx + 8]
call fcn.0040495c
lea eax, [ebx + 0xc]
call fcn.0040495c
lea eax, [ebx + 0x14]
call fcn.0040495c
lea eax, [ebx + 0x18]
call fcn.0040495c
xor eax, eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x14]
call fcn.00404e2c
mov esi, eax
push esi
call sub.version.dll_GetFileVersionInfoSizeA
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x592bc1
mov ecx, 0x592dd0
mov dl, 1
mov eax, dword [0x59270c]
call fcn.0040e718
call fcn.004042d8
xor eax, eax
push ebp
push 0x592d8c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x1c]
call fcn.004096ac
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x1c]
push eax
push 0
push esi
call sub.version.dll_GetFileVersionInfoA
test eax, eax
jne 0x592c04
mov ecx, 0x592df4
mov dl, 1
mov eax, dword [0x59270c]
call fcn.0040e718
call fcn.004042d8
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x20]
push eax
push 0x592e0c
mov eax, dword [ebp - 0xc]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
jne 0x592c34
mov ecx, 0x592e30
mov dl, 1
mov eax, dword [0x59270c]
call fcn.0040e718
call fcn.004042d8
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x20]
movzx eax, byte [eax + 1]
mov dword [ebp - 0x40], eax
mov byte [ebp - 0x3c], 0
mov eax, dword [ebp - 0x20]
movzx eax, byte [eax]
mov dword [ebp - 0x38], eax
mov byte [ebp - 0x34], 0
mov eax, dword [ebp - 0x20]
movzx eax, byte [eax + 3]
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x2c], 0
mov eax, dword [ebp - 0x20]
movzx eax, byte [eax + 2]
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x24], 0
lea edx, [ebp - 0x40]
mov ecx, 3
mov eax, 0x592e4c
call fcn.0040b370
push ebp
lea edx, [ebp - 0x44]
mov eax, 0x592e68
call fcn.00592a44
pop ecx
mov edx, dword [ebp - 0x44]
lea eax, [ebx + 8]
call fcn.004049b0
push ebp
lea edx, [ebp - 0x48]
mov eax, 0x592e7c
call fcn.00592a44
pop ecx
mov edx, dword [ebp - 0x48]
lea eax, [ebx + 0xc]
call fcn.004049b0
push ebp
lea edx, [ebp - 0x4c]
mov eax, 0x592e94
call fcn.00592a44
pop ecx
mov edx, dword [ebp - 0x4c]
lea eax, [ebx + 0x1c]
call fcn.004049b0
lea eax, [ebx + 0x18]
push eax
mov al, byte [0x592ea4]
push eax
lea eax, [ebp - 0x50]
push eax
mov eax, dword [ebx + 0xc]
xor ecx, ecx
mov edx, 0x592eb0
call fcn.0040fca8
mov eax, dword [ebp - 0x50]
mov ecx, 3
mov edx, 1
call fcn.00404e8c
lea edx, [ebp - 0x54]
mov eax, ebx
call fcn.00592a18
mov edx, dword [ebp - 0x54]
lea eax, [ebx + 0x14]
call fcn.004049b0
mov edx, dword [ebx + 0xc]
mov eax, 0x592eb0
call fcn.00404f70
mov esi, eax
test esi, esi
jle 0x592d62
lea eax, [ebp - 0x58]
push eax
mov eax, dword [ebx + 0xc]
call fcn.00404c2c
mov ecx, eax
lea edx, [esi + 1]
mov eax, dword [ebx + 0xc]
call fcn.00404e8c
mov eax, dword [ebp - 0x58]
push eax
lea eax, [ebp - 0x5c]
push eax
mov ecx, esi
dec ecx
mov eax, dword [ebx + 0xc]
xor edx, edx
call fcn.00404e8c
mov edx, dword [ebp - 0x5c]
lea eax, [ebx + 0x10]
pop ecx
call fcn.00404c78
jmp 0x592d6d
lea eax, [ebx + 0x10]
mov edx, dword [ebx + 0xc]
call fcn.004049b0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x592d93
cmp dword [ebp - 0xc], 0
je 0x592d8b
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
call fcn.0040293c
ret