Function at 0x140004d30
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 [0x140137088]
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.140021650
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.140009f60
mov rcx, qword [rsp + 0x50]
cmp rcx, qword [rsp + 0x58]
je 0x14000515b
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x18], xmm0
movdqa xmm1, xmmword [0x140101490]
movdqu xmmword [rbp + 0x18], xmm1
mov word [rbp + 8], si
lea rdx, [rbp + 8]
call fcn.140021050
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x58], xmm0
movdqa xmm1, xmmword [0x140101490]
movdqu xmmword [rbp + 0x58], xmm1
mov word [rbp + 0x48], si
lea r8d, [rsi + 1]
lea rdx, [0x1400f8924]
lea rcx, [rbp + 0x48]
call fcn.140002400
nop
lea r8, [rbp + 0x48]
xor edx, edx
lea rcx, [rsp + 0x38]
call fcn.140009cd0
nop
lea rcx, [rbp + 0x48]
call fcn.140002380
nop
mov rbx, qword [rsp + 0x40]
cmp qword [rsp + 0x48], rbx
je 0x140004e48
lea rdx, [rbp + 8]
mov rcx, rbx
call fcn.140008af0
add rbx, 0x20
mov qword [rsp + 0x40], rbx
jmp 0x140004e59
lea r8, [rbp + 8]
mov rdx, rbx
lea rcx, [rsp + 0x38]
call fcn.140009f60
lea r9, [rsp + 0x38]
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x10]
call fcn.14000ffb0
test al, al
jne 0x140004e84
lea rcx, [rbp + 8]
call fcn.140002380
nop
jmp 0x140005156
lea rdx, [rbp + 8]
lea rcx, [rbp + 0xa8]
call fcn.140008af0
nop
mov rdi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
cmp rdi, rbx
je 0x140004ebe
lea rdx, [rbp + 0xa8]
mov rcx, rbx
call fcn.140008af0
add rbx, 0x20
mov qword [rsp + 0x40], rbx
jmp 0x140004edc
lea r8, [rbp + 0xa8]
mov rdx, rbx
lea rcx, [rsp + 0x38]
call fcn.140009f60
mov rdi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x38], xmm0
movdqa xmm1, xmmword [0x140101490]
movdqu xmmword [rbp + 0x38], xmm1
mov word [rbp + 0x28], si
mov r8d, 1
lea rdx, [0x1400f8928]
lea rcx, [rbp + 0x28]
call fcn.140002400
nop
cmp rdi, rbx
je 0x140004f3c
movups xmm0, xmmword [rbp + 0x28]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rbp + 0x38]
movups xmmword [rbx + 0x10], xmm1
movdqa xmm0, xmmword [0x140101490]
movdqu xmmword [rbp + 0x38], xmm0
mov word [rbp + 0x28], si
add rbx, 0x20
mov qword [rsp + 0x40], rbx
jmp 0x140004f52
lea r8, [rbp + 0x28]
mov rdx, rbx
lea rcx, [rsp + 0x38]
call fcn.140009cd0
mov rbx, qword [rsp + 0x40]
lea rcx, [rbp + 0x28]
call fcn.140002380
nop
lea rcx, [rbp + 0xa8]
call fcn.140002380
nop
lea rcx, [rbp + 8]
call fcn.140002380
nop
cmp qword [rsp + 0x38], rbx
je 0x140005156
xorps xmm0, xmm0
movdqu xmmword [rbp + 0xd8], xmm0
movdqa xmm1, xmmword [0x1401014a0]
movdqu xmmword [rbp + 0xd8], xmm1
mov byte [rbp + 0xc8], 0
lea rdx, [rbp + 0xc8]
lea rcx, [rsp + 0x38]
call fcn.14000fd40
lea rdx, [rbp + 0xc8]
cmp qword [rbp + 0xe0], 0x10
cmovae rdx, qword [rbp + 0xc8]
lea rcx, [rbp + 8]
call fcn.140022340
nop
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x98], xmm0
movdqa xmm1, xmmword [0x140101490]
movdqu xmmword [rbp + 0x98], xmm1
mov word [rbp + 0x88], si
mov r8d, 0x10
lea rdx, str..FROM_HAOZIPEXT.
lea rcx, [rbp + 0x88]
call fcn.140002400
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.140009030
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.140002380
movups xmmword [rbp + 8], xmm7
movups xmmword [rbp + 0x18], xmm6
movdqa xmm0, xmmword [0x140101490]
movdqu xmmword [rbp + 0x78], xmm0
mov word [rbp + 0x68], si
lea rcx, [rbp + 0x68]
call fcn.140002380
nop
lea rcx, [rbp + 0x88]
call fcn.140002380
nop
lea rcx, [rbp + 0x68]
call fcn.140021650
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.1400ab220
mov eax, dword [rbp + 0x18]
lea ebx, [rax*2 + 2]
mov r8d, ebx
lea rdx, [rbp + 0xf0]
lea rcx, [rbp + 0x68]
call fcn.14000feb0
test al, al
je 0x14000512b
mov edx, 0xf001f
lea rcx, [rbp + 0x68]
call fcn.140021740
test al, al
je 0x14000512b
mov r8d, ebx
xor edx, edx
mov rdi, qword [rbp + 0x70]
mov rcx, rdi
call fcn.1400ab220
lea rdx, [rbp + 8]
lea rcx, [rbp + 0xa8]
call fcn.140008af0
mov rbx, rax
test rdi, rdi
jne 0x1400051c0
mov rcx, rax
call fcn.140002380
nop
lea rcx, [rbp + 0x28]
call fcn.140002380
nop
lea rcx, [rbp + 0x68]
call fcn.140021660
nop
lea rcx, [rbp + 8]
call fcn.140002380
nop
lea rcx, [rbp + 0xc8]
call fcn.1400090b0
nop
mov rbx, qword [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.140008f80
nop
lea rcx, [rsp + 0x38]
call fcn.140008f80
nop
lea rcx, [rbp - 0x10]
call fcn.140021660
nop
test rbx, rbx
je 0x14000518e
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.1400a8f20
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 0x1400051d1
mov rdx, qword [rax]
add r8, r8
mov rcx, rdi
call fcn.1400aace0
nop
mov rcx, rbx
call fcn.140002380
nop
lea rax, [rbp + 0xf0]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x1400051f4
lea rdx, [rbp + 0xf0]
lea rcx, [rbp + 0x28]
call fcn.140002400
mov rbx, qword [rbp + 0x38]
test rbx, rbx
je 0x14000512b
xorps xmm0, xmm0
movdqu xmmword [rbp + 0xb8], xmm0
movdqa xmm1, xmmword [0x140101490]
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.140002400
nop
lea rdx, [rbp + 0x28]
cmp qword [rbp + 0x40], 8
cmovae rdx, qword [rbp + 0x28]
mov r8, rbx
lea rcx, [rbp + 0xa8]
call fcn.140009030
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.140002380
movups xmmword [rbp + 8], xmm7
movups xmmword [rbp + 0x18], xmm6
movdqa xmm0, xmmword [0x140101490]
movdqu xmmword [rbp + 0x98], xmm0
mov word [rbp + 0x88], si
lea rcx, [rbp + 0x88]
call fcn.140002380
nop
lea rcx, [rbp + 0xa8]
call fcn.140002380
nop
lea rcx, [rbp + 0x48]
call fcn.14000fa90
nop
mov rbx, qword [rsp + 0x30]
cmp qword [rbp + 0x58], 0
je 0x1400053ab
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 0x1400053ab
mov rcx, qword [rbp - 0x28]
test rcx, rcx
jne 0x140005391
lea rcx, [rbp + 0x48]
call fcn.140002380
nop
jmp 0x14000512b
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test rbx, rbx
je 0x1400053ab
mov edx, 0x2710
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
nop
lea rcx, [rbp + 0x48]
call fcn.140002380
nop
lea rcx, [rbp + 0x28]
call fcn.140002380
nop
lea rcx, [rbp + 0x68]
call fcn.140021660
nop
lea rcx, [rbp + 8]
call fcn.140002380
nop
lea rcx, [rbp + 0xc8]
call fcn.1400090b0
nop
jmp 0x14000515b