Function at 0x180013360
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x60
mov ebx, r9d
mov rsi, rdx
mov r9, r8
mov r8, rcx
lea edi, [rbx + 0xc]
mov dword [rsp + 0x40], edi
cmp ebx, edi
jae case.0x1800133f1.6
mov r14, qword [rsp + 0xc8]
lea edi, [rbx - 0x84]
mov r12d, dword [rsp + 0xb8]
lea r10, [0x180000000]
mov r15d, dword [rsp + 0xb8]
mov ebp, dword [rsp + 0xb8]
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x48], edi
xor edx, edx
cmp edi, 0x1c
ja case.default.0x1800133f1
movzx eax, byte [r10 + rdi + 0x13784]
mov ecx, dword [r10 + rax*4 + 0x13754]
add rcx, r10
jmp rcx
mov qword [rsp + 0x28], rdx
lea r8, [0x180013200]
mov dword [rsp + 0x20], edx
mov r9, rsi
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov r8, qword [rsp + 0xa0]
mov qword [rsi], rax
jmp 0x180013723
mov qword [rsp + 0x28], rdx
lea r9, [rsp + 0x58]
xor edx, edx
mov dword [rsp + 0x20], 0xd
xor r8d, r8d
xor ecx, ecx
call fcn.180003940
mov r8, qword [rsp + 0xa0]
mov dword [rsp + 0x44], r12d
jmp 0x180013723
mov eax, 0x5e
cmp eax, 0x5e
je 0x18001347d
cmp eax, 0x1e1c
jne 0x180013482
mov eax, dword [rsp + 0x44]
mov rbx, qword [rsp + 0xa8]
add rsp, 0x60
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov byte [rsp + 0x44], 1
add eax, 0x1dbe
cmp eax, 0x3b7c
jbe 0x180013455
cmp qword [rsi], 0
jne case.0x1800133f1.11
mov ecx, 0x91
nop dword [rax]
mov eax, ecx
sub eax, 0x90
je case.0x1800133f1.6
cmp eax, 1
jne 0x1800134b3
mov byte [rsp + 0x44], 0
dec ecx
cmp ecx, 0x8f
ja 0x1800134a0
jmp case.0x1800133f1.11
mov rax, qword [rsp + 0xc0]
lea r8, [rsp + 0x50]
xor edx, edx
mov ecx, 0xa9
mov eax, dword [rax]
mov dword [rsp + 0x50], eax
call fcn.18000ed20
mov r8, qword [rsp + 0xa0]
mov qword [rsp + 0x58], rax
jmp 0x180013723
mov dword [rsp + 0x44], edx
jmp case.0x1800133f1.11
cmp dword [r8], 0
mov r12d, edx
jne case.0x1800133f1.11
mov eax, edx
jmp 0x180013465
mov eax, dword [r14]
mov dword [rsi + 0x14], eax
jmp case.0x1800133f1.11
mov ecx, 0x70
cmp ecx, 0x70
je 0x18001353b
test dl, dl
jne case.0x1800133f1.11
cmp ecx, 0x2440
je case.0x1800133f1.11
jmp 0x180013543
mov eax, 1
xchg dword [rsi + 0xc], eax
add ecx, 0xd90
cmp ecx, 0x28b0
jbe 0x180013520
jmp case.0x1800133f1.11
cmp dword [r8], 0
je case.0x1800133f1.11
mov r13d, 0x4f
nop word [rax + rax]
mov eax, r13d
sub eax, 0x4f
je 0x1800136e9
sub eax, 0x32
je 0x180013674
cmp eax, 0x32
jne 0x1800136fd
sub dword [r8], r15d
cmp dword [rsi + 0x12f4], 0x480
jb 0x1800136fd
mov edi, 0x23
cmp edi, 0x23
je 0x1800135d6
cmp edi, 0x555
je 0x1800135ce
cmp edi, 0xa87
jne 0x180013655
add dword [rsi + 0x12f4], 0xfffffb80
jmp 0x180013655
add r12d, ebp
jmp 0x180013655
mov r8, qword [rsp + 0x58]
xor r9d, r9d
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rdx
xor edx, edx
lea ecx, [rdx + 0x41]
call fcn.18002b780
mov ebp, eax
test eax, eax
jg 0x180013653
mov ebx, 0x1a
cmp ebx, 0x1a
je 0x180013623
cmp ebx, 0xc6
je 0x18001361d
cmp ebx, 0x172
je case.0x1800133f1.6
jmp 0x180013645
mov dword [rsp + 0x44], ebp
jmp 0x180013645
mov qword [rsp + 0x28], 0
lea r9, [rsp + 0x58]
xor r8d, r8d
mov dword [rsp + 0x20], 0xd
xor edx, edx
xor ecx, ecx
call fcn.180003940
add ebx, 0xac
cmp ebx, 0x21e
jb 0x180013602
xor edx, edx
add edi, 0x532
cmp edi, 0xf96
jbe 0x1800135a6
mov r8, qword [rsp + 0xa0]
jmp 0x1800136fd
mov r8d, edx
test r15d, r15d
jle 0x1800136d8
nop dword [rax]
mov edx, 0x7c
mov eax, edx
sub eax, 0x7b
je 0x1800136a8
cmp eax, 1
jne 0x1800136c7
mov ecx, dword [rsi + 0x12f4]
movzx eax, word [r14]
add ecx, r8d
mov word [rsi + rcx*2 + 0xf4], ax
jmp 0x1800136c3
cmp dword [rsi + 8], 2
jne 0x1800136c7
mov ecx, dword [rsi + 0x12f4]
movzx eax, word [r14]
add ecx, r8d
mov word [rsi + rcx*2 + 0x9f4], ax
add r14, 2
dec edx
cmp edx, 0x7a
ja 0x180013685
inc r8d
cmp r8d, r15d
jl 0x180013680
xor edx, edx
add dword [rsi + 0x12f4], r15d
mov r8, qword [rsp + 0xa0]
jmp 0x1800136fd
mov r15d, 0x480
sub r15d, dword [rsi + 0x12f4]
cmp dword [r8], r15d
cmovl r15d, dword [r8]
add r13d, 0x32
cmp r13d, 0xe5
jb 0x180013570
cmp dword [r8], 0
jne 0x180013560
mov ebx, dword [rsp + 0xb8]
mov edi, dword [rsp + 0x48]
mov r9, qword [rsp + 0xb0]
lea r10, [0x180000000]
mov eax, dword [rsp + 0x40]
inc ebx
inc edi
mov dword [rsp + 0xb8], ebx
mov dword [rsp + 0x48], edi
cmp ebx, eax
jae case.0x1800133f1.6
jmp 0x1800133d2