Function at 0x58b69c
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x10
push 0
push 0
dec ecx
jne 0x58b6a5
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00404344
xor eax, eax
push ebp
push 0x58ba66
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00403fa8
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 8]
call fcn.00404354
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov esi, eax
test esi, esi
jbe 0x58b964
mov eax, esi
call fcn.00402758
mov dword [ebx + 0xe4], eax
mov eax, dword [ebx + 0xe4]
push eax
push esi
push 0
mov eax, dword [ebp - 8]
call fcn.00404354
push eax
call sub.version.dll_GetFileVersionInfoA
mov eax, dword [ebx + 0xe4]
test eax, eax
je 0x58b76c
lea edx, [ebp - 0xc]
push edx
lea edx, [ebp - 0x10]
push edx
push 0x58ba74
push eax
call sub.version.dll_VerQueryValueA
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
shr eax, 0x10
mov dword [ebx + 0x60], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
and eax, 0xffff
mov dword [ebx + 0x64], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc]
shr eax, 0x10
mov dword [ebx + 0x68], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc]
and eax, 0xffff
mov dword [ebx + 0x6c], eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x58ba78
mov eax, dword [ebx + 0xe4]
push eax
call sub.version.dll_VerQueryValueA
cmp dword [ebp - 0xc], 0
jbe 0x58b7d2
mov eax, dword [ebp - 0x14]
mov esi, dword [eax]
mov dword [ebx + 0x30], esi
lea eax, [ebp - 0x1c]
push eax
mov eax, esi
and eax, 0xffff
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0
shr esi, 0x10
and esi, 0xffff
mov dword [ebp - 0x24], esi
mov byte [ebp - 0x20], 0
lea edx, [ebp - 0x2c]
mov ecx, 1
mov eax, 0x58ba9c
call fcn.0040a6b0
mov edx, dword [ebp - 0x1c]
lea eax, [ebx + 0x34]
call fcn.00403f64
lea ecx, [ebp - 0x30]
mov edx, 0x58bab0
mov eax, ebx
call fcn.0058f3c4
mov edx, dword [ebp - 0x30]
lea eax, [ebx + 0x38]
call fcn.00403f64
lea ecx, [ebp - 0x34]
mov edx, 0x58bac4
mov eax, ebx
call fcn.0058f3c4
mov edx, dword [ebp - 0x34]
lea eax, [ebx + 0x3c]
call fcn.00403f64
lea ecx, [ebp - 0x38]
mov edx, 0x58badc
mov eax, ebx
call fcn.0058f3c4
mov edx, dword [ebp - 0x38]
lea eax, [ebx + 0x40]
call fcn.00403f64
lea ecx, [ebp - 0x3c]
mov edx, 0x58baf0
mov eax, ebx
call fcn.0058f3c4
mov edx, dword [ebp - 0x3c]
lea eax, [ebx + 0x44]
call fcn.00403f64
lea ecx, [ebp - 0x40]
mov edx, 0x58bb08
mov eax, ebx
call fcn.0058f3c4
mov edx, dword [ebp - 0x40]
lea eax, [ebx + 0x48]
call fcn.00403f64
lea ecx, [ebp - 0x44]
mov edx, 0x58bb20
mov eax, ebx
call fcn.0058f3c4
mov edx, dword [ebp - 0x44]
lea eax, [ebx + 0x4c]
call fcn.00403f64
lea ecx, [ebp - 0x48]
mov edx, 0x58bb38
mov eax, ebx
call fcn.0058f3c4
mov edx, dword [ebp - 0x48]
lea eax, [ebx + 0x50]
call fcn.00403f64
lea ecx, [ebp - 0x4c]
mov edx, 0x58bb54
mov eax, ebx
call fcn.0058f3c4
mov edx, dword [ebp - 0x4c]
lea eax, [ebx + 0x54]
call fcn.00403f64
lea ecx, [ebp - 0x50]
mov edx, 0x58bb68
mov eax, ebx
call fcn.0058f3c4
mov edx, dword [ebp - 0x50]
lea eax, [ebx + 0x58]
call fcn.00403f64
lea ecx, [ebp - 0x54]
mov edx, 0x58bb80
mov eax, ebx
call fcn.0058f3c4
mov edx, dword [ebp - 0x54]
lea eax, [ebx + 0x5c]
call fcn.00403f64
lea eax, [ebx + 0x84]
mov edx, dword [ebx + 0x38]
call fcn.00403f64
lea eax, [ebx + 0x88]
mov edx, dword [ebx + 0x3c]
call fcn.00403f64
lea eax, [ebx + 0x8c]
mov edx, dword [ebx + 0x40]
call fcn.00403f64
lea eax, [ebx + 0x90]
mov edx, dword [ebx + 0x44]
call fcn.00403f64
lea eax, [ebx + 0x94]
mov edx, dword [ebx + 0x48]
call fcn.00403f64
lea eax, [ebx + 0x98]
mov edx, dword [ebx + 0x4c]
call fcn.00403f64
lea eax, [ebx + 0x9c]
mov edx, dword [ebx + 0x50]
call fcn.00403f64
lea eax, [ebx + 0xa0]
mov edx, dword [ebx + 0x54]
call fcn.00403f64
lea eax, [ebx + 0xa4]
mov edx, dword [ebx + 0x58]
call fcn.00403f64
lea eax, [ebx + 0xa8]
mov edx, dword [ebx + 0x5c]
call fcn.00403f64
jmp 0x58b97f
xor esi, esi
mov dword [ebx + 0xe4], esi
mov eax, edi
call fcn.00403f10
mov eax, esi
call fcn.00402770
jmp 0x58ba36
mov dword [ebx + 0xac], 0xa
lea edx, [ebp - 0x58]
mov eax, dword [ebp - 8]
call fcn.00409adc
mov edx, dword [ebp - 0x58]
lea eax, [ebx + 0x70]
call fcn.00403f64
lea edx, [ebp - 0x5c]
mov eax, dword [ebp - 8]
call fcn.00409c00
mov edx, dword [ebp - 0x5c]
lea eax, [ebx + 0x78]
call fcn.00403f64
lea edx, [ebp - 0x60]
mov eax, dword [0x6454e4]
mov eax, dword [eax]
call fcn.00453a78
mov edx, dword [ebp - 0x60]
lea eax, [ebx + 0x7c]
call fcn.00403f64
lea eax, [ebp - 0x64]
push eax
mov eax, dword [ebx + 0x60]
mov dword [ebp - 0x84], eax
mov byte [ebp - 0x80], 0
mov eax, dword [ebx + 0x64]
mov dword [ebp - 0x7c], eax
mov byte [ebp - 0x78], 0
mov eax, dword [ebx + 0x68]
mov dword [ebp - 0x74], eax
mov byte [ebp - 0x70], 0
mov eax, dword [ebx + 0x6c]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x68], 0
lea edx, [ebp - 0x84]
mov ecx, 3
mov eax, 0x58bb94
call fcn.0040a6b0
mov edx, dword [ebp - 0x64]
lea eax, [ebx + 0x80]
call fcn.00403f64
mov eax, dword [ebx + 0xe4]
call fcn.00402770
mov eax, edi
mov edx, dword [ebx + 0x38]
call fcn.00403f64
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x58ba6d
lea eax, [ebp - 0x64]
mov edx, 0xe
call fcn.00403f34
lea eax, [ebp - 0x1c]
call fcn.00403f10
lea eax, [ebp - 8]
mov edx, 2
call fcn.00403f34
ret