Function at 0x42e850
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ff8e6
mov eax, dword fs:[0]
push eax
sub esp, 0x11c
mov eax, dword [0x69cef4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0xc]
xor eax, eax
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x10c], ebx
mov dword [ebp - 0x110], esi
mov dword [ebp - 0x128], 0
mov dword [ebp - 0xf4], 7
mov dword [ebp - 0xf8], 0
mov word [ebp - 0x108], ax
cmp word [esi], ax
jne 0x42e8c0
xor ecx, ecx
jmp 0x42e8d4
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42e8c5
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x108]
call fcn.00407280
xor eax, eax
mov dword [ebp - 4], 0
mov dword [ebp - 0xdc], 7
mov dword [ebp - 0xe0], 0
mov word [ebp - 0xf0], ax
push 0xc8
push eax
lea eax, [ebp - 0xd8]
mov byte [ebp - 4], 1
push eax
call fcn.005d4520
add esp, 0xc
call fcn.0048b900
test al, al
je 0x42e947
push edi
push ebx
pop ecx
push esi
pop ecx
push edi
push eax
pop edi
push esi
push ebx
pop esi
push ebp
pop edx
push ebp
push ecx
pop eax
push esp
pop esp
pop ebp
push eax
push esi
push eax
pop esi
pop edx
pop edx
push ebp
mov esi, dword [ebp - 0x110]
call fcn.0048bba0
test al, al
je 0x42e96b
pop ebp
push edx
push ebx
push ebp
pop edi
push edi
push esi
push esi
push edx
push eax
pop eax
pop ebp
push esp
pop ebx
pop edx
pop edi
push esp
push ebx
pop esp
push edi
push edi
mov ebx, dword [ebp - 0x10c]
call fcn.0048b6d0
test al, al
je 0x42e985
push ebp
pop ecx
push edi
push esp
pop ecx
pop ebp
push ebp
push esp
pop ebp
pop ebp
pop edx
push eax
pop eax
pop ebp
push esi
pop esp
pop ecx
cmp dword [ebp - 0xf8], 0
je 0x42ebdf
cmp dword [ebp - 0xf4], 8
lea eax, [ebp - 0x108]
cmovae eax, dword [ebp - 0x108]
push eax
call fcn.00420250
add esp, 4
test al, al
je 0x42ebdf
lea eax, [ebp - 0x120]
mov dword [ebp - 0x11c], 0
push eax
push esi
mov dword [ebp - 0x120], 0
mov dword [ebp - 0x124], 0
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0x118], eax
test eax, eax
jne 0x42ea2a
mov dword [ebx + 0x14], 7
xor eax, eax
mov dword [ebx + 0x10], 0
mov ecx, ebx
mov word [ebx], ax
lea eax, [ebp - 0xf0]
push eax
call fcn.00406c30
lea ecx, [ebp - 0xf0]
call fcn.00405db0
lea ecx, [ebp - 0x108]
call fcn.00405db0
mov eax, ebx
jmp 0x42ecc3
inc eax
push eax
call fcn.005caab7
mov esi, eax
add esp, 4
mov dword [ebp - 0x114], esi
test esi, esi
je 0x42e9ec
call fcn.0048bb30
test al, al
je 0x42ea6b
pop eax
pop esi
pop edx
pop ebp
pop eax
push ebx
pop ebx
push eax
push ecx
push esp
pop edi
push edi
push edx
pop edx
push eax
push edi
push ebx
push edx
pop edx
push ebp
pop eax
push edx
pop esi
push esi
pop ebp
push ebx
push eax
push esp
mov esi, dword [ebp - 0x114]
push esi
push dword [ebp - 0x118]
push 0
push dword [ebp - 0x110]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
jne 0x42eabf
push esi
call fcn.005ca5eb
mov ecx, dword [ebp - 0x10c]
lea eax, [ebp - 0xf0]
add esp, 4
push eax
call fcn.0041e6d0
lea ecx, [ebp - 0xf0]
call fcn.00405db0
lea ecx, [ebp - 0x108]
call fcn.00405db0
mov eax, dword [ebp - 0x10c]
jmp 0x42ecc3
call fcn.0048bf20
test al, al
je 0x42eae6
push esi
pop esi
pop eax
pop ecx
push ecx
pop esi
pop eax
push esi
push esp
push ebp
pop ebx
push eax
push edi
push esp
pop ebx
pop esp
pop edx
push edi
pop esp
push esi
push edx
push ebx
pop edi
push eax
pop ecx
push esp
pop ecx
push ecx
pop esi
push ebx
call fcn.0048b580
test al, al
je 0x42eb08
pop esi
push eax
push esi
push edx
push ebx
pop edx
push edx
pop esi
pop esp
push ebx
pop edx
push edx
pop edi
pop edx
pop esp
push ebp
pop esi
push ebx
push ebx
push esp
pop edx
push edi
push ebp
push edi
push esp
call fcn.0048b6d0
test al, al
je 0x42eb2a
pop eax
push ebp
pop ebp
push ebp
push edi
push eax
pop esp
push ecx
push edi
push esi
push edx
pop ebx
push ebp
pop ebp
pop edx
pop ebp
push esp
pop ebx
push ecx
push eax
pop ecx
pop ebp
push eax
pop esp
push esi
mov esi, dword [ebp - 0x114]
lea eax, [ebp - 0x124]
push eax
lea eax, [ebp - 0x11c]
push eax
push 0x608b38
push esi
call sub.VERSION.dll_VerQueryValueW
push esi
test eax, eax
je 0x42ea84
mov ecx, dword [ebp - 0x11c]
mov eax, dword [ecx + 8]
mov edx, eax
movzx eax, ax
mov dword [ebp - 0x114], eax
movzx eax, word [ecx + 0xe]
shr edx, 0x10
mov dword [ebp - 0x110], edx
mov dword [ebp - 0x118], eax
call fcn.005ca5eb
add esp, 4
call fcn.0048bc80
test al, al
je 0x42eba5
push esi
push esp
push ecx
pop ebp
push ecx
pop ecx
pop edi
push edx
pop edx
push ecx
pop esi
push ecx
push esp
push ecx
push esp
pop ebx
push esp
push ebp
pop ebx
push esi
pop esi
pop eax
push eax
push ebp
push ebp
push edx
push edx
push dword [ebp - 0x118]
lea eax, [ebp - 0xd8]
push 1
push dword [ebp - 0x114]
push dword [ebp - 0x110]
push 0x60c450
push eax
call fcn.0040fd00
add esp, 0x18
lea eax, [ebp - 0xd8]
lea ecx, [ebp - 0xf0]
push eax
call fcn.0040b1a0
call fcn.0048b4a0
test al, al
je 0x42ec00
push esi
push eax
push edi
push eax
push ebp
push esp
pop esi
pop esp
pop ebx
pop esp
pop ecx
push ebx
pop edx
pop ebp
push esp
push edx
push ecx
push edi
push eax
push edx
push eax
push eax
pop esp
push ecx
call fcn.0048b6d0
test al, al
je 0x42ec1d
pop edx
pop esp
pop esp
push eax
pop esi
pop ecx
push ebx
pop esp
push esp
push esp
pop ebx
push esp
push edi
push esp
pop edi
push edx
push edx
pop ecx
push esp
pop ebp
call fcn.0048b900
test al, al
je 0x42ec41
pop esp
push eax
push esp
pop ecx
push esi
pop eax
pop eax
push ecx
pop ebx
pop edx
pop esp
pop ebp
push ecx
push esp
push ebx
push ecx
push eax
pop ebp
push edx
pop esi
pop edi
push edi
push ecx
pop edx
push ecx
pop eax
pop eax
mov esi, dword [ebp - 0x10c]
xor eax, eax
mov ecx, esi
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
lea eax, [ebp - 0xf0]
push eax
call fcn.00406c30
mov eax, dword [ebp - 0xdc]
cmp eax, 8
jb 0x42ec86
inc eax
lea ecx, [ebp - 0xf0]
push eax
push dword [ebp - 0xf0]
call fcn.00407380
xor eax, eax
mov dword [ebp - 0xdc], 7
mov word [ebp - 0xf0], ax
mov eax, dword [ebp - 0xf4]
mov dword [ebp - 0xe0], 0
cmp eax, 8
jb 0x42ecc1
inc eax
lea ecx, [ebp - 0x108]
push eax
push dword [ebp - 0x108]
call fcn.00407380
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005ca59c
mov esp, ebp
pop ebp
ret