Function at 0x5b58b4
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
mov ecx, 9
push 0
push 0
dec ecx
jne 0x5b58bc
push ecx
push ebx
push esi
push edi
mov ebx, edx
mov edi, eax
xor eax, eax
push ebp
push 0x5b5cdf
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
mov eax, ebx
mov edx, dword [0x5b3e34]
call fcn.00408c48
mov eax, ebx
xor ecx, ecx
mov edx, 0x48
call fcn.00404f1c
mov eax, ebx
mov edx, edi
call fcn.00407c9c
lea eax, [ebp - 0x14]
push eax
mov eax, edi
call fcn.00407d28
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
jbe 0x5b5cbc
mov eax, esi
call fcn.00404368
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0x5b5cb5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x1c]
push eax
push esi
mov eax, dword [ebp - 0x14]
push eax
mov eax, edi
call fcn.00407d28
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x5b5c9f
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x20]
push eax
push 0x5b5cf4
mov eax, dword [ebp - 0x1c]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x5b5c9f
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 8]
shr eax, 0x10
movzx eax, ax
mov dword [ebx + 0x24], eax
mov eax, dword [ebp - 0x20]
movzx eax, word [eax + 8]
mov dword [ebx + 0x28], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0xc]
shr eax, 0x10
movzx eax, ax
mov dword [ebx + 0x2c], eax
mov eax, dword [ebp - 0x20]
movzx eax, word [eax + 0xc]
mov dword [ebx + 0x30], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x10]
shr eax, 0x10
movzx eax, ax
mov dword [ebx + 0x34], eax
mov eax, dword [ebp - 0x20]
movzx eax, word [eax + 0x10]
mov dword [ebx + 0x38], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x14]
shr eax, 0x10
movzx eax, ax
mov dword [ebx + 0x3c], eax
mov eax, dword [ebp - 0x20]
movzx eax, word [eax + 0x14]
mov dword [ebx + 0x40], eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x5b5cf8
mov eax, dword [ebp - 0x1c]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x5b5a40
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
xor edx, edx
push edx
push eax
lea edx, [ebp - 4]
mov eax, 8
call fcn.00416478
lea eax, [ebp - 0x24]
push eax
mov ecx, 4
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.004083ec
mov eax, dword [ebp - 0x24]
push eax
lea eax, [ebp - 0x28]
push eax
mov ecx, 4
mov edx, 5
mov eax, dword [ebp - 4]
call fcn.004083ec
mov edx, dword [ebp - 0x28]
lea eax, [ebp - 4]
pop ecx
call fcn.00408180
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x5b5d38
push dword [ebp - 4]
push 0x5b5d68
lea eax, [ebp - 0x2c]
mov edx, 3
call fcn.00408264
mov eax, dword [ebp - 0x2c]
call fcn.00407d28
push eax
mov eax, dword [ebp - 0x1c]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x5b5a83
lea eax, [ebx + 0x20]
mov edx, dword [ebp - 0x10]
call fcn.00407e58
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x5b5d38
push dword [ebp - 4]
push 0x5b5d94
lea eax, [ebp - 0x30]
mov edx, 3
call fcn.00408264
mov eax, dword [ebp - 0x30]
call fcn.00407d28
push eax
mov eax, dword [ebp - 0x1c]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x5b5ac6
lea eax, [ebx + 4]
mov edx, dword [ebp - 0x10]
call fcn.00407e58
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x5b5d38
push dword [ebp - 4]
push 0x5b5dbc
lea eax, [ebp - 0x34]
mov edx, 3
call fcn.00408264
mov eax, dword [ebp - 0x34]
call fcn.00407d28
push eax
mov eax, dword [ebp - 0x1c]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x5b5b09
lea eax, [ebx + 0x10]
mov edx, dword [ebp - 0x10]
call fcn.00407e58
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x5b5d38
push dword [ebp - 4]
push 0x5b5dec
lea eax, [ebp - 0x38]
mov edx, 3
call fcn.00408264
mov eax, dword [ebp - 0x38]
call fcn.00407d28
push eax
mov eax, dword [ebp - 0x1c]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x5b5b4c
lea eax, [ebx + 0x18]
mov edx, dword [ebp - 0x10]
call fcn.00407e58
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x5b5d38
push dword [ebp - 4]
push 0x5b5e18
lea eax, [ebp - 0x3c]
mov edx, 3
call fcn.00408264
mov eax, dword [ebp - 0x3c]
call fcn.00407d28
push eax
mov eax, dword [ebp - 0x1c]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x5b5b8f
lea eax, [ebx + 0x14]
mov edx, dword [ebp - 0x10]
call fcn.00407e58
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x5b5d38
push dword [ebp - 4]
push 0x5b5e38
lea eax, [ebp - 0x40]
mov edx, 3
call fcn.00408264
mov eax, dword [ebp - 0x40]
call fcn.00407d28
push eax
mov eax, dword [ebp - 0x1c]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x5b5bd2
lea eax, [ebx + 0x44]
mov edx, dword [ebp - 0x10]
call fcn.00407e58
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x5b5d38
push dword [ebp - 4]
push 0x5b5e60
lea eax, [ebp - 0x44]
mov edx, 3
call fcn.00408264
mov eax, dword [ebp - 0x44]
call fcn.00407d28
push eax
mov eax, dword [ebp - 0x1c]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x5b5c15
lea eax, [ebx + 8]
mov edx, dword [ebp - 0x10]
call fcn.00407e58
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x5b5d38
push dword [ebp - 4]
push 0x5b5e88
lea eax, [ebp - 0x48]
mov edx, 3
call fcn.00408264
mov eax, dword [ebp - 0x48]
call fcn.00407d28
push eax
mov eax, dword [ebp - 0x1c]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x5b5c58
lea eax, [ebx + 0xc]
mov edx, dword [ebp - 0x10]
call fcn.00407e58
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x5b5d38
push dword [ebp - 4]
push 0x5b5eb0
lea eax, [ebp - 0x4c]
mov edx, 3
call fcn.00408264
mov eax, dword [ebp - 0x4c]
call fcn.00407d28
push eax
mov eax, dword [ebp - 0x1c]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x5b5c9b
lea eax, [ebx + 0x1c]
mov edx, dword [ebp - 0x10]
call fcn.00407e58
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5b5cbc
mov eax, dword [ebp - 0x1c]
call fcn.00404384
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5b5ce6
lea eax, [ebp - 0x4c]
mov edx, 0xb
call fcn.00407c94
lea eax, [ebp - 4]
call fcn.00407c8c
ret