Function at 0x140011040
Capabilities:
Create thread

Disassembly:
mov r11, rsp
push rbp
lea rbp, [r11 - 0x128]
sub rsp, 0x220
mov rax, qword [0x1400b1008]
xor rax, rsp
mov qword [rbp + 0xf0], rax
mov qword [r11 + 8], rbx
mov rbx, r8
mov qword [r11 + 0x10], rsi
mov r8d, 0x170
mov qword [r11 + 0x18], rdi
mov esi, edx
mov qword [r11 + 0x20], r12
xor edx, edx
mov qword [r11 - 0x10], r14
mov rdi, r9
mov r14d, ecx
mov qword [r11 - 0x18], r15
lea rcx, [rbp - 0x80]
movaps xmmword [r11 - 0x28], xmm6
call fcn.140068930
xor r12d, r12d
mov dword [rbp - 0x60], 1
mov r15, 0xffffffffffffffff
mov dword [rbp - 0x50], r12d
mov qword [rbp - 8], r15
mov qword [rbp], r15
mov qword [rbp - 0x28], rbx
mov qword [rbp - 0x20], rdi
mov qword [rbp + 0xd8], r12
mov qword [rbp + 0xe0], r12
mov qword [rbp + 0xe8], r12
cmp dword [rbp - 0x40], r12d
jne 0x140011168
cmp dword [rbp + 8], 1
je 0x140011119
lea rcx, [rbp - 0x80]
call fcn.14000f100
test al, al
jne 0x140011119
mov rax, qword [rbp - 0x78]
neg rax
sbb edx, edx
add edx, 3
cmp dword [rbp - 0x40], r12d
jne 0x140011168
mov rax, qword [rbp - 0x80]
mov dword [rbp - 0x40], edx
test rax, rax
je 0x140011145
lea rcx, [rbp - 0x80]
call rax
jmp 0x140011141
lea rcx, [rbp - 0x80]
call fcn.14000f000
test al, al
jne 0x14001113a
cmp dword [rbp - 0x40], r12d
jne 0x140011168
mov rax, qword [rbp - 0x78]
neg rax
sbb edx, edx
add edx, 3
jmp 0x140011105
mov dword [rbp + 8], 2
mov rax, qword [rbp - 0x80]
cmp dword [rbp - 0x40], r12d
jne 0x140011168
cmp dword [rbp + 8], 2
je 0x140011195
mov dword [rbp - 0x40], 8
test rax, rax
je 0x140011168
mov edx, 8
lea rcx, [rbp - 0x80]
call rax
lea rax, [rbp - 0x60]
lea rbx, [rbp - 0x80]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rbx
movaps xmm6, xmmword [rsp + 0x40]
cmp esi, 8
jne 0x1400111bb
mov dword [0x1400d5f24], r14d
call fcn.140013370
jmp 0x1400118d4
mov rax, qword [rbp + 0xd0]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x48], rax
movaps xmm6, xmmword [rsp + 0x40]
movaps xmmword [rsp + 0x40], xmm6
mov rbx, qword [rsp + 0x48]
jmp 0x14001117f
cmp esi, 9
jne 0x1400111cc
mov dword [0x1400d5f24], r12d
jmp 0x1400118d4
cmp esi, 0x66
jne 0x14001123d
cmp byte [0x1400d67e9], r12b
jne 0x1400118d4
mov qword [rsp + 0x28], r12
lea r8, [0x140015800]
xor r9d, r9d
mov dword [rsp + 0x20], r12d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
je 0x140011222
mov rcx, rax
mov dword [0x1400d67f4], r12d
mov byte [0x1400d67e9], 1
call qword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.140015d10
jmp 0x1400118d4
mov dword [0x1400d67f4], 1
mov byte [0x1400d67e9], r12b
call fcn.140015d10
jmp 0x1400118d4
cmp esi, 0x68
jne 0x140011397
lea edx, [rsi - 0x67]
movdqa xmmword [rsp + 0x40], xmm6
lea rcx, [rsp + 0x40]
call fcn.14000f2f0
test rax, rax
jne 0x14001127f
cmp dword [rbx + 0x40], r12d
jne 0x14001127b
mov rax, qword [rbx]
mov dword [rbx + 0x40], 9
test rax, rax
je 0x14001127b
lea edx, [rsi - 0x5f]
mov rcx, rbx
call rax
lea rax, [rbx + 0x20]
cmp dword [rbx + 0x40], r12d
jne 0x1400112ad
cmp dword [rax], 7
jne 0x140011294
mov rsi, qword [rbx + 0x58]
add rsi, qword [rax + 8]
jmp 0x1400112b0
mov dword [rbx + 0x40], 5
mov rax, qword [rbx]
test rax, rax
je 0x1400112ad
mov edx, 5
mov rcx, rbx
call rax
mov rsi, r12
mov edx, 1
movdqa xmmword [rsp + 0x40], xmm6
lea rcx, [rsp + 0x40]
call fcn.14000f2f0
test rax, rax
jne 0x1400112ed
cmp dword [rbx + 0x40], r12d
jne 0x1400112e9
mov rax, qword [rbx]
mov dword [rbx + 0x40], 9
test rax, rax
je 0x1400112e9
mov edx, 9
mov rcx, rbx
call rax
lea rax, [rbx + 0x20]
cmp dword [rbx + 0x40], r12d
jne 0x140011316
cmp dword [rax], 7
jne 0x1400112fd
mov edi, dword [rax + 4]
jmp 0x140011319
mov dword [rbx + 0x40], 5
mov rax, qword [rbx]
test rax, rax
je 0x140011316
mov edx, 5
mov rcx, rbx
call rax
mov rdi, r12
cmp byte [rbp + 0x48], r12b
je 0x140011330
mov rcx, qword [rbp + 0x38]
call fcn.14006ac0c
mov qword [rbp + 0x38], r12
mov byte [rbp + 0x48], r12b
mov rcx, qword [rbp + 0xe8]
test rcx, rcx
je 0x140011350
nop dword [rax]
mov rbx, qword [rcx]
call fcn.14006ac0c
mov rcx, rbx
test rbx, rbx
jne 0x140011340
mov rcx, qword [rbp - 0x38]
mov qword [rbp + 0xe8], r12
test rcx, rcx
je 0x140011365
call fcn.14006ac0c
mov rax, qword [rbp - 0x70]
test rax, rax
je 0x140011374
lea rcx, [rbp - 0x80]
call rax
mov qword [rbp - 0x70], r12
cmp dword [rbp - 0x40], r12d
jne 0x1400118d4
mov r8, rdi
mov rdx, rsi
mov ecx, 0xd6b
call fcn.1400176d0
jmp 0x1400118d4
cmp esi, 0x69
jne 0x1400113b8
mov ecx, dword [0x1400d5f20]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x401
call qword [sym.imp.USER32.dll_PostThreadMessageA]
jmp 0x1400118d4
cmp esi, 0x6a
jne 0x140011666
lea edx, [rsi - 0x69]
movdqa xmmword [rsp + 0x40], xmm6
lea rcx, [rsp + 0x40]
call fcn.14000f2f0
test rax, rax
jne 0x1400113fa
cmp dword [rbx + 0x40], r12d
jne 0x1400113f6
mov rax, qword [rbx]
mov dword [rbx + 0x40], 9
test rax, rax
je 0x1400113f6
lea edx, [rsi - 0x61]
mov rcx, rbx
call rax
lea rax, [rbx + 0x20]
cmp dword [rbx + 0x40], r12d
jne 0x14001142e
mov ecx, dword [rax]
cmp ecx, 4
jne 0x14001147f
mov r14, qword [rax + 8]
mov eax, 0xffffffff
cmp r14, rax
jbe 0x140011431
mov dword [rbx + 0x40], 5
mov rax, qword [rbx]
test rax, rax
je 0x14001142e
mov edx, 5
mov rcx, rbx
call rax
mov r14d, r12d
mov edx, 2
movdqa xmmword [rsp + 0x40], xmm6
lea rcx, [rsp + 0x40]
call fcn.14000f2f0
test rax, rax
jne 0x14001146e
cmp dword [rbx + 0x40], r12d
jne 0x14001146a
mov rax, qword [rbx]
mov dword [rbx + 0x40], 9
test rax, rax
je 0x14001146a
mov edx, 9
mov rcx, rbx
call rax
lea rax, [rbx + 0x20]
cmp dword [rbx + 0x40], r12d
jne 0x1400114b0
cmp dword [rax], 2
jne 0x140011497
movzx esi, byte [rax + 8]
jmp 0x1400114b3
cmp ecx, 3
jne 0x140011415
mov rcx, qword [rax + 8]
mov eax, 0xffffffff
cmp rcx, rax
ja 0x140011415
mov r14d, ecx
jmp 0x140011431
mov dword [rbx + 0x40], 5
mov rax, qword [rbx]
test rax, rax
je 0x1400114b0
mov edx, 5
mov rcx, rbx
call rax
xor sil, sil
mov edx, 3
movdqa xmmword [rsp + 0x40], xmm6
lea rcx, [rsp + 0x40]
call fcn.14000f2f0
test rax, rax
jne 0x1400114f0
cmp dword [rbx + 0x40], r12d
jne 0x1400114ec
mov rax, qword [rbx]
mov dword [rbx + 0x40], 9
test rax, rax
je 0x1400114ec
mov edx, 9
mov rcx, rbx
call rax
lea rax, [rbx + 0x20]
cmp dword [rbx + 0x40], r12d
jne 0x14001151a
cmp dword [rax], 2
jne 0x140011501
movzx edi, byte [rax + 8]
jmp 0x14001151d
mov dword [rbx + 0x40], 5
mov rax, qword [rbx]
test rax, rax
je 0x14001151a
mov edx, 5
mov rcx, rbx
call rax
xor dil, dil
cmp byte [rbp + 0x48], r12b
je 0x140011534
mov rcx, qword [rbp + 0x38]
call fcn.14006ac0c
mov qword [rbp + 0x38], r12
mov byte [rbp + 0x48], r12b
mov rcx, qword [rbp + 0xe8]
test rcx, rcx
je 0x140011550
mov rbx, qword [rcx]
call fcn.14006ac0c
mov rcx, rbx
test rbx, rbx
jne 0x140011540
mov rcx, qword [rbp - 0x38]
mov qword [rbp + 0xe8], r12
test rcx, rcx
je 0x140011565
call fcn.14006ac0c
mov rax, qword [rbp - 0x70]
test rax, rax
je 0x140011574
lea rcx, [rbp - 0x80]
call rax
mov qword [rbp - 0x70], r12
cmp dword [rbp - 0x40], r12d
jne 0x1400118d4
lea r9, [rsp + 0x50]
mov ecx, r14d
lea r8, [rsp + 0x31]
lea rdx, [rsp + 0x30]
call fcn.14000f550
test sil, sil
jne 0x1400115d6
xor ecx, ecx
call fcn.14006ab90
lea rdx, [rsp + 0x50]
mov dword [rsp + 0x50], eax
lea rcx, [rsp + 0x58]
call fcn.140069b40
inc dword [rsp + 0x64]
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x58], r12
mov dword [rsp + 0x60], 8
call fcn.14006a548
mov r15d, eax
movzx edx, byte [rsp + 0x30]
mov r9d, r15d
mov r8b, 1
mov ecx, r14d
call fcn.14000f930
test dil, dil
je 0x1400118d4
xor ecx, ecx
call fcn.14006ab90
lea rdx, [rsp + 0x50]
mov dword [rsp + 0x50], eax
lea rcx, [rsp + 0x58]
call fcn.140069b40
inc dword [rsp + 0x64]
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x58], r12
mov dword [rsp + 0x60], 8
call fcn.14006a548
cmp byte [0x1400d69b0], r12b
movsxd rbx, eax
je 0x1400118d4
mov ecx, 0x103e
call fcn.140018250
mov edx, 0x103e
lea rcx, [0x1400d6920]
call fcn.14000cae0
mov rdx, rbx
lea rcx, [0x1400d6920]
call fcn.14000cc60
jmp 0x1400118cf
cmp esi, 0x6b
jne 0x1400117f4
lea edx, [rsi - 0x6a]
movdqa xmmword [rsp + 0x40], xmm6
lea rcx, [rsp + 0x40]
call fcn.14000f2f0
test rax, rax
jne 0x1400116a8
cmp dword [rbx + 0x40], r12d
jne 0x1400116a4
mov rax, qword [rbx]
mov dword [rbx + 0x40], 9
test rax, rax
je 0x1400116a4
lea edx, [rsi - 0x62]
mov rcx, rbx
call rax
lea rax, [rbx + 0x20]
cmp dword [rbx + 0x40], r12d
jne 0x1400116f1
mov ecx, dword [rax]
cmp ecx, 4
jne 0x1400116c5
mov rsi, qword [rax + 8]
mov eax, 0xffffffff
cmp rsi, rax
ja 0x1400116d8
jmp 0x1400116f4
cmp ecx, 3
jne 0x1400116d8
mov rsi, qword [rax + 8]
mov eax, 0xffffffff
cmp rsi, rax
jbe 0x1400116f4
mov dword [rbx + 0x40], 5
mov rax, qword [rbx]
test rax, rax
je 0x1400116f1
mov edx, 5
mov rcx, rbx
call rax
mov esi, r12d
mov edx, 2
movdqa xmmword [rsp + 0x40], xmm6
lea rcx, [rsp + 0x40]
call fcn.14000f2f0
test rax, rax
jne 0x140011731
cmp dword [rbx + 0x40], r12d
jne 0x14001172d
mov rax, qword [rbx]
mov dword [rbx + 0x40], 9
test rax, rax
je 0x14001172d
mov edx, 9
mov rcx, rbx
call rax
lea rax, [rbx + 0x20]
cmp dword [rbx + 0x40], r12d
jne 0x14001175b
cmp dword [rax], 2
jne 0x140011742
movzx edi, byte [rax + 8]
jmp 0x14001175e
mov dword [rbx + 0x40], 5
mov rax, qword [rbx]
test rax, rax
je 0x14001175b
mov edx, 5
mov rcx, rbx
call rax
xor dil, dil
cmp byte [rbp + 0x48], r12b
je 0x140011775
mov rcx, qword [rbp + 0x38]
call fcn.14006ac0c
mov qword [rbp + 0x38], r12
mov byte [rbp + 0x48], r12b
mov rcx, qword [rbp + 0xe8]
test rcx, rcx
je 0x140011791
mov rbx, qword [rcx]
call fcn.14006ac0c
mov rcx, rbx
test rbx, rbx
jne 0x140011781
mov rcx, qword [rbp - 0x38]
mov qword [rbp + 0xe8], r12
test rcx, rcx
je 0x1400117a6
call fcn.14006ac0c
mov rax, qword [rbp - 0x70]
test rax, rax
je 0x1400117b5
lea rcx, [rbp - 0x80]
call rax
mov qword [rbp - 0x70], r12
cmp dword [rbp - 0x40], r12d
jne 0x1400118d4
lea r9, [rsp + 0x50]
mov ecx, esi
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x31]
call fcn.14000f550
mov r9d, dword [rsp + 0x50]
movzx edx, dil
movzx r8d, byte [rsp + 0x30]
mov ecx, esi
call fcn.14000f930
jmp 0x1400118d4
cmp esi, 0x6c
jne 0x1400118d4
mov eax, 0xffffffff
mov byte [0x1400d67e8], r12b
add dword [0x1400d67ec], eax
je 0x14001183a
mov ecx, dword [0x1400d5f24]
lea edx, [rsi - 0x34]
xor r9d, r9d
mov byte [rsp + 0x20], r12b
xor r8d, r8d
call fcn.140011980
xor r9d, r9d
lea edx, [rsi - 0x63]
xor r8d, r8d
xor ecx, ecx
call fcn.140011040
cmp byte [0x1400d69b0], r12b
je 0x1400118d4
mov ecx, 0x756
call fcn.140018250
mov edx, 0x756
lea rcx, [0x1400d6920]
call fcn.14000cae0
mov rax, qword [0x1400d6970]
test rax, rax
je 0x140011892
cmp dword [rax + 0x18], r12d
jne 0x140011892
cmp dword [rax + 0x14], 0xa
je 0x14001187f
inc dword [rax + 0x10]
jmp 0x140011892
cmp byte [rax + 0x1c], r12b
je 0x14001188e
inc dword [rax + 0x10]
mov byte [rax + 0x1c], r12b
jmp 0x140011892
mov byte [rax + 0x1c], 1
mov rax, qword [0x1400d6950]
mov rcx, qword [0x1400d6948]
sub rax, rcx
cmp rax, 1
jae 0x1400118c5
mov edx, 1
lea rcx, [0x1400d6920]
call fcn.14000c910
test al, al
je 0x1400118cf
mov rcx, qword [0x1400d6948]
mov byte [rcx], 0xc2
inc qword [0x1400d6948]
call fcn.140018760
movaps xmm6, xmmword [rsp + 0x200]
mov r15, qword [rsp + 0x210]
mov r14, qword [rsp + 0x218]
mov rdi, qword [rsp + 0x240]
mov rsi, qword [rsp + 0x238]
cmp byte [rbp + 0x48], r12b
je 0x140011913
mov rcx, qword [rbp + 0x38]
call fcn.14006ac0c
mov qword [rbp + 0x38], r12
mov byte [rbp + 0x48], r12b
mov rcx, qword [rbp + 0xe8]
test rcx, rcx
je 0x140011930
nop
mov rbx, qword [rcx]
call fcn.14006ac0c
mov rcx, rbx
test rbx, rbx
jne 0x140011920
mov rcx, qword [rbp - 0x38]
mov rbx, qword [rsp + 0x230]
mov qword [rbp + 0xe8], r12
mov r12, qword [rsp + 0x248]
test rcx, rcx
je 0x140011955
call fcn.14006ac0c
mov rax, qword [rbp - 0x70]
test rax, rax
je 0x140011964
lea rcx, [rbp - 0x80]
call rax
mov rcx, qword [rbp + 0xf0]
xor rcx, rsp
call fcn.14001a6d0
add rsp, 0x220
pop rbp
ret