Function at 0x42e400
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59e0f0
mov eax, dword fs:[0]
push eax
sub esp, 0x310
mov eax, dword [0x704608]
xor eax, ebp
mov dword [ebp - 0x20], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2ac], 0
lea ecx, [ebp - 0x18]
call fcn.00427ef0
mov dword [ebp - 4], 0
cmp dword [ebp + 0xc], 0
jne 0x42e473
call fcn.0054cd5c
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x2bc], eax
push 0x208
lea ecx, [ebp - 0x22c]
push ecx
mov edx, dword [ebp - 0x2bc]
push edx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
jmp 0x42e484
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x22c]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov dword [ebp - 0x14], 0
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x22c]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 0x10]
call fcn.00427ef0
mov byte [ebp - 4], 1
cmp dword [ebp - 0x1c], 0
jbe 0x42e62a
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.00560a34
add esp, 4
mov dword [ebp - 0x230], eax
cmp dword [ebp - 0x230], 0
jne 0x42e509
mov ecx, dword [ebp + 8]
call fcn.00427ef0
mov edx, dword [ebp - 0x2ac]
or edx, 1
mov dword [ebp - 0x2ac], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.004287f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.004287f0
mov eax, dword [ebp + 8]
jmp 0x42e686
mov eax, dword [ebp - 0x230]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
push 0
lea edx, [ebp - 0x22c]
push edx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x42e61b
mov dword [ebp - 0x234], 0
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x238]
push ecx
push str.VarFileInfoTranslation
mov edx, dword [ebp - 0x230]
push edx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x42e61b
mov eax, dword [ebp - 0x234]
shr eax, 2
test eax, eax
jbe 0x42e61b
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x2a8], 0
mov ecx, dword [ebp - 0x238]
movzx edx, word [ecx + 2]
push edx
mov eax, dword [ebp - 0x238]
movzx ecx, word [eax]
push ecx
push str.StringFileInfo_04x_04xFileDescription
lea edx, [ebp - 0x2a4]
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x2a8]
push eax
lea ecx, [ebp - 0x23c]
push ecx
lea edx, [ebp - 0x2a4]
push edx
mov eax, dword [ebp - 0x230]
push eax
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x42e61b
mov ecx, dword [ebp - 0x23c]
mov dword [ebp - 0x2fc], ecx
cmp dword [ebp - 0x2fc], 0
jne 0x42e5f0
mov dword [ebp - 0x2e0], 0
jmp 0x42e605
mov edx, dword [ebp - 0x2fc]
push edx
call fcn.005604bc
add esp, 4
mov dword [ebp - 0x2e0], eax
mov eax, dword [ebp - 0x2e0]
push eax
mov ecx, dword [ebp - 0x2fc]
push ecx
lea ecx, [ebp - 0x10]
call fcn.00402640
mov edx, dword [ebp - 0x230]
push edx
call fcn.005630a0
add esp, 4
mov eax, dword [ebp - 0x10]
sub eax, 0x10
mov dword [ebp - 0x300], eax
mov ecx, dword [ebp - 0x300]
push ecx
call fcn.004028e0
add esp, 4
mov dword [ebp - 0x304], eax
mov edx, dword [ebp - 0x304]
add edx, 0x10
mov eax, dword [ebp + 8]
mov dword [eax], edx
mov ecx, dword [ebp - 0x2ac]
or ecx, 1
mov dword [ebp - 0x2ac], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.004287f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.004287f0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.0055fc29
mov esp, ebp
pop ebp
ret