Function at 0x180047120
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x80
mov ebp, dword [rsp + 0xe0]
xor r11d, r11d
mov rsi, qword [rsp + 0x68]
mov r14, rdx
mov r15, rcx
mov edi, r11d
mov ebx, r11d
lea r10d, [rbp - 0xa]
mov dword [rsp + 0x40], r10d
cmp ebp, r10d
jbe case.0x1800471ae.2
mov r12d, dword [rsp + 0x48]
lea r10d, [rbp - 0x27]
mov r13, qword [rsp + 0x58]
lea rdx, [0x180000000]
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x4c], r10d
mov qword [rsp + 0x78], rsi
cmp r10d, 0x1f
ja case.default.0x1800471ae
movzx eax, byte [rdx + r10 + 0x47590]
mov ecx, dword [rdx + rax*4 + 0x47564]
add rcx, rdx
jmp rcx
mov qword [rsp + 0x68], r11
jmp case.0x1800471ae.10
cmp qword [r8], 0
mov qword [rsp + 0x70], r11
jbe case.0x1800471ae.10
mov rsi, qword [rsp + 0xd8]
movzx r12d, byte [rsp + 0x44]
mov r13d, dword [rsp + 0x60]
nop dword [rax]
mov ebp, 0x29
cmp ebp, 0x29
je 0x1800472b3
cmp ebp, 0xd4
je 0x18004723a
cmp ebp, 0x17f
jne 0x1800472c4
mov r8, qword [r14 + 0x18]
mov rax, r14
cmp r8, 0x10
jb 0x180047212
mov rax, qword [r14]
mov rdx, qword [r14 + 0x10]
inc rdi
add rdx, rax
cmp rdi, rdx
jne 0x1800472c4
mov rdi, r14
cmp r8, 0x10
jb 0x1800472c4
mov rdi, qword [r14]
jmp 0x1800472c4
mov rcx, qword [rsi + 0x10]
movzx r9d, r13b
mov rdx, qword [rsi + 0x18]
and r9b, 0xf
cmp rcx, rdx
jae 0x18004726e
lea rax, [rcx + 1]
mov qword [rsi + 0x10], rax
mov rax, rsi
cmp rdx, 0x10
jb 0x180047263
mov rax, qword [rsi]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x18004727d
xor r8d, r8d
mov rcx, rsi
lea edx, [r8 + 1]
call fcn.180002960
mov rcx, rsi
call fcn.180025460
mov rdx, qword [r15 + 0x18]
mov rcx, r15
movzx r12d, byte [rax]
cmp rdx, 0x10
jb 0x180047299
mov rcx, qword [r15]
add rcx, qword [r15 + 0x10]
inc rbx
cmp rbx, rcx
jne 0x1800472c4
mov rbx, r15
cmp rdx, 0x10
jb 0x1800472c4
mov rbx, qword [r15]
jmp 0x1800472c4
movsx eax, byte [rdi]
movsx r13d, byte [rbx]
add r13d, eax
movzx eax, r12b
add r13d, eax
add ebp, 0xab
cmp ebp, 0x22a
jb 0x1800471e5
mov rax, qword [rsp + 0x70]
mov r8, qword [rsp + 0xd0]
inc rax
mov dword [rsp + 0x60], r13d
mov byte [rsp + 0x44], r12b
mov qword [rsp + 0x70], rax
cmp rax, qword [r8]
jb 0x1800471e0
mov rsi, qword [rsp + 0x78]
lea rdx, [0x180000000]
mov r12d, dword [rsp + 0x48]
xor r11d, r11d
mov r13, qword [rsp + 0x58]
mov r9, qword [rsp + 0xd8]
mov ebp, dword [rsp + 0xe0]
mov r10d, dword [rsp + 0x4c]
jmp case.0x1800471ae.10
mov rax, qword [r15]
lea rdx, [r14 + rax*2]
movzx eax, word [r14 + rax*2]
mov word [rsp + 0x50], ax
mov rax, qword [r8]
movzx ecx, word [r14 + rax*2]
mov word [rdx], cx
lea rdx, [0x180000000]
jmp case.0x1800471ae.10
mov eax, dword [r15]
cmp dword [r14], eax
jle 0x180047530
mov r8d, 0xb8
nop word [rax + rax]
mov eax, r8d
sub eax, 0xb7
je 0x1800473be
cmp eax, 1
jne 0x1800473e0
movsxd rcx, dword [r15]
mov r12d, r11d
mov r13, qword [r14 + 0x10]
mov eax, dword [r14]
sub eax, ecx
lea rdx, [rcx*4]
add rdx, r13
test eax, eax
jle 0x1800473e0
nop dword [rax]
mov eax, dword [rdx]
lea rdx, [rdx + 4]
mov dword [r13], eax
inc r12d
mov eax, dword [r14]
add r13, 4
sub eax, dword [r15]
cmp r12d, eax
jl 0x1800473a0
jmp 0x1800473e0
cmp r12d, dword [r14]
jge 0x1800473e0
nop dword [rax]
nop word [rax + rax]
mov dword [r13], r11d
inc r12d
add r13, 4
cmp r12d, dword [r14]
jl 0x1800473d0
dec r8d
cmp r8d, 0xb6
ja 0x180047370
mov eax, dword [r14]
lea rdx, [0x180000000]
sub eax, dword [r15]
mov r8, qword [rsp + 0xd0]
mov dword [r14], eax
mov qword [rsp + 0x58], r13
mov dword [rsp + 0x48], r12d
jmp case.0x1800471ae.10
cmp qword [r15 + 0x18], 0x10
mov rbx, r15
jb 0x180047420
mov rbx, qword [r15]
mov byte [rsp + 0x44], 0
jmp case.0x1800471ae.10
mov rdx, qword [r8]
mov rcx, r9
call fcn.18004ac20
cmp qword [r14 + 0x18], 0x10
mov rdi, r14
jb 0x180047442
mov rdi, qword [r14]
mov r9, qword [rsp + 0xd8]
lea rdx, [0x180000000]
mov r8, qword [rsp + 0xd0]
xor r11d, r11d
mov r10d, dword [rsp + 0x4c]
jmp case.0x1800471ae.10
mov rax, qword [r8]
movzx ecx, word [rsp + 0x50]
mov word [r14 + rax*2], cx
jmp case.0x1800471ae.10
mov rsi, qword [r14]
mov rbp, qword [r14 + 8]
cmp rsi, rbp
je 0x1800474ce
nop dword [rax]
nop dword [rax + rax]
mov qword [rsp + 0x38], r11
xor r9d, r9d
mov qword [rsp + 0x30], r11
mov r8, rsi
mov dword [rsp + 0x28], 0x23
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], r11
call fcn.180062aa0
cmp eax, dword [r15]
je case.0x1800471ae.2
add rsi, 0x10
mov r11d, 0
cmp rsi, rbp
jne 0x180047490
mov rcx, qword [rsp + 0x68]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov r9, qword [rsp + 0xd8]
lea rdx, [0x180000000]
mov r8, qword [rsp + 0xd0]
xor r11d, r11d
mov ebp, dword [rsp + 0xe0]
mov esi, r11d
mov r10d, dword [rsp + 0x4c]
mov qword [rsp + 0x78], r11
jmp case.0x1800471ae.10
cmp dword [r15], 0
jle case.0x1800471ae.2
mov eax, dword [rsp + 0x40]
dec ebp
dec r10d
mov dword [rsp + 0xe0], ebp
mov dword [rsp + 0x4c], r10d
cmp ebp, eax
ja 0x180047191
jmp case.0x1800471ae.2
xor edx, edx
mov qword [rsp + 0x20], r11
mov r9, r14
xor ecx, ecx
lea r8d, [rdx + 0x3b]
call fcn.180071540
mov rbx, qword [rsp + 0xc0]
mov rax, rsi
add rsp, 0x80
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret