Function at 0x59937e
Capabilities:
Get file version info

Disassembly:
push 0x118
mov eax, 0x679c7b
call fcn.005b47af
mov ebx, dword [ebp + 8]
xor edx, edx
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x114], edx
mov dword [ebp - 0x11c], ebx
mov dword [ebx + 0x14], 7
cmp dword [ebx + 0x14], 8
mov dword [ebp - 0x124], ebx
mov dword [ebx + 0x10], edx
jb 0x5993bb
mov eax, dword [ebx]
jmp 0x5993bd
mov eax, ebx
xor ecx, ecx
mov word [eax], cx
cmp dword [esi + 0x14], 8
mov dword [ebp - 4], edx
mov dword [ebp - 0x114], 1
mov dword [ebp - 0x108], edx
mov dword [ebp - 0x10c], edx
mov dword [ebp - 0x110], edx
jb 0x5993eb
mov eax, dword [esi]
jmp 0x5993ed
mov eax, esi
lea ecx, [ebp - 0x108]
push ecx
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0x104], eax
test eax, eax
je 0x5995e6
push eax
call fcn.005b485c
cmp dword [esi + 0x14], 8
mov edi, eax
pop ecx
mov dword [ebp - 0x120], edi
jb 0x59941f
mov esi, dword [esi]
push edi
push dword [ebp - 0x104]
push dword [ebp - 0x108]
push esi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x5995df
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x110]
push eax
push 0x6869a4
push edi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x5995df
cmp dword [ebp - 0x10c], 0
je 0x5995df
mov eax, dword [ebp - 0x110]
cmp dword [eax], 0xfeef04bd
jne 0x5995df
movzx ebx, word [eax + 0xa]
movzx edi, word [eax + 8]
movzx esi, word [eax + 0xe]
movzx eax, word [eax + 0xc]
push eax
lea eax, [ebp - 0x100]
push eax
call fcn.00425396
mov dword [ebp - 0x118], eax
lea eax, [ebp - 0xe8]
mov dword [ebp - 4], 1
push esi
push eax
call fcn.00425396
mov dword [ebp - 0x104], eax
lea eax, [ebp - 0xd0]
mov byte [ebp - 4], 2
push edi
push eax
call fcn.00425396
mov esi, eax
lea eax, [ebp - 0xb8]
mov byte [ebp - 4], 3
push ebx
push eax
call fcn.00425396
mov edi, 0x699eac
mov byte [ebp - 4], 4
push edi
push eax
lea eax, [ebp - 0xa0]
push eax
call fcn.0040bca5
push esi
push eax
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 5
push eax
call fcn.00417c9a
push edi
push eax
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 6
push eax
call fcn.0040bca5
add esp, 0x44
push dword [ebp - 0x104]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00417c9a
push edi
push eax
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 8
push eax
call fcn.0040bca5
push dword [ebp - 0x118]
mov byte [ebp - 4], 9
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00417c9a
mov ebx, dword [ebp - 0x11c]
add esp, 0x24
mov ecx, ebx
push eax
call fcn.0040c133
xor esi, esi
xor edi, edi
push esi
inc edi
lea ecx, [ebp - 0x28]
push edi
call fcn.00409de7
push esi
push edi
lea ecx, [ebp - 0x40]
call fcn.00409de7
push esi
push edi
lea ecx, [ebp - 0x58]
call fcn.00409de7
push esi
push edi
lea ecx, [ebp - 0x70]
call fcn.00409de7
push esi
push edi
lea ecx, [ebp - 0x88]
call fcn.00409de7
push esi
push edi
lea ecx, [ebp - 0xa0]
call fcn.00409de7
push esi
push edi
lea ecx, [ebp - 0xb8]
call fcn.00409de7
push esi
push edi
lea ecx, [ebp - 0xd0]
call fcn.00409de7
push esi
push edi
lea ecx, [ebp - 0xe8]
call fcn.00409de7
push esi
push edi
lea ecx, [ebp - 0x100]
call fcn.00409de7
mov edi, dword [ebp - 0x120]
push edi
call fcn.005b4857
pop ecx
mov eax, ebx
call fcn.005b4759
ret