Function at 0x180009b0c
Capabilities:
Create thread

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x20], r9
mov qword [rax + 0x18], r8
mov qword [rax + 0x10], rdx
push rbp
push rsi
push rdi
sub rsp, 0x1f0
xor esi, esi
mov rbx, rcx
xor edx, edx
and qword [rsp + 0x78], rsi
and dword [rsp + 0x58], esi
mov rcx, r9
xor edi, edi
mov rbp, r8
call fcn.1800090b0
mov qword [rsp + 0x128], rax
jmp 0x180009b55
mov rbp, qword [rsp + 0x68]
mov r9d, 1
lea rcx, [rsp + 0x90]
lea rdx, [rsp + 0xf8]
mov r8d, 6
lea rax, [rbp + 4]
mov ebp, dword [rbp]
mov dword [rcx], ebp
mov qword [rdx], rax
add rbp, rax
add rcx, 4
add rdx, 8
sub r8, r9
jne 0x180009b71
mov qword [rsp + 0x68], rbp
cmp dword [rsp + 0x90], r9d
jbe 0x18000a313
mov rcx, qword [rsp + 0xf8]
lea r8, [rsp + 0x88]
lea rdx, [rsp + 0x74]
call fcn.18000913c
mov r9d, 1
mov rcx, rax
test rax, rax
je 0x180009b5b
cmp dword [rsp + 0x88], 0
jne 0x180009b5b
mov eax, dword [rsp + 0x74]
test eax, eax
je 0x180009bf7
cmp dword [rsp + 0x230], 0
je 0x180009bee
cmp eax, 8
je 0x180009bf7
jmp 0x180009b5b
cmp eax, 7
jne 0x180009b5b
mov rdx, qword [rsp + 0x128]
call fcn.180012c10
mov r9d, 1
test eax, eax
je 0x180009b5b
mov rax, r9
cmp dword [rsp + 0xa4], eax
jbe 0x180009c5a
cmp dword [rsp + 0x98], eax
ja 0x180009c5a
cmp dword [rsp + 0x94], eax
ja 0x180009c5a
mov rax, qword [rsp + 0x238]
test rax, rax
je 0x180009c5a
cmp qword [rax + 8], 0
jne 0x18000a26c
xor edx, edx
mov rcx, rax
call fcn.18000f22c
test eax, eax
je 0x18000a26c
mov rax, qword [rbx]
lea rdx, [rsp + 0x150]
mov r8d, 1
mov rcx, rbx
call qword [rax + 0x60]
mov eax, dword [rsp + 0x160]
mov dword [rsp + 0x40], eax
test eax, eax
je 0x180009b55
mov rcx, qword [0x180023a50]
mov r8, rax
xor edx, edx
mov qword [rsp + 0x130], rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rbp, rax
test rax, rax
je 0x180009b50
and dword [rsp + 0xb0], 0
and dword [rsp + 0xb4], 0
mov rax, qword [rbx]
mov rdx, qword [rsp + 0xb0]
xor r9d, r9d
xor r8d, r8d
mov rcx, rbx
call qword [rax + 0x28]
mov r11, qword [rbx]
mov r8d, dword [rsp + 0x40]
xor r9d, r9d
mov rdx, rbp
mov rcx, rbx
call qword [r11 + 0x18]
xor ecx, ecx
xor eax, eax
mov dword [rsp + 0xd8], ecx
mov dword [rsp + 0xdc], ecx
mov rdx, qword [rsp + 0xd8]
mov dword [rsp + 0xac], eax
mov rax, qword [rbx]
mov dword [rsp + 0xa8], ecx
xor r9d, r9d
xor r8d, r8d
mov rcx, rbx
call qword [rax + 0x28]
mov r11, qword [rbx]
mov rdx, qword [rsp + 0xa8]
mov rcx, rbx
call qword [r11 + 0x30]
mov eax, dword [rsp + 0x94]
cmp eax, 1
jbe 0x18000a21a
mov rcx, qword [rsp + 0x100]
lea edx, [rax - 1]
call fcn.180018044
mov dword [rsp + 0x48], eax
cmp eax, 0xbb4a6203
jne 0x180009f64
mov rcx, qword [rsp + 0x218]
test rcx, rcx
je 0x180009f08
mov rax, qword [rcx]
lea rdx, [rsp + 0x1a0]
mov r8d, 1
call qword [rax + 0x60]
mov ecx, dword [rsp + 0x1b0]
mov eax, dword [rsp + 0x40]
add eax, ecx
mov dword [rsp + 0x70], ecx
mov rcx, qword [0x180023a50]
mov r8d, eax
xor edx, edx
mov dword [rsp + 0x50], eax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rsi, rax
test rax, rax
je 0x180009f57
mov r11, qword [rsp + 0x218]
and dword [rsp + 0xc0], 0
and dword [rsp + 0xc4], 0
mov rax, qword [r11]
mov rdx, qword [rsp + 0xc0]
xor r9d, r9d
xor r8d, r8d
mov rcx, r11
call qword [rax + 0x28]
mov rax, qword [rsp + 0x218]
mov r8d, dword [rsp + 0x70]
mov r11, qword [rax]
xor r9d, r9d
mov rdx, rsi
mov rcx, rax
call qword [r11 + 0x18]
mov r11, qword [rsp + 0x218]
xor ecx, ecx
xor eax, eax
mov dword [rsp + 0xe0], ecx
mov dword [rsp + 0xe4], ecx
mov rdx, qword [rsp + 0xe0]
mov dword [rsp + 0xf4], eax
mov rax, qword [r11]
mov dword [rsp + 0xf0], ecx
xor r9d, r9d
xor r8d, r8d
mov rcx, r11
call qword [rax + 0x28]
mov rax, qword [rsp + 0x218]
mov rdx, qword [rsp + 0xf0]
mov r11, qword [rax]
mov rcx, rax
call qword [r11 + 0x30]
mov ecx, dword [rsp + 0x70]
mov r8, qword [rsp + 0x130]
add rcx, rsi
mov rdx, rbp
call sub.ntdll.dll_memcpy
mov r9, qword [rsp + 0x110]
mov r8d, dword [rsp + 0x50]
xor eax, eax
cmp dword [rsp + 0x98], 1
lea rcx, [rsp + 0x84]
cmova rax, qword [rsp + 0x108]
mov qword [rsp + 0x30], rcx
mov rcx, qword [rsp + 0x228]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x118]
mov rdx, rsi
mov qword [rsp + 0x20], rax
call fcn.1800099a8
test eax, eax
je 0x180009ec8
or edi, 2
mov r8d, dword [rsp + 0x84]
test r8d, r8d
je 0x180009ef4
mov r11, qword [rsp + 0x218]
mov edx, dword [rsp + 0x50]
xor r9d, r9d
mov r10, qword [r11]
sub rdx, r8
mov rcx, r11
add rdx, rsi
call qword [r10 + 0x20]
mov rcx, qword [0x180023a50]
mov r8, rsi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x180009f57
mov r9, qword [rsp + 0x110]
mov r8d, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x228]
xor eax, eax
cmp dword [rsp + 0x98], 1
mov rdx, rbp
cmova rax, qword [rsp + 0x108]
and qword [rsp + 0x30], 0
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x118]
mov qword [rsp + 0x20], rax
call fcn.1800099a8
test eax, eax
je 0x180009f57
or edi, 2
mov eax, dword [rsp + 0x48]
mov ecx, 1
mov esi, ecx
jmp 0x180009f69
mov ecx, 1
cmp eax, 0xacf9fc81
jne 0x180009fd1
cmp dword [rsp + 0xa4], ecx
jbe 0x180009f8f
mov rdx, qword [rsp + 0x120]
mov rcx, rbp
call qword [sym.imp.SHLWAPI.dll_StrStrIA]
test rax, rax
je 0x180009fc6
lea rax, [rsp + 0x140]
lea r8, [0x1800091bc]
xor r9d, r9d
mov qword [rsp + 0x28], rax
and dword [rsp + 0x20], 0
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
je 0x180009fc3
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
or edi, 4
mov eax, dword [rsp + 0x48]
mov ecx, 1
mov esi, ecx
test esi, esi
jne 0x18000a138
cmp eax, 0x46a71973
jne 0x18000a12d
mov rsi, qword [rsp + 0x120]
mov rcx, rsi
mov qword [rsp + 0x48], rsi
call qword [sym.imp.KERNEL32.dll_lstrlenA]
lea r8, [rsp + 0x48]
xor r9d, r9d
lea edx, [rax + 1]
mov rcx, rsi
call fcn.180009624
xor esi, esi
cmp eax, esi
je 0x18000a126
lea r8, [rsp + 0x60]
lea edx, [rsi + 1]
xor ecx, ecx
call qword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
cmp eax, esi
jne 0x18000a126
mov rdx, qword [0x180023b68]
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x78]
xor r9d, r9d
mov qword [rsp + 0x28], rax
xor r8d, r8d
mov dword [rsp + 0x20], esi
call fcn.18000f4e8
cmp eax, esi
jne 0x18000a11b
mov rcx, qword [rsp + 0x60]
mov r8d, dword [rsp + 0x58]
mov rdx, qword [rsp + 0x78]
mov rax, qword [rcx]
xor r9d, r9d
call qword [rax + 0x20]
mov rcx, qword [rsp + 0x60]
mov dword [rsp + 0xd0], esi
mov rax, qword [rcx]
mov dword [rsp + 0xd4], esi
mov rdx, qword [rsp + 0xd0]
xor r9d, r9d
xor r8d, r8d
call qword [rax + 0x28]
mov r8, qword [rsp + 0x78]
mov rcx, qword [0x180023a50]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov r9, qword [rsp + 0x120]
mov r8, qword [rsp + 0x220]
mov rcx, qword [rsp + 0x60]
xor edx, edx
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], esi
call fcn.180009b0c
mov rcx, qword [rsp + 0x60]
or edi, eax
mov rax, qword [rcx]
mov dword [rsp + 0xe8], esi
mov dword [rsp + 0xec], esi
mov rdx, qword [rsp + 0xe8]
xor r9d, r9d
xor r8d, r8d
call qword [rax + 0x28]
mov r8, qword [rsp + 0x48]
mov rcx, qword [0x180023a50]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, qword [rsp + 0x60]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov ecx, 1
jmp 0x18000a134
cmp eax, 0x45f5245b
jne 0x18000a138
mov esi, ecx
jmp 0x18000a140
cmp eax, 0x875ad1c4
cmove esi, ecx
cmp dword [rsp + 0x98], ecx
jbe 0x18000a21a
mov rax, qword [rsp + 0x108]
mov rcx, rax
mov qword [rsp + 0x50], rax
call qword [sym.imp.KERNEL32.dll_lstrlenA]
mov rcx, qword [rsp + 0x108]
mov edx, 1
lea r8, [rsp + 0x50]
xor r9d, r9d
add edx, eax
call fcn.180009624
mov rcx, qword [rsp + 0x100]
call qword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [rsp + 0x40]
cmp eax, ecx
ja 0x18000a1c8
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x100]
lea rax, [rsp + 0x80]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x138]
mov edx, ecx
mov rcx, rbp
mov qword [rsp + 0x20], rax
call fcn.1800092e4
jmp 0x18000a1cd
mov eax, 0x57
test eax, eax
jne 0x18000a1f9
mov rcx, qword [0x180023a50]
mov r8, rbp
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [rsp + 0x80]
mov rbp, qword [rsp + 0x138]
mov dword [rsp + 0x40], eax
or edi, 8
mov rax, qword [rsp + 0x50]
cmp rax, qword [rsp + 0x108]
je 0x18000a21a
mov rcx, qword [0x180023a50]
mov r8, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rax, qword [rbx]
mov r8d, dword [rsp + 0x40]
xor r9d, r9d
mov rdx, rbp
mov rcx, rbx
call qword [rax + 0x20]
and dword [rsp + 0xc8], 0
and dword [rsp + 0xcc], 0
mov rax, qword [rbx]
mov rdx, qword [rsp + 0xc8]
xor r9d, r9d
xor r8d, r8d
mov rcx, rbx
call qword [rax + 0x28]
mov rcx, qword [0x180023a50]
mov r8, rbp
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x180009b50
and dword [rsp + 0xb8], 0
xor eax, eax
xor r9d, r9d
and dword [rsp + 0x68], eax
and dword [rsp + 0x6c], eax
mov rdx, qword [rsp + 0x68]
mov dword [rsp + 0xbc], eax
mov rax, qword [rbx]
xor r8d, r8d
mov rcx, rbx
call qword [rax + 0x28]
mov r11, qword [rbx]
mov rdx, qword [rsp + 0xb8]
mov rcx, rbx
call qword [r11 + 0x30]
mov rsi, qword [rsp + 0x238]
mov r11, qword [rbx]
mov r8d, dword [rsi + 0x44]
mov rdx, qword [rsi]
xor r9d, r9d
mov rcx, rbx
call qword [r11 + 0x20]
mov r8, qword [rsp + 0x220]
lea r9, [rsi + 0x4c]
xor esi, esi
xor edx, edx
mov rcx, rbx
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], esi
call fcn.180009b0c
mov r10, qword [rbx]
or eax, 1
mov dword [rsp + 0x220], esi
mov dword [rsp + 0x224], esi
mov rdx, qword [rsp + 0x220]
xor r9d, r9d
xor r8d, r8d
mov rcx, rbx
or edi, eax
call qword [r10 + 0x28]
mov eax, edi
mov rbx, qword [rsp + 0x210]
add rsp, 0x1f0
pop rdi
pop rsi
pop rbp
ret