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

Disassembly:
push rbx
sub rsp, 0x70
mov rax, qword [rcx + 0x20]
mov qword [rsp + 0x60], rdi
mov rdi, rcx
mov qword [rsp + 0x40], r15
mov r15d, edx
mov rcx, qword [rax + 0x18]
test rcx, rcx
je 0x18000c9c0
mov rax, qword [0x1800fdc50]
call qword [case.0x180005c07.0]
mov rcx, qword [rdi + 0x28]
cmp byte [rcx + 0x11], 0
je 0x18000c9d8
inc dword [rcx + 0x14]
cmp byte [rcx + 0x12], 0
jne 0x18000c9d8
call fcn.180055bf0
mov rdx, qword [rdi]
test rdx, rdx
je 0x18000c9f9
mov rcx, qword [rdx + 0x18]
test rcx, rcx
je 0x18000c9f9
mov rax, qword [0x1800fdc50]
call qword [case.0x180005c07.0]
mov rdx, qword [rdi]
mov ebx, dword [rdi + 0x30]
test ebx, ebx
je 0x18000ca0c
lea eax, [rbx - 5]
cmp eax, 1
ja 0x18000d05c
mov r9, qword [rdi + 0x28]
mov rcx, qword [rdi + 8]
mov r8, r9
mov qword [rsp + 0x88], rbp
mov qword [rsp + 0x68], rsi
mov r10, qword [r9 + 8]
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x48], r14
mov rax, qword [r10]
mov qword [rsp + 0x38], rax
mov rax, qword [rcx + 8]
mov dword [rsp + 0x98], 0
mov r13, qword [rax]
mov rax, rcx
test rdx, rdx
je 0x18000ca67
cmp byte [r10 + 0x24], 2
jne 0x18000ca67
mov ebx, 5
jmp 0x18000ca99
xor ebx, ebx
test r9, r9
je 0x18000ca74
cmp byte [r9 + 0x10], bl
jne 0x18000ca99
xor r8d, r8d
xor edx, edx
mov rcx, r9
call fcn.180012280
mov rcx, qword [rdi + 8]
mov ebx, eax
mov r8, qword [rdi + 0x28]
mov rax, rcx
mov dword [rsp + 0x98], 1
cmp dword [rdi + 0x14], 0
mov esi, 7
jne 0x18000cac8
test ebx, ebx
jne 0x18000caf0
mov rax, qword [r8 + 8]
xor r9d, r9d
xor r8d, r8d
mov edx, dword [rax + 0x34]
call fcn.180011b10
cmp eax, esi
jne 0x18000cac2
mov ebx, esi
jmp 0x18000caf0
mov rax, qword [rdi + 8]
jmp 0x18000cacc
test ebx, ebx
jne 0x18000caf0
cmp dword [rdi + 0x14], 0
jne 0x18000caf0
lea r8, [rdi + 0x10]
mov edx, 2
mov rcx, rax
call fcn.180012280
mov ebx, eax
test eax, eax
jne 0x18000caf0
mov dword [rdi + 0x14], 1
mov rax, qword [rdi + 0x28]
mov r14, qword [rax + 8]
mov rax, qword [rdi + 8]
mov ecx, dword [r14 + 0x34]
mov rax, qword [rax + 8]
mov dword [rsp + 0x80], ecx
mov r8d, dword [rax + 0x34]
mov rax, qword [rax]
mov dword [rsp + 0x90], r8d
movzx r12d, byte [rax + 9]
test ebx, ebx
jne 0x18000cb34
cmp r12b, 5
jne 0x18000cb34
cmp ecx, r8d
mov eax, 8
cmovne ebx, eax
mov r14d, dword [r14 + 0x40]
xor ebp, ebp
nop word [rax + rax]
test r15d, r15d
js 0x18000cb4e
cmp ebp, r15d
jge 0x18000cc03
mov esi, dword [rdi + 0x18]
cmp esi, r14d
ja 0x18000cc03
test ebx, ebx
jne 0x18000cc48
mov rax, qword [rdi + 0x28]
xor edx, edx
mov rcx, qword [rax + 8]
mov eax, dword [0x1800fdb90]
div dword [rcx + 0x34]
inc eax
cmp esi, eax
je 0x18000cbf9
mov rax, qword [rsp + 0x38]
lea r8, [rsp + 0x30]
mov rcx, rax
mov r9d, 2
mov edx, esi
mov rax, qword [rax + 0x110]
call qword [case.0x180005c07.0]
mov ebx, eax
test eax, eax
jne 0x18000cbf9
mov r8, qword [rsp + 0x30]
xor r9d, r9d
mov edx, esi
mov rcx, rdi
mov r8, qword [r8 + 8]
call fcn.18000c780
mov rdx, qword [rsp + 0x30]
mov ebx, eax
test rdx, rdx
je 0x18000cbf9
test byte [rdx + 0x34], 0x20
je 0x18000cbf1
mov rcx, qword [rdx + 0x28]
mov rax, qword [rcx + 0xa8]
dec dword [rcx + 0x98]
mov qword [rdx + 0x20], rax
mov qword [rcx + 0xa8], rdx
inc dword [rdi + 0x18]
inc ebp
jmp 0x18000cb40
mov rcx, rdx
call fcn.18004bfa0
inc dword [rdi + 0x18]
inc ebp
jmp 0x18000cb40
test ebx, ebx
jne 0x18000cc48
mov eax, r14d
mov dword [rdi + 0x38], r14d
sub eax, dword [rdi + 0x18]
inc eax
mov dword [rdi + 0x34], eax
cmp dword [rdi + 0x18], r14d
ja 0x18000cc51
cmp dword [rdi + 0x3c], ebx
jne 0x18000d00f
mov rax, qword [rdi + 0x28]
mov rcx, qword [rax + 8]
mov rdx, qword [rcx]
mov rax, qword [rdx + 0x70]
mov qword [rdi + 0x40], rax
mov qword [rdx + 0x70], rdi
mov dword [rdi + 0x3c], 1
jmp 0x18000d00f
cmp ebx, 0x65
jne 0x18000d00f
test r14d, r14d
jne 0x18000ccae
mov rsi, qword [rdi + 8]
cmp byte [rsi + 0x11], r14b
je 0x18000cc71
inc dword [rsi + 0x14]
cmp byte [rsi + 0x12], r14b
jne 0x18000cc71
mov rcx, rsi
call fcn.180055bf0
mov rax, qword [rsi + 8]
mov dword [rax + 0x40], 0
mov rcx, qword [rsi + 8]
call fcn.180012170
cmp byte [rsi + 0x11], 0
mov ebx, eax
je 0x18000cc9b
sub dword [rsi + 0x14], 1
jne 0x18000cc9b
mov rcx, rsi
call fcn.180055bc0
mov r14d, 1
test ebx, ebx
je 0x18000ccae
cmp ebx, 0x65
jne 0x18000d00f
mov r8d, dword [rdi + 0x10]
mov edx, 1
mov rcx, qword [rdi + 8]
inc r8d
call fcn.18001c370
mov ebx, eax
test eax, eax
jne 0x18000d00f
mov rcx, qword [rdi]
test rcx, rcx
je 0x18000ccda
call fcn.180034640
cmp r12b, 5
jne 0x18000ccf8
mov rcx, qword [rdi + 8]
mov edx, 2
call fcn.18001da90
mov ebx, eax
test eax, eax
jne 0x18000d00f
movsxd r10, dword [rsp + 0x80]
mov ecx, dword [rsp + 0x90]
cmp r10d, ecx
jge 0x18000cfd7
mov r15, qword [r13 + 0x48]
mov eax, ecx
mov ebp, dword [r13 + 0x20]
cdq
idiv r10d
movsxd r12, r14d
mov ecx, eax
dec eax
add eax, r14d
cdq
idiv ecx
mov rcx, qword [rdi + 8]
xor edx, edx
mov r9d, eax
mov eax, dword [0x1800fdb90]
mov r8, qword [rcx + 8]
lea esi, [r9 - 1]
div dword [r8 + 0x34]
inc eax
cmp r9d, eax
cmovne esi, r9d
imul r12, r10
cmp esi, ebp
ja 0x18000ce31
mov rax, qword [rdi + 8]
xor edx, edx
mov rcx, qword [rax + 8]
mov eax, dword [0x1800fdb90]
div dword [rcx + 0x34]
inc eax
cmp esi, eax
je 0x18000ce25
mov rax, qword [r13 + 0x110]
lea r8, [rsp + 0x30]
xor r9d, r9d
mov edx, esi
mov rcx, r13
call qword [case.0x180005c07.0]
mov ebx, eax
test eax, eax
jne 0x18000ce25
mov rdx, qword [rsp + 0x30]
test byte [rdx + 0x34], 4
mov rcx, qword [rdx + 0x28]
je 0x18000cdc9
mov eax, dword [rdx + 0x30]
cmp dword [rcx + 0x20], eax
jb 0x18000cdc9
cmp dword [rcx + 0x80], ebx
je 0x18000cdc5
mov rcx, rdx
call fcn.180041b10
jmp 0x18000cded
xor ebx, ebx
jmp 0x18000cdf4
mov ebx, dword [rcx + 0x30]
test ebx, ebx
jne 0x18000cdf4
mov eax, dword [rcx + 0xc8]
cmp dword [rcx + 0xb8], eax
mov rcx, rdx
jbe 0x18000cde8
call fcn.180043480
jmp 0x18000cded
call fcn.180043250
mov rdx, qword [rsp + 0x30]
mov ebx, eax
test rdx, rdx
je 0x18000ce25
test byte [rdx + 0x34], 0x20
je 0x18000ce1d
mov rcx, qword [rdx + 0x28]
mov rax, qword [rcx + 0xa8]
dec dword [rcx + 0x98]
mov qword [rdx + 0x20], rax
mov qword [rcx + 0xa8], rdx
jmp 0x18000ce25
mov rcx, rdx
call fcn.18004bfa0
inc esi
test ebx, ebx
je 0x18000cd53
jmp 0x18000ce47
test ebx, ebx
jne 0x18000ce47
xor edx, edx
mov r8d, 1
mov rcx, r13
call fcn.1800437f0
mov ebx, eax
mov edx, dword [0x1800fdb90]
mov r14, r12
mov eax, dword [rsp + 0x90]
movsxd r10, dword [rsp + 0x80]
add eax, edx
movsxd rcx, eax
cmp rcx, r12
cmovl r14, rcx
lea eax, [rdx + r10]
movsxd rsi, eax
test ebx, ebx
jne 0x18000d00f
mov rbp, r10
nop dword [rax]
cmp rsi, r14
jge 0x18000cf3e
lfence
mov rax, rsi
mov qword [rsp + 0x90], 0
cqo
lea r8, [rsp + 0x90]
idiv rbp
xor r9d, r9d
lea edx, [rax + 1]
mov rax, qword [rsp + 0x38]
mov rcx, rax
mov rax, qword [rax + 0x110]
call qword [case.0x180005c07.0]
mov ebx, eax
test eax, eax
jne 0x18000cef5
lfence
mov rax, qword [rsp + 0x90]
mov r9, rsi
mov r8d, dword [rsp + 0x80]
mov rcx, r15
mov rdx, qword [rax + 8]
mov rax, qword [r15]
mov rax, qword [rax + 0x18]
call qword [case.0x180005c07.0]
mov ebx, eax
mov rdx, qword [rsp + 0x90]
test rdx, rdx
je 0x18000cf2e
test byte [rdx + 0x34], 0x20
je 0x18000cf26
mov rcx, qword [rdx + 0x28]
mov rax, qword [rcx + 0xa8]
dec dword [rcx + 0x98]
mov qword [rdx + 0x20], rax
mov qword [rcx + 0xa8], rdx
jmp 0x18000cf2e
mov rcx, rdx
call fcn.18004bfa0
add rsi, rbp
test ebx, ebx
je 0x18000ce80
jmp 0x18000d00f
mov rax, qword [r15]
lea rdx, [rsp + 0x80]
mov rcx, r15
mov rax, qword [rax + 0x30]
call qword [case.0x180005c07.0]
mov ebx, eax
test eax, eax
jne 0x18000cf7e
cmp qword [rsp + 0x80], r12
jle 0x18000cf7e
lfence
mov rax, qword [r15]
mov rdx, r12
mov rcx, r15
mov rax, qword [rax + 0x20]
call qword [case.0x180005c07.0]
mov ebx, eax
test ebx, ebx
jne 0x18000d00f
mov rcx, qword [r13 + 0x48]
mov rax, qword [rcx]
test rax, rax
je 0x18000cfb0
mov rax, qword [rax + 0x50]
xor r8d, r8d
mov edx, 0x15
call qword [case.0x180005c07.0]
xor ebx, ebx
cmp eax, 0xc
cmovne ebx, eax
test ebx, ebx
jne 0x18000d00f
cmp byte [r13 + 0xb], 0
jne 0x18000cff4
movzx edx, byte [r13 + 0xe]
mov rcx, qword [r13 + 0x48]
test edx, edx
je 0x18000cfd3
mov rax, qword [rcx]
mov rax, qword [rax + 0x28]
call qword [case.0x180005c07.0]
jmp 0x18000cff2
xor ebx, ebx
jmp 0x18000cff4
mov eax, r10d
xor r8d, r8d
cdq
idiv ecx
xor edx, edx
mov rcx, r13
imul eax, r14d
mov dword [r13 + 0x20], eax
call fcn.1800437f0
mov ebx, eax
test ebx, ebx
jne 0x18000d00f
mov rcx, qword [rdi + 8]
xor edx, edx
call fcn.180013680
mov ebx, eax
mov eax, 0x65
test ebx, ebx
cmove ebx, eax
cmp dword [rsp + 0x98], 0
mov r14, qword [rsp + 0x48]
mov r13, qword [rsp + 0x50]
mov r12, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x88]
je 0x18000d04b
mov rcx, qword [rdi + 0x28]
xor edx, edx
call fcn.180013400
mov rcx, qword [rdi + 0x28]
xor edx, edx
call fcn.180013680
cmp ebx, 0xc0a
mov eax, 7
cmove ebx, eax
mov dword [rdi + 0x30], ebx
mov rax, qword [rdi]
mov r15, qword [rsp + 0x40]
test rax, rax
je 0x18000d07f
mov rcx, qword [rax + 0x18]
test rcx, rcx
je 0x18000d07f
mov rax, qword [0x1800fdc60]
call qword [case.0x180005c07.0]
mov rcx, qword [rdi + 0x28]
cmp byte [rcx + 0x11], 0
je 0x18000d094
sub dword [rcx + 0x14], 1
jne 0x18000d094
call fcn.180055bc0
mov rax, qword [rdi + 0x20]
mov rdi, qword [rsp + 0x60]
mov rcx, qword [rax + 0x18]
test rcx, rcx
je 0x18000d0b3
mov rax, qword [0x1800fdc60]
call qword [case.0x180005c07.0]
mov eax, ebx
add rsp, 0x70
pop rbx
ret