Function at 0x4074f7
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x451b9c
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x464140]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov ebx, ecx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004244f0
xor esi, esi
mov dword [esp + 0x38], eax
movzx eax, word [ebp + 8]
cmp dword [ebx + 0x1cf4], esi
je 0x4079b2
add eax, 0xfffffc18
cmp eax, 0xc
ja case.0x407554.1003
jmp dword [eax*4 + 0x407a83]
mov ecx, dword [ebx + 0x1da0]
mov eax, dword [ecx]
lea edx, [esp + 0x24]
push edx
call dword [eax + 0x15c]
lea edi, [ebx + 0x1cf0]
mov dword [esp + 0x48], esi
call fcn.004081c8
or dword [esp + 0x48], 0xffffffff
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
call fcn.00402c12
mov eax, dword [edi]
mov dword [esp + 0x1c], esi
cmp dword [eax - 0xc], esi
je 0x407607
add eax, 0xfffffff0
call fcn.00406215
lea edi, [eax + 0x10]
mov dword [esp + 0x18], edi
xor eax, eax
inc eax
mov dword [esp + 0x48], eax
cmp dword [edi - 4], eax
jle 0x4075c5
push dword [edi - 0xc]
lea eax, [esp + 0x1c]
push eax
call fcn.004029db
mov edi, dword [esp + 0x18]
push edi
call dword [sym.imp.SHLWAPI.dll_PathStripToRootW]
lea esi, [esp + 0x18]
call fcn.00408697
cmp dword [edi - 0xc], 2
jl 0x4075f2
mov eax, dword [ebx + 0x1cf0]
call fcn.00419050
test eax, eax
je 0x4075f2
mov dword [esp + 0x1c], 1
or dword [esp + 0x48], 0xffffffff
lea eax, [edi - 0x10]
call fcn.00402c12
xor esi, esi
cmp dword [esp + 0x1c], esi
jne 0x40761f
push 0x10
push esi
push 0x458004
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_MessageBoxW]
xor eax, eax
jmp 0x407a6c
xor edi, edi
cmp dword [ebx + 0x1db0], edi
jne 0x4076cb
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x20]
push eax
call fcn.00407b26
mov eax, dword [esp + 0x24]
pop ecx
pop ecx
cmp dword [eax - 0xc], edi
je 0x407652
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x407655
xor esi, esi
inc esi
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
call fcn.00402c12
cmp esi, edi
je 0x4076cb
push 1
push 1
mov esi, ebx
call fcn.004276a0
mov eax, dword [ebx]
push 1
push edi
mov ecx, ebx
call dword [eax + 0xf8]
push 0x1ae
lea esi, [ebx + 0x17e0]
push 0x262
call fcn.004276a0
push 5
push dword [ebx + 0x17e4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x43
push edi
push edi
push edi
push edi
push 0xffffffffffffffff
push dword [ebx + 0x17e4]
call dword [sym.imp.USER32.dll_SetWindowPos]
push 0x401d91
lea eax, [esi + 0x458]
mov edx, esi
call fcn.00418240
jmp case.0x407554.1003
mov dl, 0xfe
mov eax, ebx
mov byte [esp + 0x17], 0xfe
call fcn.00424e80
add byte [esp + 0x17], 0xe7
push 0x1e
call dword [sym.imp.KERNEL32.dll_Sleep]
mov dl, byte [esp + 0x17]
mov eax, ebx
call fcn.00424e80
cmp byte [esp + 0x17], 0x19
ja 0x4076d9
push 1
push 1
mov esi, ebx
call fcn.004276a0
mov eax, dword [ebx]
push 1
push edi
mov ecx, ebx
call dword [eax + 0xf8]
push 5
push dword [ebx + 0x44c]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x43
push edi
push edi
push edi
push edi
push 0xffffffffffffffff
push dword [ebx + 0x44c]
call dword [sym.imp.USER32.dll_SetWindowPos]
lea edi, [ebx + 0x8c0]
lea eax, [ebx + 0x1cf0]
call fcn.004081c8
mov eax, dword [ebx + 0x1cf0]
push ecx
sub eax, 0x10
mov dword [esp + 0x20], esp
mov edi, esp
call fcn.00406215
add eax, 0x10
lea ecx, [ebx + 0x938]
mov dword [edi], eax
call fcn.0040f012
mov eax, dword [ebx + 0x1d8c]
mov eax, dword [eax + 0x2ac]
mov dword [ebx + 0x8a0], eax
mov eax, dword [ebx + 0x1d90]
mov eax, dword [eax + 0x2ac]
mov dword [ebx + 0x8a4], eax
mov eax, dword [ebx + 0x1d94]
mov eax, dword [eax + 0x2ac]
mov dword [ebx + 0x8a8], eax
jmp 0x407a47
mov eax, dword [ebx + 0x1d84]
push dword [eax + 0x2ac]
mov ecx, dword [ebx + 0x1d70]
call fcn.00423c40
jmp case.0x407554.1003
lea esi, [ebx + 0x1cf0]
mov eax, dword [esi]
sub eax, 0x10
call fcn.00406215
add eax, 0x10
mov dword [esp + 0x1c], eax
mov dword [esp + 0x48], 2
mov ecx, dword [ebx + 4]
call fcn.00418a70
test eax, eax
je 0x407835
mov eax, esi
call fcn.00408209
mov eax, dword [esi]
push 0x5c
push eax
call fcn.0043b92c
pop ecx
pop ecx
test eax, eax
jne 0x407806
or eax, 0xffffffff
jmp 0x40780a
sub eax, dword [esi]
sar eax, 1
mov ecx, dword [esi]
mov ecx, dword [ecx - 0xc]
dec ecx
cmp eax, ecx
jne 0x40781b
push str.ThinkSkyiToolsAVM
jmp 0x407820
push 0x457de8
push esi
call fcn.00408772
push dword [esi]
mov eax, dword [ebx + 0x1da0]
call fcn.00416a22
jmp 0x407840
lea eax, [esp + 0x1c]
mov edi, esi
call fcn.004081c8
lea eax, [esp + 0x2c]
push eax
mov ecx, 0x457e94
call fcn.004061b9
mov byte [esp + 0x48], 3
mov esi, dword [esi]
cmp dword [esi - 0xc], 0
jge 0x407866
push 0x80070057
call fcn.00402bfa
movzx ecx, word [esi]
push ecx
lea ecx, [esp + 0x2c]
push ecx
mov edi, eax
call fcn.004082e9
pop ecx
pop ecx
mov byte [esp + 0x48], 4
mov eax, dword [eax]
mov esi, dword [ebx + 0x1d80]
call fcn.00426b60
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
call fcn.00402c12
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
call fcn.00402c12
mov eax, dword [esp + 0x1c]
jmp 0x4079a5
mov eax, dword [ebx + 0x1da0]
xor ecx, ecx
cmp byte [eax + 0x15], cl
mov edi, ebx
sete cl
push ecx
call fcn.00407be5
jmp case.0x407554.1003
push 1
push esi
push esi
push str.http:__serv2.itools.hk_redirect_pavm_terms
push str.open
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp case.0x407554.1003
mov esi, ebx
call fcn.00407ce4
jmp case.0x407554.1003
lea esi, [esp + 0x20]
call fcn.004198a0
mov dword [esp + 0x48], 5
mov eax, dword [esp + 0x20]
mov ecx, dword [eax - 0xc]
test ecx, ecx
jle 0x40791f
js 0x40785c
movzx ecx, word [eax]
cmp cx, word [ebp + 0xc]
jne 0x40791f
push eax
push str._sThinkSkyiToolsAVM
jmp 0x407929
movzx eax, word [ebp + 0xc]
push eax
push str._c:ThinkSkyiToolsAVM
lea esi, [ebx + 0x1cf0]
push esi
call fcn.004058ae
mov eax, dword [ebx + 0x1da0]
add esp, 0xc
push dword [esi]
call fcn.00416a22
lea eax, [esp + 0x34]
push eax
mov ecx, 0x457e94
call fcn.004061b9
mov byte [esp + 0x48], 6
mov ecx, dword [esi]
cmp dword [ecx - 0xc], 0
jl 0x40785c
movzx ecx, word [ecx]
push ecx
lea ecx, [esp + 0x34]
push ecx
mov edi, eax
call fcn.004082e9
pop ecx
pop ecx
mov byte [esp + 0x48], 7
mov eax, dword [eax]
mov esi, dword [ebx + 0x1d80]
call fcn.00426b60
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
call fcn.00402c12
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
call fcn.00402c12
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
call fcn.00402c12
jmp case.0x407554.1003
sub eax, 0x3e8
je case.0x407554.1000
dec eax
je 0x4079de
dec eax
jne case.0x407554.1003
mov eax, dword [ebx + 0x1d88]
mov eax, dword [eax + 0x2ac]
mov dword [ebx + 0x8bc], eax
jmp case.0x407554.1003
mov dl, 0xfe
mov eax, ebx
mov byte [esp + 0x17], 0xfe
call fcn.00424e80
add byte [esp + 0x17], 0xe7
push 0x1e
call dword [sym.imp.KERNEL32.dll_Sleep]
mov dl, byte [esp + 0x17]
mov eax, ebx
call fcn.00424e80
cmp byte [esp + 0x17], 0x19
ja 0x4079ec
push 1
push 1
mov esi, ebx
call fcn.004276a0
mov eax, dword [ebx]
push 1
xor edi, edi
push edi
mov ecx, ebx
call dword [eax + 0xf8]
push 5
push dword [ebx + 0x44c]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x43
push edi
push edi
push edi
push edi
push 0xffffffffffffffff
push dword [ebx + 0x44c]
call dword [sym.imp.USER32.dll_SetWindowPos]
lea eax, [ebx + 0x448]
call fcn.00408fca
jmp case.0x407554.1003
push esi
push 0xf060
push 0x112
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8