Function at 0x140004e40
Capabilities:
Create process on windows

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x338]
sub rsp, 0x430
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
mov rax, qword [0x140133088]
xor rax, rsp
mov qword [rbp + 0x300], rax
xor esi, esi
mov ebx, esi
mov qword [rsp + 0x30], rbx
lea rcx, [rbp - 0x10]
call fcn.1400213a0
nop
mov qword [rsp + 0x38], rsi
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], rsi
movdqu xmmword [rsp + 0x58], xmm0
mov r8, rdx
xor edx, edx
lea rcx, [rsp + 0x50]
call fcn.14000a070
mov rcx, qword [rsp + 0x50]
cmp rcx, qword [rsp + 0x58]
je 0x14000526b
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x18], xmm0
movdqa xmm1, xmmword [0x1400fe370]
movdqu xmmword [rbp + 0x18], xmm1
mov word [rbp + 8], si
lea rdx, [rbp + 8]
call fcn.140020da0
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x58], xmm0
movdqa xmm1, xmmword [0x1400fe370]
movdqu xmmword [rbp + 0x58], xmm1
mov word [rbp + 0x48], si
lea r8d, [rsi + 1]
lea rdx, [0x1400f5924]
lea rcx, [rbp + 0x48]
call fcn.1400025d0
nop
lea r8, [rbp + 0x48]
xor edx, edx
lea rcx, [rsp + 0x38]
call fcn.140009de0
nop
lea rcx, [rbp + 0x48]
call fcn.140002550
nop
mov rbx, qword [rsp + 0x40]
cmp qword [rsp + 0x48], rbx
je 0x140004f58
lea rdx, [rbp + 8]
mov rcx, rbx
call fcn.140008c00
add rbx, 0x20
mov qword [rsp + 0x40], rbx
jmp 0x140004f69
lea r8, [rbp + 8]
mov rdx, rbx
lea rcx, [rsp + 0x38]
call fcn.14000a070
lea r9, [rsp + 0x38]
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x10]
call fcn.1400100c0
test al, al
jne 0x140004f94
lea rcx, [rbp + 8]
call fcn.140002550
nop
jmp 0x140005266
lea rdx, [rbp + 8]
lea rcx, [rbp + 0xa8]
call fcn.140008c00
nop
mov rdi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
cmp rdi, rbx
je 0x140004fce
lea rdx, [rbp + 0xa8]
mov rcx, rbx
call fcn.140008c00
add rbx, 0x20
mov qword [rsp + 0x40], rbx
jmp 0x140004fec
lea r8, [rbp + 0xa8]
mov rdx, rbx
lea rcx, [rsp + 0x38]
call fcn.14000a070
mov rdi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x38], xmm0
movdqa xmm1, xmmword [0x1400fe370]
movdqu xmmword [rbp + 0x38], xmm1
mov word [rbp + 0x28], si
mov r8d, 1
lea rdx, [0x1400f5928]
lea rcx, [rbp + 0x28]
call fcn.1400025d0
nop
cmp rdi, rbx
je 0x14000504c
movups xmm0, xmmword [rbp + 0x28]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rbp + 0x38]
movups xmmword [rbx + 0x10], xmm1
movdqa xmm0, xmmword [0x1400fe370]
movdqu xmmword [rbp + 0x38], xmm0
mov word [rbp + 0x28], si
add rbx, 0x20
mov qword [rsp + 0x40], rbx
jmp 0x140005062
lea r8, [rbp + 0x28]
mov rdx, rbx
lea rcx, [rsp + 0x38]
call fcn.140009de0
mov rbx, qword [rsp + 0x40]
lea rcx, [rbp + 0x28]
call fcn.140002550
nop
lea rcx, [rbp + 0xa8]
call fcn.140002550
nop
lea rcx, [rbp + 8]
call fcn.140002550
nop
cmp qword [rsp + 0x38], rbx
je 0x140005266
xorps xmm0, xmm0
movdqu xmmword [rbp + 0xd8], xmm0
movdqa xmm1, xmmword [0x1400fe380]
movdqu xmmword [rbp + 0xd8], xmm1
mov byte [rbp + 0xc8], 0
lea rdx, [rbp + 0xc8]
lea rcx, [rsp + 0x38]
call fcn.14000fe50
lea rdx, [rbp + 0xc8]
cmp qword [rbp + 0xe0], 0x10
cmovae rdx, qword [rbp + 0xc8]
lea rcx, [rbp + 8]
call fcn.140022090
nop
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x98], xmm0
movdqa xmm1, xmmword [0x1400fe370]
movdqu xmmword [rbp + 0x98], xmm1
mov word [rbp + 0x88], si
mov r8d, 0x10
lea rdx, str..FROM_HAOZIPEXT.
lea rcx, [rbp + 0x88]
call fcn.1400025d0
nop
lea rdx, [rbp + 8]
cmp qword [rbp + 0x20], 8
cmovae rdx, qword [rbp + 8]
mov r8, qword [rbp + 0x18]
lea rcx, [rbp + 0x88]
call fcn.140009140
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x78], xmm0
movups xmm7, xmmword [rax]
movups xmmword [rbp + 0x68], xmm7
movups xmm6, xmmword [rax + 0x10]
movdqu xmmword [rbp + 0x78], xmm6
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 7
mov word [rax], si
lea rcx, [rbp + 8]
call fcn.140002550
movups xmmword [rbp + 8], xmm7
movups xmmword [rbp + 0x18], xmm6
movdqa xmm0, xmmword [0x1400fe370]
movdqu xmmword [rbp + 0x78], xmm0
mov word [rbp + 0x68], si
lea rcx, [rbp + 0x68]
call fcn.140002550
nop
lea rcx, [rbp + 0x88]
call fcn.140002550
nop
lea rcx, [rbp + 0x68]
call fcn.1400213a0
nop
mov qword [rbp + 0x38], rsi
mov qword [rbp + 0x40], rsi
mov qword [rbp + 0x38], rsi
mov qword [rbp + 0x40], 7
mov word [rbp + 0x28], si
xor edx, edx
mov r8d, 0x20a
lea rcx, [rbp + 0xf0]
call fcn.1400a8b60
mov eax, dword [rbp + 0x18]
lea ebx, [rax*2 + 2]
mov r8d, ebx
lea rdx, [rbp + 0xf0]
lea rcx, [rbp + 0x68]
call fcn.14000ffc0
test al, al
je 0x14000523b
mov edx, 0xf001f
lea rcx, [rbp + 0x68]
call fcn.140021490
test al, al
je 0x14000523b
mov r8d, ebx
xor edx, edx
mov rdi, qword [rbp + 0x70]
mov rcx, rdi
call fcn.1400a8b60
lea rdx, [rbp + 8]
lea rcx, [rbp + 0xa8]
call fcn.140008c00
mov rbx, rax
test rdi, rdi
jne 0x1400052d0
mov rcx, rax
call fcn.140002550
nop
lea rcx, [rbp + 0x28]
call fcn.140002550
nop
lea rcx, [rbp + 0x68]
call fcn.1400213b0
nop
lea rcx, [rbp + 8]
call fcn.140002550
nop
lea rcx, [rbp + 0xc8]
call fcn.1400091c0
nop
mov rbx, qword [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.140009090
nop
lea rcx, [rsp + 0x38]
call fcn.140009090
nop
lea rcx, [rbp - 0x10]
call fcn.1400213b0
nop
test rbx, rbx
je 0x14000529e
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x30], rsi
mov rcx, qword [rbp + 0x300]
xor rcx, rsp
call fcn.1400a6810
lea r11, [rsp + 0x430]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop rbp
ret
mov r8, qword [rax + 0x10]
mov rdx, rbx
cmp qword [rax + 0x18], 8
jb 0x1400052e1
mov rdx, qword [rax]
add r8, r8
mov rcx, rdi
call fcn.1400a8610
nop
mov rcx, rbx
call fcn.140002550
nop
lea rax, [rbp + 0xf0]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x140005304
lea rdx, [rbp + 0xf0]
lea rcx, [rbp + 0x28]
call fcn.1400025d0
mov rbx, qword [rbp + 0x38]
test rbx, rbx
je 0x14000523b
xorps xmm0, xmm0
movdqu xmmword [rbp + 0xb8], xmm0
movdqa xmm1, xmmword [0x1400fe370]
movdqu xmmword [rbp + 0xb8], xmm1
mov word [rbp + 0xa8], si
mov r8d, 0x12
lea rdx, str..FROM_HAOZIPEXT_2.
lea rcx, [rbp + 0xa8]
call fcn.1400025d0
nop
lea rdx, [rbp + 0x28]
cmp qword [rbp + 0x40], 8
cmovae rdx, qword [rbp + 0x28]
mov r8, rbx
lea rcx, [rbp + 0xa8]
call fcn.140009140
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x98], xmm0
movups xmm7, xmmword [rax]
movups xmmword [rbp + 0x88], xmm7
movups xmm6, xmmword [rax + 0x10]
movdqu xmmword [rbp + 0x98], xmm6
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 7
mov word [rax], si
lea rcx, [rbp + 8]
call fcn.140002550
movups xmmword [rbp + 8], xmm7
movups xmmword [rbp + 0x18], xmm6
movdqa xmm0, xmmword [0x1400fe370]
movdqu xmmword [rbp + 0x98], xmm0
mov word [rbp + 0x88], si
lea rcx, [rbp + 0x88]
call fcn.140002550
nop
lea rcx, [rbp + 0xa8]
call fcn.140002550
nop
lea rcx, [rbp + 0x48]
call fcn.14000fba0
nop
mov rbx, qword [rsp + 0x30]
cmp qword [rbp + 0x58], 0
je 0x1400054bb
mov dword [rsp + 0x70], 0x70
mov dword [rsp + 0x74], 0x440
mov qword [rsp + 0x78], rsi
lea rax, str.open
mov qword [rbp - 0x80], rax
lea rax, [rbp + 0x48]
cmp qword [rbp + 0x60], 8
cmovae rax, qword [rbp + 0x48]
mov qword [rbp - 0x78], rax
lea rax, [rbp + 8]
cmp qword [rbp + 0x20], 8
cmovae rax, qword [rbp + 8]
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x68], rsi
mov dword [rbp - 0x60], esi
xor eax, eax
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], rax
lea rcx, [rsp + 0x70]
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x1400054bb
mov rcx, qword [rbp - 0x28]
test rcx, rcx
jne 0x1400054a1
lea rcx, [rbp + 0x48]
call fcn.140002550
nop
jmp 0x14000523b
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test rbx, rbx
je 0x1400054bb
mov edx, 0x2710
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
nop
lea rcx, [rbp + 0x48]
call fcn.140002550
nop
lea rcx, [rbp + 0x28]
call fcn.140002550
nop
lea rcx, [rbp + 0x68]
call fcn.1400213b0
nop
lea rcx, [rbp + 8]
call fcn.140002550
nop
lea rcx, [rbp + 0xc8]
call fcn.1400091c0
nop
jmp 0x14000526b