Function at 0x18005b02c
Capabilities:
Create process on windows

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x368]
sub rsp, 0x440
mov qword [rbp + 0x10], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov r14d, r8d
mov rdi, rdx
mov rsi, rcx
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x60], xmm0
lea rcx, [rsp + 0x50]
call fcn.18005d2c0
nop
lea rdx, [0x180281194]
lea rcx, [rsp + 0x50]
call fcn.18005d0bc
mov r12d, 0x20
xor r15d, r15d
lea r13d, [r12 - 0x19]
cmp rax, 0xffffffffffffffff
je 0x18005b0ee
lea r8, [rax + 1]
or r9, 0xffffffffffffffff
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x50]
call fcn.18005d018
mov rbx, rax
lea rax, [rsp + 0x50]
cmp rax, rbx
je 0x18005b0e5
lea rcx, [rsp + 0x50]
call fcn.18005e40c
mov r8d, r12d
mov rdx, rbx
lea rcx, [rsp + 0x50]
call fcn.1801c2370
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], r13
mov word [rbx], r15w
lea rcx, [rbp - 0x70]
call fcn.18005e40c
lea rdx, [0x180281198]
lea rcx, [rsp + 0x50]
call fcn.18005d0bc
cmp rax, 0xffffffffffffffff
je 0x18005b155
mov r9, rax
xor r8d, r8d
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x50]
call fcn.18005d018
mov rbx, rax
lea rax, [rsp + 0x50]
cmp rax, rbx
je 0x18005b14c
lea rcx, [rsp + 0x50]
call fcn.18005e40c
mov r8, r12
mov rdx, rbx
lea rcx, [rsp + 0x50]
call fcn.1801c2370
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], r13
mov word [rbx], r15w
lea rcx, [rbp - 0x70]
call fcn.18005e40c
lea rcx, [rsp + 0x50]
call fcn.18005af4c
movdqa xmm0, xmmword [0x180283720]
movdqu xmmword [rbp - 0x20], xmm0
mov word [rbp - 0x30], r15w
movdqu xmmword [rbp - 0x40], xmm0
mov word [rbp - 0x50], r15w
movdqu xmmword [rbp], xmm0
mov word [rbp - 0x10], r15w
mov rcx, rsi
cmp qword [rsi + 0x18], 8
jb 0x18005b192
mov rcx, qword [rsi]
mov ebx, 0x104
mov r8d, ebx
lea rdx, [rbp + 0x130]
call qword [sym.imp.KERNEL32.dll_GetShortPathNameW]
lea rcx, [rbp - 0x50]
test eax, eax
je 0x18005b1bd
lea rdx, [rbp + 0x130]
call fcn.18005d244
jmp 0x18005b1c5
mov rdx, rsi
call fcn.18005d18c
mov rcx, rdi
cmp qword [rdi + 0x18], 8
jb 0x18005b1d2
mov rcx, qword [rdi]
mov r8d, ebx
lea rdx, [rbp + 0x130]
call qword [sym.imp.KERNEL32.dll_GetShortPathNameW]
lea rcx, [rbp - 0x10]
test eax, eax
je 0x18005b1f8
lea rdx, [rbp + 0x130]
call fcn.18005d244
jmp 0x18005b200
mov rdx, rdi
call fcn.18005d18c
lea r8, [rbp - 0x10]
cmp r14d, 9
jl 0x18005b36b
lea rcx, [rbp + 0x78]
call fcn.18005d5b8
nop
lea r8, str.___n__
mov rdx, rax
lea rcx, [rbp + 0x58]
call fcn.18005d708
nop
lea rdx, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae rdx, qword [rsp + 0x50]
mov r8, qword [rsp + 0x60]
mov rcx, rax
call fcn.18005d51c
mov rbx, rax
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x60], xmm0
mov r8, r12
mov rdx, rax
lea rcx, [rbp - 0x70]
call fcn.1801c2370
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], r13
mov word [rbx], r15w
lea r8, str.___d_sql:_
lea rdx, [rbp - 0x70]
lea rcx, [rbp + 0x38]
call fcn.18005d708
nop
lea rdx, [rbp - 0x50]
cmp qword [rbp - 0x38], 8
cmovae rdx, qword [rbp - 0x50]
mov r8, qword [rbp - 0x40]
mov rcx, rax
call fcn.18005d51c
mov rbx, rax
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x80], xmm0
mov r8, r12
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.1801c2370
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], r13
mov word [rbx], r15w
lea r8, [0x1802811b8]
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0x18]
call fcn.18005d708
nop
lea r8, str.__f_pwfile
mov rdx, rax
lea rcx, [rbp + 0x98]
call fcn.18005d708
mov rbx, rax
lea rax, [rbp - 0x30]
cmp rax, rbx
je 0x18005b322
lea rcx, [rbp - 0x30]
call fcn.18005e40c
mov r8, r12
mov rdx, rbx
lea rcx, [rbp - 0x30]
call fcn.1801c2370
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], r13
mov word [rbx], r15w
lea rcx, [rbp + 0x98]
call fcn.18005e40c
nop
lea rcx, [rbp + 0x18]
call fcn.18005e40c
nop
lea rcx, [rsp + 0x70]
call fcn.18005e40c
nop
lea rcx, [rbp + 0x38]
call fcn.18005e40c
nop
lea rcx, [rbp - 0x70]
call fcn.18005e40c
nop
lea rcx, [rbp + 0x58]
call fcn.18005e40c
nop
lea rcx, [rbp + 0x78]
jmp 0x18005b49f
lea rcx, [rbp + 0x18]
call fcn.18005d5b8
nop
lea r8, str.___n__
mov rdx, rax
lea rcx, [rbp + 0x38]
call fcn.18005d708
nop
lea rdx, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae rdx, qword [rsp + 0x50]
mov r8, qword [rsp + 0x60]
mov rcx, rax
call fcn.18005d51c
mov rbx, rax
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x80], xmm0
mov r8, r12
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.1801c2370
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], r13
mov word [rbx], r15w
lea r8, str.___d__
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0x58]
call fcn.18005d708
nop
lea rdx, [rbp - 0x50]
cmp qword [rbp - 0x38], 8
cmovae rdx, qword [rbp - 0x50]
mov r8, qword [rbp - 0x40]
mov rcx, rax
call fcn.18005d51c
mov rbx, rax
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x60], xmm0
mov r8, r12
mov rdx, rax
lea rcx, [rbp - 0x70]
call fcn.1801c2370
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], r13
mov word [rbx], r15w
lea r8, [0x1802811b8]
lea rdx, [rbp - 0x70]
lea rcx, [rbp + 0x78]
call fcn.18005d708
mov rbx, rax
lea rax, [rbp - 0x30]
cmp rax, rbx
je 0x18005b468
lea rcx, [rbp - 0x30]
call fcn.18005e40c
mov r8, r12
mov rdx, rbx
lea rcx, [rbp - 0x30]
call fcn.1801c2370
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], r13
mov word [rbx], r15w
lea rcx, [rbp + 0x78]
call fcn.18005e40c
nop
lea rcx, [rbp - 0x70]
call fcn.18005e40c
nop
lea rcx, [rbp + 0x58]
call fcn.18005e40c
nop
lea rcx, [rsp + 0x70]
call fcn.18005e40c
nop
lea rcx, [rbp + 0x38]
call fcn.18005e40c
nop
lea rcx, [rbp + 0x18]
call fcn.18005e40c
mov rdx, rsi
lea rcx, [rbp - 0x70]
call fcn.18005e2e0
nop
mov rdx, rdi
lea rcx, [rsp + 0x70]
call fcn.18005e2e0
mov ebx, 0x1000
mov rdx, qword [rbp - 0x78]
cmp rdx, 0x10
jb 0x18005b4fb
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, rbx
jb 0x18005b4f6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18005b646
call fcn.18009e42c
movdqa xmm0, xmmword [0x180283730]
movdqu xmmword [rbp - 0x80], xmm0
mov byte [rsp + 0x70], r15b
mov rdx, qword [rbp - 0x58]
cmp rdx, 0x10
jb 0x18005b544
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, rbx
jb 0x18005b53f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18005b640
call fcn.18009e42c
lea rbx, [rbp - 0x30]
cmp qword [rbp - 0x18], 8
cmovae rbx, qword [rbp - 0x30]
mov edi, 0x68
mov r8d, edi
xor edx, edx
lea rcx, [rbp + 0xc0]
call fcn.1801c27d0
mov dword [rbp + 0xc0], edi
mov dword [rbp + 0xfc], 1
mov word [rbp + 0x100], r15w
xor edx, edx
lea r8d, [rdi - 0x50]
lea rcx, [rsp + 0x70]
call fcn.1801c27d0
lea rax, [rsp + 0x70]
mov qword [rsp + 0x48], rax
lea rax, [rbp + 0xc0]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 8
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x18005b5f7
or edx, 0xffffffff
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rcx, [rbp - 0x10]
call fcn.18005e40c
nop
lea rcx, [rbp - 0x50]
call fcn.18005e40c
nop
lea rcx, [rbp - 0x30]
call fcn.18005e40c
nop
lea rcx, [rsp + 0x50]
call fcn.18005e40c
lea r11, [rsp + 0x440]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.1801c897c
nop
call fcn.1801c897c
int3