Function at 0x53b39c
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 8
push 0
push 0
dec ecx
jne 0x53b3a5
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 4], edx
mov byte [ebp - 0x1d], al
mov eax, dword [ebp - 4]
call fcn.00406ba0
xor eax, eax
push ebp
push 0x53b649
push dword fs:[eax]
mov dword fs:[eax], esp
mov ebx, 0x104
mov eax, ebx
call fcn.004041e8
mov dword [ebp - 0x28], eax
xor edx, edx
push ebp
push 0x53b604
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 0x28]
push eax
push ebx
push 0
lea edx, [ebp - 0x34]
mov eax, dword [0x554040]
mov eax, dword [eax]
call fcn.004f5770
mov eax, dword [ebp - 0x34]
call fcn.00406c44
push eax
call sub.version.dll_GetFileVersionInfoW
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x2c]
push eax
push 0x53b658
mov eax, dword [ebp - 0x28]
push eax
call sub.version.dll_VerQueryValueW
mov ebx, dword [ebp - 0x2c]
lea edx, [ebp - 8]
mov eax, dword [ebx + 8]
shr eax, 0x10
movzx eax, ax
call fcn.00413a30
lea edx, [ebp - 0xc]
movzx eax, word [ebx + 8]
call fcn.00413a30
lea edx, [ebp - 0x10]
mov eax, dword [ebx + 0xc]
shr eax, 0x10
movzx eax, ax
call fcn.00413a30
lea edx, [ebp - 0x14]
movzx eax, word [ebx + 0xc]
call fcn.00413a30
xor ebx, ebx
test byte [ebp - 0x1d], 1
je 0x53b496
inc ebx
movzx edi, bl
push edi
lea eax, [ebp - 0x1c]
mov ecx, 1
mov edx, dword [0x53b36c]
call fcn.00408558
add esp, 4
mov eax, dword [ebp - 0x1c]
lea eax, [eax + edi*4 - 4]
mov edx, dword [ebp - 8]
call fcn.00406bb8
test byte [ebp - 0x1d], 2
je 0x53b4c6
inc ebx
movzx edi, bl
push edi
lea eax, [ebp - 0x1c]
mov ecx, 1
mov edx, dword [0x53b36c]
call fcn.00408558
add esp, 4
mov eax, dword [ebp - 0x1c]
lea eax, [eax + edi*4 - 4]
mov edx, dword [ebp - 0xc]
call fcn.00406bb8
test byte [ebp - 0x1d], 4
je 0x53b4f6
inc ebx
movzx edi, bl
push edi
lea eax, [ebp - 0x1c]
mov ecx, 1
mov edx, dword [0x53b36c]
call fcn.00408558
add esp, 4
mov eax, dword [ebp - 0x1c]
lea eax, [eax + edi*4 - 4]
mov edx, dword [ebp - 0x10]
call fcn.00406bb8
test byte [ebp - 0x1d], 8
je 0x53b526
inc ebx
movzx edi, bl
push edi
lea eax, [ebp - 0x1c]
mov ecx, 1
mov edx, dword [0x53b36c]
call fcn.00408558
add esp, 4
mov eax, dword [ebp - 0x1c]
lea eax, [eax + edi*4 - 4]
mov edx, dword [ebp - 0x14]
call fcn.00406bb8
dec ebx
test bl, bl
jb 0x53b556
inc ebx
mov byte [ebp - 0x2d], 0
push dword [ebp - 0x18]
movzx eax, byte [ebp - 0x2d]
mov edx, dword [ebp - 0x1c]
push dword [edx + eax*4]
push 0x53b668
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.00407170
inc byte [ebp - 0x2d]
dec bl
jne 0x53b530
lea eax, [ebp - 0x3c]
mov edx, dword [ebp - 0x18]
call fcn.00406e34
mov eax, dword [ebp - 0x3c]
lea ecx, [ebp - 0x38]
mov edx, 1
call fcn.0040db20
mov eax, dword [ebp - 0x38]
mov edx, 0x53b670
call fcn.00406ab0
jne 0x53b5cc
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x53b59d
mov edx, eax
sub edx, 0xa
cmp word [edx], 2
je 0x53b59d
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 0x18]
call fcn.0040640c
mov ebx, eax
test ebx, ebx
je 0x53b5a8
sub ebx, 4
mov ebx, dword [ebx]
lea eax, [ebp - 0x44]
mov edx, dword [ebp - 0x18]
call fcn.00406e34
mov eax, dword [ebp - 0x44]
lea ecx, [ebp - 0x40]
mov edx, ebx
dec edx
call fcn.0040db04
mov edx, dword [ebp - 0x40]
lea eax, [ebp - 0x18]
call fcn.00406e20
push dword [ebp - 0x18]
push 0x53b680
push dword [ebp - 4]
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.00407170
mov eax, esi
mov edx, dword [ebp - 0x18]
call fcn.00406bb8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53b60b
mov eax, dword [ebp - 0x28]
call fcn.00404204
ret