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

Disassembly:
push rbx
sub rsp, 0x70
mov rax, qword [rcx + 0x20]
mov qword [rsp + 0x68], rsi
mov rsi, rcx
mov qword [rsp + 0x40], r15
mov r15d, edx
mov rcx, qword [rax + 0x18]
test rcx, rcx
je 0x1800237e9
call qword [0x180114ea8]
mov rcx, qword [rsi + 0x28]
cmp byte [rcx + 0x11], 0
je 0x180023801
inc dword [rcx + 0x14]
cmp byte [rcx + 0x12], 0
jne 0x180023801
call fcn.180017df0
mov rdx, qword [rsi]
test rdx, rdx
je 0x18002381b
mov rcx, qword [rdx + 0x18]
test rcx, rcx
je 0x18002381b
call qword [0x180114ea8]
mov rdx, qword [rsi]
mov ebx, dword [rsi + 0x30]
test ebx, ebx
je 0x18002382e
lea eax, [rbx - 5]
cmp eax, 1
ja 0x180023e74
mov rax, qword [rsi + 0x28]
mov r8, qword [rsi + 8]
mov qword [rsp + 0x88], rbp
mov qword [rsp + 0x60], rdi
mov rcx, qword [rax + 8]
mov rax, qword [r8 + 8]
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x50], r13
mov rdi, qword [rcx]
mov r9, qword [rax]
mov qword [rsp + 0x28], r9
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x20], rdi
mov dword [rsp + 0x98], 0
test rdx, rdx
je 0x18002388a
cmp byte [rcx + 0x24], 2
jne 0x18002388a
mov ebx, 5
jmp 0x180023936
xor ebx, ebx
cmp dword [rsi + 0x14], ebx
jne 0x180023918
lea edx, [rbx + 2]
mov rcx, r8
call fcn.18001a390
mov ebx, eax
test eax, eax
jne 0x180023936
mov rdi, qword [rsi + 8]
mov dword [rsi + 0x14], 1
mov rbp, qword [rdi + 8]
cmp byte [rdi + 0x11], al
je 0x1800238ce
inc dword [rdi + 0x14]
cmp byte [rdi + 0x12], al
jne 0x1800238ce
mov rcx, rdi
call fcn.180017df0
mov rax, qword [rbp + 0x18]
mov rdx, qword [rax + 0x50]
movzx eax, byte [rdx + 0x2a]
movzx r8d, byte [rdx + 0x29]
shl r8d, 8
or r8d, eax
movzx eax, byte [rdx + 0x2b]
shl r8d, 8
or r8d, eax
movzx eax, byte [rdx + 0x28]
shl eax, 0x18
or r8d, eax
mov dword [rsi + 0x10], r8d
cmp byte [rdi + 0x11], 0
je 0x180023913
sub dword [rdi + 0x14], 1
jne 0x180023913
mov rcx, rdi
call fcn.180017da0
mov rdi, qword [rsp + 0x20]
mov rcx, qword [rsi + 0x28]
cmp byte [rcx + 0x10], 0
jne 0x180023936
xor edx, edx
call fcn.18001a390
mov ebx, eax
mov dword [rsp + 0x98], 1
mov rax, qword [rsi + 0x28]
mov rcx, qword [rax + 8]
mov rax, qword [rsi + 8]
mov edx, dword [rcx + 0x30]
mov rax, qword [rax + 8]
mov dword [rsp + 0x80], edx
mov r8d, dword [rax + 0x30]
mov rax, qword [rax]
mov dword [rsp + 0x90], r8d
movzx r13d, byte [rax + 9]
test ebx, ebx
jne 0x180023979
cmp r13b, 5
jne 0x180023979
cmp edx, r8d
mov eax, 8
cmovne ebx, eax
mov r12d, dword [rcx + 0x3c]
xor r14d, r14d
test r15d, r15d
js 0x18002398a
cmp r14d, r15d
jge 0x1800239f9
mov ebp, dword [rsi + 0x18]
cmp ebp, r12d
ja 0x1800239f9
test ebx, ebx
jne 0x180023a3e
mov rax, qword [rsi + 0x28]
xor edx, edx
mov rcx, qword [rax + 8]
mov eax, dword [0x180114b28]
div dword [rcx + 0x30]
inc eax
cmp ebp, eax
je 0x1800239ec
lea r9d, [rbx + 2]
mov edx, ebp
lea r8, [rsp + 0x30]
mov rcx, rdi
call fcn.180013890
mov ebx, eax
test eax, eax
jne 0x1800239ec
mov rdi, qword [rsp + 0x30]
xor r9d, r9d
mov edx, ebp
mov rcx, rsi
mov r8, qword [rdi + 8]
call fcn.180023620
mov rcx, rdi
mov ebx, eax
call fcn.180013de0
inc dword [rsi + 0x18]
mov rdi, qword [rsp + 0x20]
inc r14d
jmp 0x180023980
test ebx, ebx
jne 0x180023a3e
mov eax, r12d
mov dword [rsi + 0x38], r12d
sub eax, dword [rsi + 0x18]
inc eax
mov dword [rsi + 0x34], eax
cmp dword [rsi + 0x18], r12d
ja 0x180023a47
cmp dword [rsi + 0x3c], ebx
jne 0x180023e24
mov rax, qword [rsi + 0x28]
mov rcx, qword [rax + 8]
mov rdx, qword [rcx]
mov rax, qword [rdx + 0x70]
mov qword [rsi + 0x40], rax
mov qword [rdx + 0x70], rsi
mov dword [rsi + 0x3c], 1
jmp 0x180023e24
cmp ebx, 0x65
jne 0x180023e24
test r12d, r12d
jne 0x180023aa4
mov rdi, qword [rsi + 8]
cmp byte [rdi + 0x11], r12b
je 0x180023a67
inc dword [rdi + 0x14]
cmp byte [rdi + 0x12], r12b
jne 0x180023a67
mov rcx, rdi
call fcn.180017df0
mov rax, qword [rdi + 8]
mov dword [rax + 0x3c], 0
mov rcx, qword [rdi + 8]
call fcn.18001a280
cmp byte [rdi + 0x11], 0
mov ebx, eax
je 0x180023a91
sub dword [rdi + 0x14], 1
jne 0x180023a91
mov rcx, rdi
call fcn.180017da0
mov r12d, 1
test ebx, ebx
je 0x180023aa4
cmp ebx, 0x65
jne 0x180023b2b
mov rdi, qword [rsi + 8]
mov ebp, dword [rsi + 0x10]
inc ebp
cmp byte [rdi + 0x11], 0
mov rbx, qword [rdi + 8]
je 0x180023ac8
inc dword [rdi + 0x14]
cmp byte [rdi + 0x12], 0
jne 0x180023ac8
mov rcx, rdi
call fcn.180017df0
mov rax, qword [rbx + 0x18]
mov rcx, qword [rax + 0x68]
mov r14, qword [rax + 0x50]
mov rdx, qword [rcx + 0x20]
mov eax, dword [rdx + 0xbc]
cmp dword [rdx + 0xb8], eax
jbe 0x180023aed
call fcn.1800144e0
jmp 0x180023af2
call fcn.1800141e0
mov ebx, eax
test eax, eax
jne 0x180023b17
mov eax, ebp
mov byte [r14 + 0x2b], bpl
shr eax, 0x18
mov byte [r14 + 0x28], al
mov eax, ebp
shr eax, 0x10
mov byte [r14 + 0x29], al
mov eax, ebp
shr eax, 8
mov byte [r14 + 0x2a], al
cmp byte [rdi + 0x11], 0
je 0x180023b2b
sub dword [rdi + 0x14], 1
jne 0x180023b2b
mov rcx, rdi
call fcn.180017da0
test ebx, ebx
jne 0x180023e24
mov rcx, qword [rsi]
test rcx, rcx
je 0x180023b40
call fcn.180045f40
cmp r13b, 5
jne 0x180023bd3
mov r14, qword [rsi + 8]
mov r15d, 0xffef
xor edx, edx
mov rcx, r14
mov rdi, qword [r14 + 8]
and word [rdi + 0x26], r15w
call fcn.18001a390
mov ebx, eax
test eax, eax
jne 0x180023bc6
mov rax, qword [rdi + 0x18]
mov rbp, qword [rax + 0x50]
cmp byte [rbp + 0x12], 2
jne 0x180023b81
cmp byte [rbp + 0x13], 2
je 0x180023bc6
mov edx, 2
mov rcx, r14
call fcn.18001a390
mov ebx, eax
test eax, eax
jne 0x180023bc6
mov rax, qword [rdi + 0x18]
mov rcx, qword [rax + 0x68]
mov rdx, qword [rcx + 0x20]
mov eax, dword [rdx + 0xbc]
cmp dword [rdx + 0xb8], eax
jbe 0x180023bb5
call fcn.1800144e0
jmp 0x180023bba
call fcn.1800141e0
mov ebx, eax
test eax, eax
jne 0x180023bc6
mov word [rbp + 0x12], 0x202
and word [rdi + 0x26], r15w
test ebx, ebx
jne 0x180023e24
movsxd rbp, dword [rsp + 0x80]
mov r14d, dword [rsp + 0x90]
cmp ebp, r14d
jge 0x180023c1d
mov eax, r14d
cdq
idiv ebp
mov ecx, eax
dec eax
add eax, r12d
cdq
idiv ecx
xor edx, edx
mov r8d, eax
mov rax, qword [rsi + 8]
mov rcx, qword [rax + 8]
lea edi, [r8 - 1]
mov eax, dword [0x180114b28]
div dword [rcx + 0x30]
inc eax
cmp r8d, eax
cmovne edi, r8d
jmp 0x180023c29
mov eax, ebp
cdq
idiv r14d
mov edi, eax
imul edi, r12d
cmp ebp, r14d
jge 0x180023df2
movsxd r12, r12d
mov r13, rbp
imul r12, rbp
mov rbp, qword [rsp + 0x28]
mov r15, qword [rbp + 0x48]
mov r14d, dword [rbp + 0x1c]
nop dword [rax]
cmp edi, r14d
ja 0x180023cc3
mov rax, qword [rsi + 8]
xor edx, edx
mov rcx, qword [rax + 8]
mov eax, dword [0x180114b28]
div dword [rcx + 0x30]
inc eax
cmp edi, eax
je 0x180023cbb
xor r9d, r9d
lea r8, [rsp + 0x30]
mov edx, edi
mov rcx, rbp
call fcn.180013890
mov ebx, eax
test eax, eax
jne 0x180023cbb
mov rbp, qword [rsp + 0x30]
mov rcx, qword [rbp + 0x20]
mov eax, dword [rcx + 0xbc]
cmp dword [rcx + 0xb8], eax
mov rcx, rbp
jbe 0x180023ca7
call fcn.1800144e0
jmp 0x180023cac
call fcn.1800141e0
mov rcx, rbp
mov ebx, eax
call fcn.180013de0
mov rbp, qword [rsp + 0x28]
inc edi
test ebx, ebx
je 0x180023c50
jmp 0x180023cd7
test ebx, ebx
jne 0x180023cd7
xor edx, edx
lea r8d, [rbx + 1]
mov rcx, rbp
call fcn.180014740
mov ebx, eax
mov eax, dword [rsp + 0x90]
add eax, dword [0x180114b28]
movsxd r14, eax
mov eax, dword [rsp + 0x80]
cmp r14, r12
cmovge r14, r12
add eax, dword [0x180114b28]
movsxd rdi, eax
test ebx, ebx
jne 0x180023e24
cmp rdi, r14
jge 0x180023d78
mov rcx, qword [rsp + 0x20]
lea r8, [rsp + 0x90]
mov rax, rdi
mov qword [rsp + 0x90], 0
cqo
xor r9d, r9d
idiv r13
lea edx, [rax + 1]
call fcn.180013890
mov rbp, qword [rsp + 0x90]
mov ebx, eax
test eax, eax
jne 0x180023d5f
mov rax, qword [r15]
mov r9, rdi
mov r8d, dword [rsp + 0x80]
mov rcx, r15
mov rdx, qword [rbp + 8]
call qword [rax + 0x18]
mov ebx, eax
test rbp, rbp
je 0x180023d6c
mov rcx, rbp
call fcn.180013de0
add rdi, r13
test ebx, ebx
je 0x180023d06
jmp 0x180023e24
test ebx, ebx
jne 0x180023e24
mov rax, qword [r15]
lea rdx, [rsp + 0x80]
mov rcx, r15
call qword [rax + 0x30]
mov ebx, eax
test eax, eax
jne 0x180023daf
cmp qword [rsp + 0x80], r12
jle 0x180023daf
mov rax, qword [r15]
mov rdx, r12
mov rcx, r15
call qword [rax + 0x20]
mov ebx, eax
test ebx, ebx
jne 0x180023e24
mov rbp, qword [rsp + 0x28]
mov rcx, qword [rbp + 0x48]
mov rax, qword [rcx]
test rax, rax
je 0x180023ddc
xor r8d, r8d
lea edx, [rbx + 0x15]
call qword [rax + 0x50]
mov ebx, eax
cmp eax, 0xc
jne 0x180023dd8
xor ebx, ebx
jmp 0x180023ddc
test eax, eax
jne 0x180023e09
cmp byte [rbp + 0xb], 0
jne 0x180023e09
mov rcx, qword [rbp + 0x48]
movzx edx, byte [rbp + 0xf]
mov rax, qword [rcx]
call qword [rax + 0x28]
jmp 0x180023e07
mov rax, qword [rsp + 0x28]
xor r8d, r8d
xor edx, edx
mov rcx, rax
mov dword [rax + 0x1c], edi
call fcn.180014740
mov ebx, eax
test ebx, ebx
jne 0x180023e24
mov rcx, qword [rsi + 8]
xor edx, edx
call fcn.18001b650
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 rdi, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x88]
je 0x180023e60
mov rcx, qword [rsi + 0x28]
xor edx, edx
call fcn.18001b480
mov rcx, qword [rsi + 0x28]
xor edx, edx
call fcn.18001b650
mov rdx, qword [rsi]
cmp ebx, 0xc0a
mov eax, 7
cmove ebx, eax
mov dword [rsi + 0x30], ebx
mov r15, qword [rsp + 0x40]
test rdx, rdx
je 0x180023e8d
mov rcx, qword [rdx + 0x18]
test rcx, rcx
je 0x180023e8d
call qword [0x180114eb8]
mov rcx, qword [rsi + 0x28]
cmp byte [rcx + 0x11], 0
je 0x180023ea2
sub dword [rcx + 0x14], 1
jne 0x180023ea2
call fcn.180017da0
mov rcx, qword [rsi + 0x20]
mov rsi, qword [rsp + 0x68]
mov rcx, qword [rcx + 0x18]
test rcx, rcx
je 0x180023eba
call qword [0x180114eb8]
mov eax, ebx
add rsp, 0x70
pop rbx
ret