Function at 0x4247e0
Capabilities:
Create process on windows
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4cf67b
mov eax, dword fs:[0]
push eax
sub esp, 0x300
mov eax, dword [0x4fa36c]
xor eax, esp
mov dword [esp + 0x2f8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4fa36c]
xor eax, esp
push eax
lea eax, [esp + 0x314]
mov dword fs:[0], eax
lea eax, [esp + 0xe8]
xor ebx, ebx
push eax
mov dword [esp + 0x320], ebx
call fcn.00434390
add esp, 4
lea ecx, [esp + 0xe8]
push ecx
lea esi, [esp + 0xd0]
mov byte [esp + 0x320], 1
call fcn.00434210
add esp, 4
mov ebp, 8
mov byte [esp + 0x31c], 2
push ebp
mov edi, 7
push str.download
lea esi, [esp + 0x40]
mov dword [esp + 0x58], edi
mov dword [esp + 0x54], ebx
mov word [esp + 0x44], bx
call fcn.004018b0
mov edx, esi
push edx
lea eax, [esp + 0xd0]
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x324], 3
call fcn.00433fe0
add esp, 8
push 0xffffffffffffffff
push ebx
push eax
lea eax, [esp + 0xd8]
mov byte [esp + 0x328], 4
call fcn.004017c0
cmp dword [esp + 0x34], ebp
jb 0x4248cb
mov ecx, dword [esp + 0x20]
push ecx
call fcn.004a93cc
add esp, 4
mov byte [esp + 0x31c], 2
cmp dword [esp + 0x50], ebp
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], ebx
mov word [esp + 0x20], bx
jb 0x4248f3
mov edx, dword [esp + 0x3c]
push edx
call fcn.004a93cc
add esp, 4
lea eax, [esp + 0xcc]
push eax
call fcn.0042b0f0
add esp, 4
test al, al
jne 0x424917
lea ecx, [esp + 0xcc]
push ecx
call fcn.0042b8a0
add esp, 4
mov dword [esp + 0xc8], edi
mov dword [esp + 0xc4], ebx
mov word [esp + 0xb4], bx
mov byte [esp + 0x31c], 5
cmp dword [esp + 0x390], ebx
jne 0x424af6
push 1
push 0x4da564
lea edx, [esp + 0x368]
push edx
call fcn.00426080
cmp eax, 0xffffffff
je 0x424a98
lea ecx, [eax + 1]
lea eax, [esp + 0x360]
push eax
lea edx, [esp + 0x20]
push edx
or eax, 0xffffffff
call fcn.0042c790
add esp, 8
push 0xffffffffffffffff
push ebx
push eax
lea eax, [esp + 0xbc]
mov byte [esp + 0x328], 6
call fcn.004017c0
mov byte [esp + 0x31c], 5
cmp dword [esp + 0x34], ebp
jb 0x4249ad
mov eax, dword [esp + 0x20]
push eax
call fcn.004a93cc
add esp, 4
push 4
push str..exe
lea esi, [esp + 0x40]
mov dword [esp + 0x58], edi
mov dword [esp + 0x54], ebx
mov word [esp + 0x44], bx
call fcn.004018b0
lea edx, [esp + 0xb0]
lea eax, [esp + 0x1c]
mov byte [esp + 0x31c], 7
call fcn.0042c760
mov esi, eax
lea eax, [esp + 0x38]
call fcn.0042c350
test eax, eax
setne byte [esp + 0x1b]
cmp dword [esp + 0x34], ebp
jb 0x424a07
mov ecx, dword [esp + 0x20]
push ecx
call fcn.004a93cc
add esp, 4
mov byte [esp + 0x31c], 5
cmp dword [esp + 0x50], ebp
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], ebx
mov word [esp + 0x20], bx
jb 0x424a2f
mov edx, dword [esp + 0x3c]
push edx
call fcn.004a93cc
add esp, 4
cmp byte [esp + 0x1b], bl
je 0x424a48
push 4
push str..exe
lea ecx, [esp + 0xb8]
call fcn.00416f90
lea eax, [esp + 0xb0]
push eax
lea ecx, [esp + 0xd0]
push ecx
lea ecx, [esp + 0x24]
call fcn.00433fe0
add esp, 8
push 0xffffffffffffffff
push ebx
push eax
lea eax, [esp + 0xbc]
mov byte [esp + 0x328], 8
call fcn.004017c0
mov byte [esp + 0x31c], 5
cmp dword [esp + 0x34], ebp
jb 0x424b45
mov edx, dword [esp + 0x20]
push edx
jmp 0x424b3d
lea eax, [esp + 0x104]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea ecx, [esp + 0x104]
push ecx
push ebx
push str.kuai8
mov edx, ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
lea eax, [esp + 0x104]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x424ad0
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x108]
push eax
lea esi, [esp + 0xb8]
call fcn.004018b0
jmp 0x424b45
lea ecx, [esp + 0x37c]
push ecx
lea edx, [esp + 0xd0]
push edx
lea ecx, [esp + 0x24]
call fcn.00433fe0
add esp, 8
push 0xffffffffffffffff
push ebx
push eax
lea eax, [esp + 0xbc]
mov byte [esp + 0x328], 9
call fcn.004017c0
mov byte [esp + 0x31c], 5
cmp dword [esp + 0x34], ebp
jb 0x424b45
mov eax, dword [esp + 0x20]
push eax
call fcn.004a93cc
add esp, 4
lea ecx, [esp + 0xb0]
push ecx
call fcn.0042b0f0
add esp, 4
test al, al
je 0x424b79
lea edi, [esp + 0xb0]
call fcn.0042b360
test al, al
jne 0x424b74
mov edx, edi
push edx
call fcn.0042b3b0
add esp, 4
mov edi, 7
lea eax, [esp + 0xb0]
push ebx
push eax
xor ecx, ecx
lea edx, [esp + 0x368]
call fcn.0042a7e0
add esp, 8
test al, al
jne 0x424c3b
cmp dword [esp + 0xc8], ebp
jb 0x424bb4
mov ecx, dword [esp + 0xb4]
push ecx
call fcn.004a93cc
add esp, 4
cmp dword [esp + 0xe4], ebp
mov dword [esp + 0xc8], edi
mov dword [esp + 0xc4], ebx
mov word [esp + 0xb4], bx
jb 0x424be3
mov edx, dword [esp + 0xd0]
push edx
call fcn.004a93cc
add esp, 4
cmp dword [esp + 0x100], ebp
mov dword [esp + 0xe4], edi
mov dword [esp + 0xe0], ebx
mov word [esp + 0xd0], bx
jb 0x424c12
mov eax, dword [esp + 0xec]
push eax
call fcn.004a93cc
add esp, 4
lea esi, [esp + 0x324]
mov dword [esp + 0x100], edi
mov dword [esp + 0xfc], ebx
mov word [esp + 0xec], bx
call fcn.0041ed80
xor al, al
jmp 0x424d99
push 0x44
lea ecx, [esp + 0x68]
push ebx
push ecx
call fcn.004aef60
mov eax, dword [esp + 0xc0]
add esp, 0xc
cmp dword [esp + 0xc8], ebp
mov dword [esp + 0x64], 0x44
jae 0x424c6a
lea eax, [esp + 0xb4]
lea edx, [esp + 0x54]
push edx
lea ecx, [esp + 0x68]
push ecx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x424cfe
cmp dword [esp + 0xc8], ebp
jb 0x424c9f
mov edx, dword [esp + 0xb4]
push edx
call fcn.004a93cc
add esp, 4
cmp dword [esp + 0xe4], ebp
mov dword [esp + 0xc8], edi
mov dword [esp + 0xc4], ebx
mov word [esp + 0xb4], bx
jb 0x424cce
mov eax, dword [esp + 0xd0]
push eax
call fcn.004a93cc
add esp, 4
cmp dword [esp + 0x100], ebp
mov dword [esp + 0xe4], edi
mov dword [esp + 0xe0], ebx
mov word [esp + 0xd0], bx
jb 0x424c12
mov ecx, dword [esp + 0xec]
push ecx
jmp 0x424c0a
cmp dword [esp + 0xc8], ebp
jb 0x424d17
mov edx, dword [esp + 0xb4]
push edx
call fcn.004a93cc
add esp, 4
cmp dword [esp + 0xe4], ebp
mov dword [esp + 0xc8], edi
mov dword [esp + 0xc4], ebx
mov word [esp + 0xb4], bx
jb 0x424d46
mov eax, dword [esp + 0xd0]
push eax
call fcn.004a93cc
add esp, 4
cmp dword [esp + 0x100], ebp
mov dword [esp + 0xe4], edi
mov dword [esp + 0xe0], ebx
mov word [esp + 0xd0], bx
jb 0x424d75
mov ecx, dword [esp + 0xec]
push ecx
call fcn.004a93cc
add esp, 4
lea esi, [esp + 0x324]
mov dword [esp + 0x100], edi
mov dword [esp + 0xfc], ebx
mov word [esp + 0xec], bx
call fcn.0041ed80
mov al, 1
mov ecx, dword [esp + 0x314]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2f8]
xor ecx, esp
call fcn.004a9ce9
add esp, 0x30c
ret 0x74