Function at 0x10059233
Capabilities:
Get file version info

Disassembly:
push 0x27c
mov eax, 0x100cb862
call fcn.1007f70f
xor esi, esi
mov dword [ebp - 0x240], esi
mov ebx, ecx
mov dword [ebp - 0x22c], ebx
mov edi, edx
mov dword [ebp - 0x24c], esi
mov dword [ebp - 0x248], esi
mov dword [ebp - 0x244], esi
push 0x20a
lea eax, [ebp - 0x224]
push esi
push eax
mov dword [ebp - 4], esi
call fcn.100771d0
add esp, 0xc
lea eax, [ebp - 0x224]
push edi
push eax
call fcn.1007b456
pop ecx
pop ecx
push esi
lea eax, [ebp - 0x224]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, eax
cmp edi, esi
jne 0x10059344
mov dword [ebp - 0x238], esi
mov dword [ebp - 0x234], esi
mov dword [ebp - 0x230], esi
lea eax, [ebp - 0x22c]
push eax
mov byte [ebp - 4], 1
lea eax, [ebp - 0x23c]
mov dword [ebp - 0x22c], esi
call fcn.1005c2a6
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x23c]
mov dword [ebp - 0x22c], esi
call fcn.1005c2a6
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x23c]
mov dword [ebp - 0x22c], esi
call fcn.1005c2a6
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x23c]
mov dword [ebp - 0x22c], esi
call fcn.1005c2a6
lea eax, [ebp - 0x23c]
push eax
push ebx
call fcn.1005c207
lea esi, [ebp - 0x23c]
call fcn.10057e88
lea esi, [ebp - 0x250]
call fcn.10057e88
mov eax, ebx
jmp 0x1005950c
push edi
call fcn.10076ac2
pop ecx
push edi
mov ebx, eax
push esi
push ebx
call fcn.100771d0
add esp, 0xc
push ebx
push edi
push esi
lea eax, [ebp - 0x224]
push eax
call sub.VERSION.dll_GetFileVersionInfoW
cmp eax, esi
jne 0x10059407
mov dword [ebp - 0x238], esi
mov dword [ebp - 0x234], esi
mov dword [ebp - 0x230], esi
mov byte [ebp - 4], 2
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x23c]
mov dword [ebp - 0x228], esi
call fcn.1005c2a6
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x23c]
mov dword [ebp - 0x228], esi
call fcn.1005c2a6
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x23c]
mov dword [ebp - 0x228], esi
call fcn.1005c2a6
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x23c]
mov dword [ebp - 0x228], esi
call fcn.1005c2a6
lea eax, [ebp - 0x23c]
push eax
push dword [ebp - 0x22c]
call fcn.1005c207
lea esi, [ebp - 0x23c]
call fcn.10057e88
jmp 0x100594fb
lea eax, [ebp - 0x240]
push eax
lea eax, [ebp - 0x254]
push eax
push 0x100e3e9c
push ebx
mov dword [ebp - 0x254], esi
mov dword [ebp - 0x240], esi
call sub.VERSION.dll_VerQueryValueW
cmp eax, esi
jne 0x1005944b
mov dword [ebp - 0x238], esi
mov dword [ebp - 0x234], esi
mov dword [ebp - 0x230], esi
mov byte [ebp - 4], 3
jmp 0x10059385
push 0x34
push dword [ebp - 0x254]
lea eax, [ebp - 0x288]
push eax
call fcn.10078880
mov eax, dword [ebp - 0x280]
shr eax, 0x10
mov dword [ebp - 0x228], eax
add esp, 0xc
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x250]
call fcn.1005c2a6
movzx eax, word [ebp - 0x280]
mov dword [ebp - 0x228], eax
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x250]
call fcn.1005c2a6
mov eax, dword [ebp - 0x27c]
shr eax, 0x10
mov dword [ebp - 0x228], eax
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x250]
call fcn.1005c2a6
movzx eax, word [ebp - 0x27c]
mov dword [ebp - 0x228], eax
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x250]
call fcn.1005c2a6
push ebx
call fcn.1007a47b
pop ecx
lea eax, [ebp - 0x250]
push eax
push dword [ebp - 0x22c]
call fcn.1005c207
lea esi, [ebp - 0x250]
call fcn.10057e88
mov eax, dword [ebp - 0x22c]
call fcn.1007f759
ret