Function at 0x42e590
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ffcf6
mov eax, dword fs:[0]
push eax
sub esp, 0x11c
mov eax, dword [0x69def4]
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 0x42e600
xor ecx, ecx
jmp 0x42e614
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42e605
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x108]
call fcn.00407210
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.005d4960
add esp, 0xc
call fcn.0048bda0
test al, al
je 0x42e687
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.0048c040
test al, al
je 0x42e6ab
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.0048bb70
test al, al
je 0x42e6c5
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 0x42e91f
cmp dword [ebp - 0xf4], 8
lea eax, [ebp - 0x108]
cmovae eax, dword [ebp - 0x108]
push eax
call fcn.0041ff30
add esp, 4
test al, al
je 0x42e91f
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 0x42e76a
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.00406bc0
lea ecx, [ebp - 0xf0]
call fcn.00405cd0
lea ecx, [ebp - 0x108]
call fcn.00405cd0
mov eax, ebx
jmp 0x42ea03
inc eax
push eax
call fcn.005caf77
mov esi, eax
add esp, 4
mov dword [ebp - 0x114], esi
test esi, esi
je 0x42e72c
call fcn.0048bfd0
test al, al
je 0x42e7ab
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 0x42e7ff
push esi
call fcn.005caaab
mov ecx, dword [ebp - 0x10c]
lea eax, [ebp - 0xf0]
add esp, 4
push eax
call fcn.0041e3b0
lea ecx, [ebp - 0xf0]
call fcn.00405cd0
lea ecx, [ebp - 0x108]
call fcn.00405cd0
mov eax, dword [ebp - 0x10c]
jmp 0x42ea03
call fcn.0048c3c0
test al, al
je 0x42e826
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.0048ba20
test al, al
je 0x42e848
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.0048bb70
test al, al
je 0x42e86a
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 0x609b38
push esi
call sub.VERSION.dll_VerQueryValueW
push esi
test eax, eax
je 0x42e7c4
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.005caaab
add esp, 4
call fcn.0048c120
test al, al
je 0x42e8e5
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 0x60d450
push eax
call fcn.0040f920
add esp, 0x18
lea eax, [ebp - 0xd8]
lea ecx, [ebp - 0xf0]
push eax
call fcn.0040ada0
call fcn.0048b940
test al, al
je 0x42e940
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.0048bb70
test al, al
je 0x42e95d
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.0048bda0
test al, al
je 0x42e981
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.00406bc0
mov eax, dword [ebp - 0xdc]
cmp eax, 8
jb 0x42e9c6
inc eax
lea ecx, [ebp - 0xf0]
push eax
push dword [ebp - 0xf0]
call fcn.00407310
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 0x42ea01
inc eax
lea ecx, [ebp - 0x108]
push eax
push dword [ebp - 0x108]
call fcn.00407310
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.005caa5c
mov esp, ebp
pop ebp
ret