Function at 0x180008628
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0x220
mov dword [rsp + 0x80], 0
mov qword [rsp + 0xc8], 0
mov dword [rsp + 0x94], 0
mov dword [rsp + 0x68], 1
mov qword [rsp + 0xe0], 0
mov ecx, 0xa30
call fcn.18000ce8c
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
jne 0x180008694
jmp 0x18000952c
mov qword [rsp + 0xf0], 0
mov qword [rsp + 0xa0], 0
mov qword [rsp + 0xe8], 0
mov qword [rsp + 0xb0], 0
mov qword [rsp + 0x168], 0
call fcn.180007c7c
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
add rax, 0x6a8
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0xd8]
add rax, 0xc
mov rcx, qword [rsp + 0x60]
mov qword [rcx + 0x410], rax
mov rax, qword [rsp + 0x60]
mov rcx, qword [rax + 0x410]
call fcn.18000ce8c
mov qword [rsp + 0xf8], rax
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0xf8]
mov qword [rax + 0x408], rcx
cmp qword [rsp + 0xf8], 0
jne 0x180008748
jmp 0x180009442
mov rax, qword [rsp + 0x60]
mov dword [rax], 0xaaaaaaaa
mov rax, qword [rsp + 0x60]
mov dword [rax + 4], 0xbbbbbbbb
mov r8, qword [rsp + 0x60]
mov rdx, qword [sym.imp.ntdll.dll_LdrGetProcedureAddress]
mov rcx, qword [rsp + 0x250]
call fcn.180007168
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x60]
mov rcx, qword [rcx + 0x408]
add rcx, 4
mov r8d, 8
mov rdx, rax
call fcn.18000ce28
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 0x408]
add rax, 0xc
mov qword [rsp + 0x108], rax
mov rax, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x108]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0xd8]
add rax, 0xfff
and rax, 0xfffffffffffff000
mov qword [rsp + 0xa8], rax
cmp dword [rsp + 0x238], 0
je 0x180008814
mov rax, qword [rsp + 0x260]
mov rcx, qword [rsp + 0xa8]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x100], rax
jmp 0x180008824
mov rax, qword [rsp + 0x260]
mov qword [rsp + 0x100], rax
mov rax, qword [rsp + 0x100]
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0x70]
add rax, 0x224
mov rcx, qword [rsp + 0x70]
add rcx, 0x1c
lea rdx, [rsp + 0xa0]
mov qword [rsp + 0x30], rdx
lea rdx, [rsp + 0xf0]
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rax
mov r9, rcx
mov r8, qword [rsp + 0xd0]
mov edx, dword [rsp + 0x238]
mov ecx, dword [rsp + 0x230]
call fcn.180007fe4
mov dword [rsp + 0x68], eax
cmp dword [rsp + 0x68], 0
je 0x1800088a6
mov rax, qword [rsp + 0x60]
mov rcx, qword [rax + 0x408]
call fcn.18000cea4
jmp 0x180009442
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x78], rax
mov dword [rsp + 0x84], 0
cmp dword [rsp + 0x230], 0
je 0x1800088e9
mov rax, qword [rsp + 0x70]
add rax, 0x430
mov rdx, rax
mov ecx, 1
call fcn.180007c90
mov dword [rsp + 0x84], eax
jmp 0x18000890a
mov rax, qword [rsp + 0x70]
add rax, 0x430
mov rdx, rax
mov ecx, dword [rsp + 0x238]
call fcn.180007c90
mov dword [rsp + 0x84], eax
cmp dword [rsp + 0x238], 0
je 0x180008b2c
mov dword [rsp + 0xb8], 0
mov rax, qword [rsp + 0x70]
add rax, 0x228
lea rcx, [rsp + 0xb0]
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0xe8]
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0xb8]
mov qword [rsp + 0x20], rcx
mov r9, rax
mov r8d, 8
xor edx, edx
mov ecx, dword [rsp + 0x230]
call fcn.180007fe4
mov dword [rsp + 0x68], eax
cmp dword [rsp + 0x68], 0
je 0x18000897c
jmp 0x180009442
mov r8, qword [rsp + 0x98]
lea rdx, [0x180007240]
mov rcx, qword [rsp + 0x78]
call fcn.18000ce28
mov rax, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x78]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x78], rax
mov eax, 8
imul rax, rax, 0xf
mov ecx, 8
imul rcx, rcx, 4
mov rdx, qword [rsp + 0x78]
mov r8, qword [rsp + 0x60]
mov rax, qword [r8 + rax + 0x970]
mov qword [rdx + rcx + 0x638], rax
mov eax, 8
imul rax, rax, 1
mov ecx, 8
imul rcx, rcx, 1
mov rdx, qword [rsp + 0x78]
mov r8, qword [rsp + 0x60]
mov rax, qword [r8 + rax + 0x970]
mov qword [rdx + rcx + 0x638], rax
mov eax, 8
imul rax, rax, 2
mov ecx, 8
imul rcx, rcx, 1
mov rdx, qword [rsp + 0x78]
mov r8, qword [rsp + 0x60]
mov rax, qword [r8 + rax + 0x9f0]
mov qword [rdx + rcx + 0x688], rax
mov eax, 8
imul rax, rax, 3
mov ecx, 8
imul rcx, rcx, 2
mov rdx, qword [rsp + 0x78]
mov r8, qword [rsp + 0x60]
mov rax, qword [r8 + rax + 0x9f0]
mov qword [rdx + rcx + 0x688], rax
mov eax, 8
imul rax, rax, 4
mov ecx, 8
imul rcx, rcx, 3
mov rdx, qword [rsp + 0x78]
mov r8, qword [rsp + 0x60]
mov rax, qword [r8 + rax + 0x9f0]
mov qword [rdx + rcx + 0x688], rax
mov rax, qword [rsp + 0x78]
mov ecx, dword [rsp + 0x268]
mov dword [rax + 8], ecx
mov rax, qword [rsp + 0x78]
mov dword [rax + 0x10], 1
mov rax, qword [rsp + 0x78]
mov ecx, dword [rsp + 0xd0]
mov dword [rax], ecx
mov rax, qword [rsp + 0x78]
mov ecx, dword [rsp + 0x260]
mov dword [rax + 4], ecx
mov rax, qword [rsp + 0x78]
mov ecx, dword [rsp + 0xa8]
mov dword [rax + 0x14], ecx
mov eax, dword [rsp + 0x84]
shl eax, 1
cdqe
mov rcx, qword [rsp + 0x70]
add rcx, 0x430
mov rdx, qword [rsp + 0x78]
add rdx, 0x430
mov qword [rsp + 0x118], rdx
mov r8, rax
mov rdx, rcx
mov rax, qword [rsp + 0x118]
mov rcx, rax
call fcn.18000ce28
mov rax, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0xa0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x78], rax
mov r8, qword [rsp + 0x260]
mov rdx, qword [rsp + 0x258]
mov rcx, qword [rsp + 0x78]
call fcn.18000ce28
mov rax, qword [rsp + 0x70]
mov ecx, dword [rsp + 0xd0]
mov dword [rax], ecx
mov rax, qword [rsp + 0x70]
mov ecx, dword [rsp + 0x260]
mov dword [rax + 4], ecx
mov rax, qword [rsp + 0x70]
mov ecx, dword [rsp + 0x268]
mov dword [rax + 8], ecx
mov rax, qword [rsp + 0x70]
mov ecx, dword [rsp + 0x238]
mov dword [rax + 0xc], ecx
mov rax, qword [rsp + 0x70]
mov ecx, dword [rsp + 0xa8]
mov dword [rax + 0x14], ecx
mov r8, qword [rsp + 0x98]
lea rdx, [0x180007240]
mov rcx, qword [rsp + 0x108]
call fcn.18000ce28
mov eax, 8
imul rax, rax, 0
mov ecx, 8
imul rcx, rcx, 0
mov rdx, qword [rsp + 0x70]
mov r8, qword [rsp + 0x60]
mov rax, qword [r8 + rax + 0x970]
mov qword [rdx + rcx + 0x638], rax
mov eax, 8
imul rax, rax, 1
mov ecx, 8
imul rcx, rcx, 1
mov rdx, qword [rsp + 0x70]
mov r8, qword [rsp + 0x60]
mov rax, qword [r8 + rax + 0x970]
mov qword [rdx + rcx + 0x638], rax
mov eax, 8
imul rax, rax, 3
mov ecx, 8
imul rcx, rcx, 2
mov rdx, qword [rsp + 0x70]
mov r8, qword [rsp + 0x60]
mov rax, qword [r8 + rax + 0x970]
mov qword [rdx + rcx + 0x638], rax
mov eax, 8
imul rax, rax, 4
mov ecx, 8
imul rcx, rcx, 3
mov rdx, qword [rsp + 0x70]
mov r8, qword [rsp + 0x60]
mov rax, qword [r8 + rax + 0x970]
mov qword [rdx + rcx + 0x638], rax
mov eax, 8
imul rax, rax, 0xf
mov ecx, 8
imul rcx, rcx, 4
mov rdx, qword [rsp + 0x70]
mov r8, qword [rsp + 0x60]
mov rax, qword [r8 + rax + 0x970]
mov qword [rdx + rcx + 0x638], rax
mov eax, 8
imul rax, rax, 5
mov ecx, 8
imul rcx, rcx, 5
mov rdx, qword [rsp + 0x70]
mov r8, qword [rsp + 0x60]
mov rax, qword [r8 + rax + 0x970]
mov qword [rdx + rcx + 0x638], rax
mov eax, 8
imul rax, rax, 6
mov ecx, 8
imul rcx, rcx, 6
mov rdx, qword [rsp + 0x70]
mov r8, qword [rsp + 0x60]
mov rax, qword [r8 + rax + 0x970]
mov qword [rdx + rcx + 0x638], rax
cmp dword [rsp + 0x238], 0
je 0x180008da3
mov eax, 8
imul rax, rax, 8
mov ecx, 8
imul rcx, rcx, 7
mov rdx, qword [rsp + 0x70]
mov r8, qword [rsp + 0x60]
mov rax, qword [r8 + rax + 0x970]
mov qword [rdx + rcx + 0x638], rax
mov eax, 8
imul rax, rax, 0xc
mov ecx, 8
imul rcx, rcx, 8
mov rdx, qword [rsp + 0x70]
mov r8, qword [rsp + 0x60]
mov rax, qword [r8 + rax + 0x970]
mov qword [rdx + rcx + 0x638], rax
mov eax, 8
imul rax, rax, 0xd
mov ecx, 8
imul rcx, rcx, 9
mov rdx, qword [rsp + 0x70]
mov r8, qword [rsp + 0x60]
mov rax, qword [r8 + rax + 0x970]
mov qword [rdx + rcx + 0x638], rax
mov eax, 8
imul rax, rax, 1
mov ecx, 8
imul rcx, rcx, 0
mov rdx, qword [rsp + 0x70]
mov r8, qword [rsp + 0x60]
mov rax, qword [r8 + rax + 0x9f0]
mov qword [rdx + rcx + 0x688], rax
jmp 0x180008e27
mov eax, 8
imul rax, rax, 2
mov ecx, 8
imul rcx, rcx, 1
mov rdx, qword [rsp + 0x70]
mov r8, qword [rsp + 0x60]
mov rax, qword [r8 + rax + 0x9f0]
mov qword [rdx + rcx + 0x688], rax
mov eax, 8
imul rax, rax, 3
mov ecx, 8
imul rcx, rcx, 2
mov rdx, qword [rsp + 0x70]
mov r8, qword [rsp + 0x60]
mov rax, qword [r8 + rax + 0x9f0]
mov qword [rdx + rcx + 0x688], rax
mov eax, 8
imul rax, rax, 4
mov ecx, 8
imul rcx, rcx, 3
mov rdx, qword [rsp + 0x70]
mov r8, qword [rsp + 0x60]
mov rax, qword [r8 + rax + 0x9f0]
mov qword [rdx + rcx + 0x688], rax
mov rax, qword [rsp + 0x60]
mov dword [rax + 0x418], 0x70
mov rax, qword [rsp + 0x60]
mov dword [rax + 0x454], 0x85
mov rax, qword [rsp + 0x60]
mov dword [rax + 0x438], 0x2710
mov rax, qword [rsp + 0x60]
mov dword [rax + 0x43c], 0x2710
xor eax, eax
mov rcx, qword [rsp + 0x60]
mov word [rcx + 0x458], ax
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x60]
mov rcx, qword [rcx + 0x408]
mov qword [rax + 0x460], rcx
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x60]
movzx ecx, word [rcx + 0x410]
mov word [rax + 0x45a], cx
mov dword [rsp + 0x8c], 0x800
mov dword [rsp + 0x68], 1
mov dword [rsp + 0x88], 0
jmp 0x180008ed1
mov eax, dword [rsp + 0x88]
inc eax
mov dword [rsp + 0x88], eax
cmp dword [rsp + 0x88], 2
jge 0x18000909a
mov rax, qword [rsp + 0x60]
mov qword [rax + 0x488], 0
mov rax, qword [rsp + 0x60]
mov qword [rax + 0x490], 0
cmp qword [rsp + 0x270], 0
jne 0x180008f93
mov rax, qword [rsp + 0x60]
add rax, 0x488
mov rcx, qword [rsp + 0x60]
add rcx, 0x418
mov edx, 8
imul rdx, rdx, 1
mov qword [rsp + 0x120], rdx
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x248]
xor ecx, ecx
mov rax, qword [rsp + 0x60]
mov r10, qword [rsp + 0x120]
call qword [rax + r10 + 0x9f0]
mov dword [rsp + 0xc0], eax
jmp 0x180009013
mov dword [rsp + 0xbc], 0x420
mov rax, qword [rsp + 0x60]
add rax, 0x488
mov rcx, qword [rsp + 0x60]
add rcx, 0x418
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x40], 0
mov rax, qword [rsp + 0x278]
mov qword [rsp + 0x38], rax
mov eax, dword [rsp + 0xbc]
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8, qword [rsp + 0x248]
xor edx, edx
mov rcx, qword [rsp + 0x270]
call qword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
mov dword [rsp + 0xc0], eax
mov edx, dword [rsp + 0x8c]
mov rax, qword [rsp + 0x60]
mov rcx, qword [rax + 0x490]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp dword [rsp + 0x8c], 0x800
jne 0x18000906d
mov eax, 8
imul rax, rax, 0xf
xor edx, edx
mov rcx, qword [rsp + 0x60]
mov rcx, qword [rcx + 0x488]
mov r8, qword [rsp + 0x60]
call qword [r8 + rax + 0x970]
mov dword [rsp + 0x8c], 0x100
jmp 0x180008ec1
mov eax, 8
imul rax, rax, 0xe
xor edx, edx
mov rcx, qword [rsp + 0x60]
mov rcx, qword [rcx + 0x490]
mov r8, qword [rsp + 0x60]
call qword [r8 + rax + 0x970]
mov dword [rsp + 0x68], eax
jmp 0x180008ec1
cmp dword [rsp + 0x68], 0
jne 0x18000917c
mov rax, qword [rsp + 0x70]
add rax, 0x430
mov rdx, rax
lea rcx, [rsp + 0x1a0]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
mov byte [rsp + 0x170], 0
lea rax, [rsp + 0x171]
mov rdi, rax
xor eax, eax
mov ecx, 0x27
rep stosb byte [rdi], al
mov edx, 1
lea rcx, [rsp + 0x170]
call qword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
xor r9d, r9d
xor r8d, r8d
mov edx, 1
lea rcx, [rsp + 0x170]
call qword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
mov dword [rsp + 0x150], 0
lea rax, [rsp + 0x158]
mov rdi, rax
xor eax, eax
mov ecx, 0x10
rep stosb byte [rdi], al
mov dword [rsp + 0x150], 0x18
lea rax, [rsp + 0x170]
mov qword [rsp + 0x158], rax
lea r9, [rsp + 0x1a0]
xor r8d, r8d
mov edx, 1
lea rcx, [rsp + 0x150]
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rsp + 0xe0], rax
cmp qword [rsp + 0xe0], 0
jne 0x18000917c
mov dword [rsp + 0x68], 0x444
mov rax, qword [rsp + 0x60]
mov rcx, qword [rax + 0x408]
call fcn.18000cea4
cmp dword [rsp + 0x68], 0
je 0x180009199
jmp 0x180009442
mov rcx, qword [rsp + 0x60]
call fcn.180004c58
mov rcx, qword [rsp + 0x60]
mov qword [rcx + 0xa18], rax
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 0xa18]
mov qword [rsp + 0x130], rax
mov rax, qword [rsp + 0x60]
mov ecx, dword [rsp + 0xd8]
mov dword [rax + 0xa20], ecx
mov rax, qword [rsp + 0x60]
add rax, 0xa24
mov rcx, qword [rsp + 0x60]
add rcx, 0xa20
mov rdx, qword [rsp + 0x60]
add rdx, 0xa18
mov edi, 8
imul rdi, rdi, 9
mov qword [rsp + 0x20], rax
mov r9d, 0x40
mov r8, rcx
mov rax, qword [rsp + 0x60]
mov rcx, qword [rax + 0x488]
mov rax, qword [rsp + 0x60]
call qword [rax + rdi + 0x970]
mov dword [rsp + 0x68], eax
cmp dword [rsp + 0x68], 0
je 0x180009237
jmp 0x180009442
mov rax, qword [rsp + 0x60]
mov dword [rax + 0x4d0], 0x100003
mov rax, qword [rsp + 0x60]
add rax, 0x4a0
mov ecx, 8
imul rcx, rcx, 8
mov qword [rsp + 0x128], rcx
mov rdx, rax
mov rax, qword [rsp + 0x60]
mov rcx, qword [rax + 0x490]
mov rax, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x128]
call qword [rax + rdi + 0x970]
mov dword [rsp + 0x68], eax
cmp dword [rsp + 0x68], 0
je 0x180009295
jmp 0x180009442
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x130]
mov qword [rax + 0x598], rcx
mov rax, qword [rsp + 0x60]
add rax, 0x4a0
mov ecx, 8
imul rcx, rcx, 0xd
mov qword [rsp + 0x138], rcx
mov rdx, rax
mov rax, qword [rsp + 0x60]
mov rcx, qword [rax + 0x490]
mov rax, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x138]
call qword [rax + rdi + 0x970]
mov dword [rsp + 0x68], eax
cmp dword [rsp + 0x68], 0
je 0x1800092f8
jmp 0x180009442
mov eax, 8
imul rax, rax, 0xc
xor edx, edx
mov rcx, qword [rsp + 0x60]
mov rcx, qword [rcx + 0x490]
mov rdi, qword [rsp + 0x60]
call qword [rdi + rax + 0x970]
mov dword [rsp + 0x68], eax
cmp dword [rsp + 0x68], 0
je 0x18000932b
jmp 0x180009442
mov qword [rsp + 0x140], 0xffffffffffffffff
mov edx, 0x4d2
mov rcx, qword [rsp + 0x140]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rax, qword [rsp + 0x60]
mov edx, dword [rax + 0x498]
mov rcx, qword [rsp + 0x60]
call fcn.180007204
mov qword [rsp + 0x148], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x148]
call qword [sym.imp.USER32.dll_SendMessageA]
mov edx, 0x5dc0
mov rcx, qword [rsp + 0xe0]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [rsp + 0x110], eax
mov dword [rsp + 0x94], 1
mov qword [rsp + 0xc8], 0
cmp dword [rsp + 0x238], 0
je 0x180009412
mov dword [rsp + 0x90], 0
jmp 0x1800093d5
mov eax, dword [rsp + 0x90]
inc eax
mov dword [rsp + 0x90], eax
cmp dword [rsp + 0x90], 0xa
jge 0x180009410
mov rax, qword [rsp + 0xb0]
mov eax, dword [rax]
mov dword [rsp + 0x80], eax
cmp dword [rsp + 0x80], 0
je 0x1800093fc
jmp 0x180009410
mov edx, 0x64
mov rcx, 0xffffffffffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x1800093c5
jmp 0x180009438
mov rax, qword [rsp + 0x60]
mov eax, dword [rax + 0x498]
mov dword [rsp + 0x80], eax
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 0x488]
mov qword [rsp + 0xc8], rax
xor eax, eax
test eax, eax
jne 0x1800086d0
cmp dword [rsp + 0x94], 0
jne 0x18000947e
mov rax, qword [rsp + 0x60]
cmp qword [rax + 0x488], 0
je 0x18000947e
mov eax, 8
imul rax, rax, 0xf
xor edx, edx
mov rcx, qword [rsp + 0x60]
mov rcx, qword [rcx + 0x488]
mov rdi, qword [rsp + 0x60]
call qword [rdi + rax + 0x970]
cmp dword [rsp + 0x238], 0
je 0x1800094d0
cmp qword [rsp + 0xb0], 0
je 0x1800094b7
mov eax, 8
imul rax, rax, 5
mov rdx, qword [rsp + 0xb0]
mov rcx, 0xffffffffffffffff
mov rdi, qword [rsp + 0x60]
call qword [rdi + rax + 0x970]
cmp qword [rsp + 0xe8], 0
je 0x1800094d0
mov rcx, qword [rsp + 0xe8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rsp + 0xa0], 0
je 0x1800094ff
mov eax, 8
imul rax, rax, 5
mov rdx, qword [rsp + 0xa0]
mov rcx, 0xffffffffffffffff
mov rdi, qword [rsp + 0x60]
call qword [rdi + rax + 0x970]
cmp qword [rsp + 0xf0], 0
je 0x180009518
mov rcx, qword [rsp + 0xf0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x60]
call fcn.18000cea4
xor eax, eax
test eax, eax
jne 0x180008678
xor eax, eax
test eax, eax
jne 0x18000866c
mov rax, qword [rsp + 0x240]
mov rcx, qword [rsp + 0xc8]
mov qword [rax], rcx
mov eax, dword [rsp + 0x80]
add rsp, 0x220
pop rdi
ret