Function at 0x1800cc0c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x98
mov rsi, qword [rcx]
mov rbp, r8
mov r15, qword [r8 + 0x60]
xor r12d, r12d
movsxd r14, edx
mov rdx, rcx
mov qword [rsp + 0x50], rsi
mov rbx, qword [rsi + 0x10]
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x30], r15
movsxd r8, dword [rbx + 0x90]
mov dword [rsp + 0x44], r8d
cmp dword [rbx + 0x94], r8d
jg 0x1800cc147
xor r9d, r9d
mov dword [rsp + 0x20], r12d
xor r8d, r8d
lea edx, [r12 + 0xf]
mov rcx, rbx
call fcn.18004fc80
mov rdx, qword [rsp + 0xe0]
mov dword [rsp + 0x44], eax
jmp 0x1800cc16e
lea rcx, [r8 + r8*2]
lea eax, [r8 + 1]
mov dword [rbx + 0x90], eax
mov rax, qword [rbx + 0x88]
mov qword [rax + rcx*8], 0xf
mov qword [rax + rcx*8 + 8], r12
mov qword [rax + rcx*8 + 0x10], r12
mov qword [rsp + 0x48], r14
mov edi, 3
nop dword [rax + rax]
mov r8, rbp
mov rcx, rsi
call fcn.1800c1830
dec dword [rsi + 0x44]
mov r13d, dword [rbp + 4]
mov r9d, dword [rsi + 0x38]
mov eax, dword [rsi + 0x44]
inc r9d
mov r14, qword [rsp + 0xe0]
mov dword [rsp + 0x3c], eax
mov dword [rsi + 0x38], r9d
movzx eax, byte [rbp + 0x40]
mov dword [rbp + 0x34], r9d
imul rbp, rax, 0x68
mov dword [rsp + 0x38], r13d
add rbp, qword [r14 + 8]
mov rax, qword [rbp + 0x28]
movsx ecx, word [rax + 0x3a]
mov eax, 0x66666667
imul ecx
mov r8d, edx
sar r8d, 2
mov eax, r8d
shr eax, 0x1f
add r8d, eax
lea eax, [r8 + r8*4]
add eax, eax
sub ecx, eax
movsxd rdx, ecx
cmp rdx, 5
jb 0x1800cc1f7
sub rdx, 2
jmp 0x1800cc200
cmp rdx, 1
jb 0x1800cc200
dec rdx
cmp r8w, 0x3c
jg 0x1800cc241
add rdx, 8
movsx ecx, r8w
cmp r8w, 3
jl 0x1800cc21e
add ecx, 0xfffffffd
shl rdx, cl
jmp 0x1800cc228
mov eax, edi
sub eax, ecx
movzx ecx, al
shr rdx, cl
cmp rdx, 0x2710
jae 0x1800cc238
mov edx, 0x2710
jmp 0x1800cc246
cmp rdx, 0x989680
jbe 0x1800cc246
mov edx, 0x989680
movsxd rcx, dword [rbx + 0x90]
cmp dword [rbx + 0x94], ecx
jg 0x1800cc26c
mov r8d, edx
mov dword [rsp + 0x20], r12d
mov edx, 0x4d
mov rcx, rbx
call fcn.18004fc80
jmp 0x1800cc29a
lea eax, [rcx + 1]
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 0x4d
mov dword [rax + rcx*8 + 4], edx
mov dword [rax + rcx*8 + 8], r9d
mov dword [rax + rcx*8 + 0xc], r12d
mov qword [rax + rcx*8 + 0x10], r12
movsxd rdx, dword [rbx + 0x90]
mov dword [rsp + 0x40], edx
cmp dword [rbx + 0x94], edx
jg 0x1800cc2ca
xor r9d, r9d
mov dword [rsp + 0x20], r12d
mov r8d, r13d
mov rcx, rbx
lea edx, [r9 + 0x24]
call fcn.18004fc80
mov dword [rsp + 0x40], eax
jmp 0x1800cc2f8
lea rcx, [rdx + rdx*2]
lea eax, [rdx + 1]
mov dword [rbx + 0x90], eax
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 0x24
mov dword [rax + rcx*8 + 4], r13d
mov qword [rax + rcx*8 + 8], 0
mov qword [rax + rcx*8 + 0x10], r12
mov rdi, qword [r14 + 0x90]
movsxd rax, dword [r14 + 0x84]
imul r14, rax, 0x38
add r14, rdi
cmp rdi, r14
jae 0x1800cc3c1
mov r15d, dword [rsp + 0x3c]
lea rbx, [fcn.18006b2d0]
mov r13d, 3
lea r12, [0x18006b120]
nop
test byte [rdi + 0x12], 2
mov rdx, qword [rdi]
jne 0x1800cc3a6
movzx ecx, byte [rbp + 0x44]
test cl, 0x40
jne 0x1800cc3a6
mov eax, dword [rdx + 4]
and eax, 1
test cl, 8
je 0x1800cc35b
test eax, eax
je 0x1800cc3a6
mov eax, dword [rbp + 0x4c]
cmp dword [rdx + 0x34], eax
je 0x1800cc35f
jmp 0x1800cc3a6
test eax, eax
jne 0x1800cc3a6
mov eax, dword [rbp + 0x4c]
lea rcx, [rsp + 0x60]
mov dword [rsp + 0x88], eax
mov word [rsp + 0x84], r13w
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x70], r12
call fcn.180064420
movzx eax, word [rsp + 0x84]
test eax, eax
je 0x1800cc3a6
mov rdx, qword [rdi]
mov r9d, 0x10
mov r8d, r15d
mov rcx, rsi
call fcn.1800729c0
add rdi, 0x38
cmp rdi, r14
jb 0x1800cc330
mov rbx, qword [rsp + 0x58]
xor r12d, r12d
mov r15, qword [rsp + 0x30]
mov r13d, dword [rsp + 0x38]
test dword [r15 + 0x38], 0x100
je 0x1800cc4ed
movzx eax, byte [rsi + 0x1f]
test al, al
jne 0x1800cc3df
inc dword [rsi + 0x38]
mov edi, dword [rsi + 0x38]
jmp 0x1800cc3ee
dec al
movzx eax, al
mov byte [rsi + 0x1f], al
mov edi, dword [rsi + rax*4 + 0xe4]
movsxd rcx, dword [rbx + 0x90]
cmp dword [rbx + 0x94], ecx
jg 0x1800cc417
mov r9d, edi
mov dword [rsp + 0x20], r12d
mov r8d, r13d
mov edx, 0x87
mov rcx, rbx
call fcn.18004fc80
jmp 0x1800cc445
lea eax, [rcx + 1]
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 0x87
mov dword [rax + rcx*8 + 4], r13d
mov dword [rax + rcx*8 + 8], edi
mov dword [rax + rcx*8 + 0xc], r12d
mov qword [rax + rcx*8 + 0x10], r12
mov rbp, qword [rsp + 0xf0]
movsxd rdx, dword [rbx + 0x90]
mov r8d, dword [rbp + 0x34]
cmp dword [rbx + 0x94], edx
jg 0x1800cc478
xor r9d, r9d
mov dword [rsp + 0x20], edi
mov edx, 0xb4
mov rcx, rbx
call fcn.18004fc80
mov edx, eax
jmp 0x1800cc4a6
lea rcx, [rdx + rdx*2]
lea eax, [rdx + 1]
mov dword [rbx + 0x90], eax
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 0xb4
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 8], r12d
mov dword [rax + rcx*8 + 0xc], edi
mov qword [rax + rcx*8 + 0x10], r12
mov rax, qword [rbx]
cmp byte [rax + 0x67], 0
jne 0x1800cc4ca
movsxd rax, edx
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x88]
mov byte [rax + rcx*8 + 1], 0xfd
mov dword [rax + rcx*8 + 0x10], 1
test edi, edi
je 0x1800cc648
movzx eax, byte [rsi + 0x1f]
cmp al, 8
jae 0x1800cc648
mov dword [rsi + rax*4 + 0xe4], edi
inc byte [rsi + 0x1f]
jmp 0x1800cc648
movzx r14d, word [r15 + 0x18]
mov r13, qword [r15 + 0x20]
cmp r14d, 1
jne 0x1800cc51f
movzx eax, byte [rsi + 0x1f]
test al, al
jne 0x1800cc50d
inc dword [rsi + 0x38]
mov r15d, dword [rsi + 0x38]
jmp 0x1800cc547
dec al
movzx eax, al
mov byte [rsi + 0x1f], al
mov r15d, dword [rsi + rax*4 + 0xe4]
jmp 0x1800cc547
mov ecx, dword [rsi + 0x28]
mov r15d, dword [rsi + 0x2c]
cmp r14d, ecx
jg 0x1800cc53a
lea eax, [r15 + r14]
sub ecx, r14d
mov dword [rsi + 0x2c], eax
mov dword [rsi + 0x28], ecx
jmp 0x1800cc547
mov eax, dword [rsi + 0x38]
lea r15d, [rax + 1]
add eax, r14d
mov dword [rsi + 0x38], eax
mov rdi, r12
test r14d, r14d
je 0x1800cc58b
mov esi, dword [rsp + 0x38]
mov ebp, r15d
nop word [rax + rax]
mov rax, qword [r13 + 8]
mov r8d, esi
mov rdx, qword [r13 + 0x18]
mov rcx, rbx
mov dword [rsp + 0x20], ebp
movsx r9d, word [rax + rdi*2]
call fcn.18006ef20
inc ebp
inc rdi
cmp rdi, r14
jl 0x1800cc560
mov rsi, qword [rsp + 0x50]
mov rbp, qword [rsp + 0xf0]
movsxd rdx, dword [rbx + 0x90]
mov r8d, dword [rbp + 0x34]
cmp dword [rbx + 0x94], edx
jg 0x1800cc5c2
xor r9d, r9d
mov dword [rsp + 0x20], r15d
mov edx, 0xb4
mov rcx, rbx
call fcn.18004fc80
mov edx, eax
xor r12d, r12d
jmp 0x1800cc5f4
lea rcx, [rdx + rdx*2]
xor r12d, r12d
lea eax, [rdx + 1]
mov dword [rbx + 0x90], eax
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 0xb4
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 8], r12d
mov dword [rax + rcx*8 + 0xc], r15d
mov qword [rax + rcx*8 + 0x10], r12
mov rax, qword [rbx]
cmp byte [rax + 0x67], 0
jne 0x1800cc615
movsxd rax, edx
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x88]
mov byte [rax + rcx*8 + 1], 0xfd
mov dword [rax + rcx*8 + 0x10], r14d
cmp r14d, 1
jne 0x1800cc635
test r15d, r15d
je 0x1800cc643
movzx eax, byte [rsi + 0x1f]
cmp al, 8
jae 0x1800cc643
mov dword [rsi + rax*4 + 0xe4], r15d
inc byte [rsi + 0x1f]
jmp 0x1800cc643
cmp r14d, dword [rsi + 0x28]
jle 0x1800cc643
mov dword [rsi + 0x28], r14d
mov dword [rsi + 0x2c], r15d
mov r15, qword [rsp + 0x30]
mov rcx, qword [rbx + 0x18]
mov edx, dword [rsp + 0x3c]
not edx
mov eax, dword [rcx + 0x48]
add eax, dword [rcx + 0x44]
jns 0x1800cc667
mov r8d, edx
mov rdx, rbx
call fcn.1800506d0
jmp 0x1800cc677
mov rcx, qword [rcx + 0x50]
mov eax, dword [rbx + 0x90]
movsxd rdx, edx
mov dword [rcx + rdx*4], eax
movsxd rdi, dword [rsp + 0x40]
movsxd rcx, dword [rbx + 0x90]
mov r8d, dword [rbp + 4]
lea edx, [rdi + 1]
cmp dword [rbx + 0x94], ecx
jg 0x1800cc6a9
mov r9d, edx
mov dword [rsp + 0x20], r12d
mov edx, 0x27
mov rcx, rbx
call fcn.18004fc80
jmp 0x1800cc6d7
lea eax, [rcx + 1]
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 0x27
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], r12d
mov qword [rax + rcx*8 + 0x10], r12
mov rax, qword [rbx]
mov edx, dword [rbx + 0x90]
cmp byte [rax + 0x67], 0
je 0x1800cc6ef
lea rax, [0x1801880d8]
jmp 0x1800cc6fe
mov rax, qword [rbx + 0x88]
lea rcx, [rdi + rdi*2]
lea rax, [rax + rcx*8]
mov dword [rax + 8], edx
and dword [r15 + 0x38], 0xffbfffff
mov rax, qword [rsi]
test dword [rax + 0x60], 0x100000
jne 0x1800cc7e7
mov r14d, dword [rsp + 0xe8]
mov rdi, qword [rsp + 0x48]
inc r14d
mov rdx, qword [rsp + 0xe0]
inc rdi
mov dword [rsp + 0xe8], r14d
mov qword [rsp + 0x48], rdi
movzx r10d, byte [rdx + 0x40]
cmp r14d, r10d
jge 0x1800cc7dc
mov r9, qword [rdx + 8]
mov rsi, qword [rsp + 0xf8]
imul rax, rdi, 0x70
add rax, 0x3c0
add rax, rdx
nop dword [rax + rax]
movzx ecx, byte [rax - 0x20]
lea rbp, [rax - 0x60]
imul rdx, rcx, 0x68
mov qword [rsp + 0xf0], rbp
test byte [rdx + r9 + 0x44], 0x48
jne 0x1800cc7ab
mov r15, qword [rax]
test r15, r15
je 0x1800cc7ab
test qword [r15], rsi
jne 0x1800cc7ab
mov ecx, dword [r15 + 0x38]
and ecx, 0x400004
cmp ecx, 0x400000
je 0x1800cc7ba
inc r14d
inc rdi
add rax, 0x70
cmp rdi, r10
jl 0x1800cc770
mov rsi, qword [rsp + 0x50]
cmp r14d, r10d
mov rdx, qword [rsp + 0xe0]
mov dword [rsp + 0xe8], r14d
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x30], r15
mov edi, 3
jl 0x1800cc180
mov rax, qword [rbx]
mov edx, dword [rbx + 0x90]
cmp byte [rax + 0x67], 0
je 0x1800cc7fe
mov dword [0x1801880e0], edx
jmp 0x1800cc812
movsxd rax, dword [rsp + 0x44]
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8 + 8], edx
add rsp, 0x98
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret