Function at 0x42ea40
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ffe96
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 0x42eab0
xor ecx, ecx
jmp 0x42eac4
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42eab5
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x108]
call fcn.004072f0
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.005d4b40
add esp, 0xc
call fcn.0048bf20
test al, al
je 0x42eb37
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.0048c1c0
test al, al
je 0x42eb5b
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.0048bcf0
test al, al
je 0x42eb75
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 0x42edcf
cmp dword [ebp - 0xf4], 8
lea eax, [ebp - 0x108]
cmovae eax, dword [ebp - 0x108]
push eax
call fcn.00420390
add esp, 4
test al, al
je 0x42edcf
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 0x42ec1a
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.00406d00
lea ecx, [ebp - 0xf0]
call fcn.00405db0
lea ecx, [ebp - 0x108]
call fcn.00405db0
mov eax, ebx
jmp 0x42eeb3
inc eax
push eax
call fcn.005cb0d7
mov esi, eax
add esp, 4
mov dword [ebp - 0x114], esi
test esi, esi
je 0x42ebdc
call fcn.0048c150
test al, al
je 0x42ec5b
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 0x42ecaf
push esi
call fcn.005cac0b
mov ecx, dword [ebp - 0x10c]
lea eax, [ebp - 0xf0]
add esp, 4
push eax
call fcn.0041e810
lea ecx, [ebp - 0xf0]
call fcn.00405db0
lea ecx, [ebp - 0x108]
call fcn.00405db0
mov eax, dword [ebp - 0x10c]
jmp 0x42eeb3
call fcn.0048c540
test al, al
je 0x42ecd6
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.0048bba0
test al, al
je 0x42ecf8
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.0048bcf0
test al, al
je 0x42ed1a
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 0x42ec74
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.005cac0b
add esp, 4
call fcn.0048c2a0
test al, al
je 0x42ed95
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.0040fd80
add esp, 0x18
lea eax, [ebp - 0xd8]
lea ecx, [ebp - 0xf0]
push eax
call fcn.0040b200
call fcn.0048bac0
test al, al
je 0x42edf0
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.0048bcf0
test al, al
je 0x42ee0d
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.0048bf20
test al, al
je 0x42ee31
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.00406d00
mov eax, dword [ebp - 0xdc]
cmp eax, 8
jb 0x42ee76
inc eax
lea ecx, [ebp - 0xf0]
push eax
push dword [ebp - 0xf0]
call fcn.004073f0
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 0x42eeb1
inc eax
lea ecx, [ebp - 0x108]
push eax
push dword [ebp - 0x108]
call fcn.004073f0
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.005cabbc
mov esp, ebp
pop ebp
ret