Function at 0x180023e90
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 0x180023eb9
call qword [0x180124ea8]
mov rcx, qword [rsi + 0x28]
cmp byte [rcx + 0x11], 0
je 0x180023ed1
inc dword [rcx + 0x14]
cmp byte [rcx + 0x12], 0
jne 0x180023ed1
call fcn.1800184c0
mov rdx, qword [rsi]
test rdx, rdx
je 0x180023eeb
mov rcx, qword [rdx + 0x18]
test rcx, rcx
je 0x180023eeb
call qword [0x180124ea8]
mov rdx, qword [rsi]
mov ebx, dword [rsi + 0x30]
test ebx, ebx
je 0x180023efe
lea eax, [rbx - 5]
cmp eax, 1
ja 0x180024544
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 0x180023f5a
cmp byte [rcx + 0x24], 2
jne 0x180023f5a
mov ebx, 5
jmp 0x180024006
xor ebx, ebx
cmp dword [rsi + 0x14], ebx
jne 0x180023fe8
lea edx, [rbx + 2]
mov rcx, r8
call fcn.18001aa60
mov ebx, eax
test eax, eax
jne 0x180024006
mov rdi, qword [rsi + 8]
mov dword [rsi + 0x14], 1
mov rbp, qword [rdi + 8]
cmp byte [rdi + 0x11], al
je 0x180023f9e
inc dword [rdi + 0x14]
cmp byte [rdi + 0x12], al
jne 0x180023f9e
mov rcx, rdi
call fcn.1800184c0
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 0x180023fe3
sub dword [rdi + 0x14], 1
jne 0x180023fe3
mov rcx, rdi
call fcn.180018470
mov rdi, qword [rsp + 0x20]
mov rcx, qword [rsi + 0x28]
cmp byte [rcx + 0x10], 0
jne 0x180024006
xor edx, edx
call fcn.18001aa60
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 0x180024049
cmp r13b, 5
jne 0x180024049
cmp edx, r8d
mov eax, 8
cmovne ebx, eax
mov r12d, dword [rcx + 0x3c]
xor r14d, r14d
test r15d, r15d
js 0x18002405a
cmp r14d, r15d
jge 0x1800240c9
mov ebp, dword [rsi + 0x18]
cmp ebp, r12d
ja 0x1800240c9
test ebx, ebx
jne 0x18002410e
mov rax, qword [rsi + 0x28]
xor edx, edx
mov rcx, qword [rax + 8]
mov eax, dword [0x180124b28]
div dword [rcx + 0x30]
inc eax
cmp ebp, eax
je 0x1800240bc
lea r9d, [rbx + 2]
mov edx, ebp
lea r8, [rsp + 0x30]
mov rcx, rdi
call fcn.180013f60
mov ebx, eax
test eax, eax
jne 0x1800240bc
mov rdi, qword [rsp + 0x30]
xor r9d, r9d
mov edx, ebp
mov rcx, rsi
mov r8, qword [rdi + 8]
call fcn.180023cf0
mov rcx, rdi
mov ebx, eax
call fcn.1800144b0
inc dword [rsi + 0x18]
mov rdi, qword [rsp + 0x20]
inc r14d
jmp 0x180024050
test ebx, ebx
jne 0x18002410e
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 0x180024117
cmp dword [rsi + 0x3c], ebx
jne 0x1800244f4
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 0x1800244f4
cmp ebx, 0x65
jne 0x1800244f4
test r12d, r12d
jne 0x180024174
mov rdi, qword [rsi + 8]
cmp byte [rdi + 0x11], r12b
je 0x180024137
inc dword [rdi + 0x14]
cmp byte [rdi + 0x12], r12b
jne 0x180024137
mov rcx, rdi
call fcn.1800184c0
mov rax, qword [rdi + 8]
mov dword [rax + 0x3c], 0
mov rcx, qword [rdi + 8]
call fcn.18001a950
cmp byte [rdi + 0x11], 0
mov ebx, eax
je 0x180024161
sub dword [rdi + 0x14], 1
jne 0x180024161
mov rcx, rdi
call fcn.180018470
mov r12d, 1
test ebx, ebx
je 0x180024174
cmp ebx, 0x65
jne 0x1800241fb
mov rdi, qword [rsi + 8]
mov ebp, dword [rsi + 0x10]
inc ebp
cmp byte [rdi + 0x11], 0
mov rbx, qword [rdi + 8]
je 0x180024198
inc dword [rdi + 0x14]
cmp byte [rdi + 0x12], 0
jne 0x180024198
mov rcx, rdi
call fcn.1800184c0
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 0x1800241bd
call fcn.180014bb0
jmp 0x1800241c2
call fcn.1800148b0
mov ebx, eax
test eax, eax
jne 0x1800241e7
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 0x1800241fb
sub dword [rdi + 0x14], 1
jne 0x1800241fb
mov rcx, rdi
call fcn.180018470
test ebx, ebx
jne 0x1800244f4
mov rcx, qword [rsi]
test rcx, rcx
je 0x180024210
call fcn.180046610
cmp r13b, 5
jne 0x1800242a3
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.18001aa60
mov ebx, eax
test eax, eax
jne 0x180024296
mov rax, qword [rdi + 0x18]
mov rbp, qword [rax + 0x50]
cmp byte [rbp + 0x12], 2
jne 0x180024251
cmp byte [rbp + 0x13], 2
je 0x180024296
mov edx, 2
mov rcx, r14
call fcn.18001aa60
mov ebx, eax
test eax, eax
jne 0x180024296
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 0x180024285
call fcn.180014bb0
jmp 0x18002428a
call fcn.1800148b0
mov ebx, eax
test eax, eax
jne 0x180024296
mov word [rbp + 0x12], 0x202
and word [rdi + 0x26], r15w
test ebx, ebx
jne 0x1800244f4
movsxd rbp, dword [rsp + 0x80]
mov r14d, dword [rsp + 0x90]
cmp ebp, r14d
jge 0x1800242ed
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 [0x180124b28]
div dword [rcx + 0x30]
inc eax
cmp r8d, eax
cmovne edi, r8d
jmp 0x1800242f9
mov eax, ebp
cdq
idiv r14d
mov edi, eax
imul edi, r12d
cmp ebp, r14d
jge 0x1800244c2
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 0x180024393
mov rax, qword [rsi + 8]
xor edx, edx
mov rcx, qword [rax + 8]
mov eax, dword [0x180124b28]
div dword [rcx + 0x30]
inc eax
cmp edi, eax
je 0x18002438b
xor r9d, r9d
lea r8, [rsp + 0x30]
mov edx, edi
mov rcx, rbp
call fcn.180013f60
mov ebx, eax
test eax, eax
jne 0x18002438b
mov rbp, qword [rsp + 0x30]
mov rcx, qword [rbp + 0x20]
mov eax, dword [rcx + 0xbc]
cmp dword [rcx + 0xb8], eax
mov rcx, rbp
jbe 0x180024377
call fcn.180014bb0
jmp 0x18002437c
call fcn.1800148b0
mov rcx, rbp
mov ebx, eax
call fcn.1800144b0
mov rbp, qword [rsp + 0x28]
inc edi
test ebx, ebx
je 0x180024320
jmp 0x1800243a7
test ebx, ebx
jne 0x1800243a7
xor edx, edx
lea r8d, [rbx + 1]
mov rcx, rbp
call fcn.180014e10
mov ebx, eax
mov eax, dword [rsp + 0x90]
add eax, dword [0x180124b28]
movsxd r14, eax
mov eax, dword [rsp + 0x80]
cmp r14, r12
cmovge r14, r12
add eax, dword [0x180124b28]
movsxd rdi, eax
test ebx, ebx
jne 0x1800244f4
cmp rdi, r14
jge 0x180024448
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.180013f60
mov rbp, qword [rsp + 0x90]
mov ebx, eax
test eax, eax
jne 0x18002442f
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 0x18002443c
mov rcx, rbp
call fcn.1800144b0
add rdi, r13
test ebx, ebx
je 0x1800243d6
jmp 0x1800244f4
test ebx, ebx
jne 0x1800244f4
mov rax, qword [r15]
lea rdx, [rsp + 0x80]
mov rcx, r15
call qword [rax + 0x30]
mov ebx, eax
test eax, eax
jne 0x18002447f
cmp qword [rsp + 0x80], r12
jle 0x18002447f
mov rax, qword [r15]
mov rdx, r12
mov rcx, r15
call qword [rax + 0x20]
mov ebx, eax
test ebx, ebx
jne 0x1800244f4
mov rbp, qword [rsp + 0x28]
mov rcx, qword [rbp + 0x48]
mov rax, qword [rcx]
test rax, rax
je 0x1800244ac
xor r8d, r8d
lea edx, [rbx + 0x15]
call qword [rax + 0x50]
mov ebx, eax
cmp eax, 0xc
jne 0x1800244a8
xor ebx, ebx
jmp 0x1800244ac
test eax, eax
jne 0x1800244d9
cmp byte [rbp + 0xb], 0
jne 0x1800244d9
mov rcx, qword [rbp + 0x48]
movzx edx, byte [rbp + 0xf]
mov rax, qword [rcx]
call qword [rax + 0x28]
jmp 0x1800244d7
mov rax, qword [rsp + 0x28]
xor r8d, r8d
xor edx, edx
mov rcx, rax
mov dword [rax + 0x1c], edi
call fcn.180014e10
mov ebx, eax
test ebx, ebx
jne 0x1800244f4
mov rcx, qword [rsi + 8]
xor edx, edx
call fcn.18001bd20
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 0x180024530
mov rcx, qword [rsi + 0x28]
xor edx, edx
call fcn.18001bb50
mov rcx, qword [rsi + 0x28]
xor edx, edx
call fcn.18001bd20
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 0x18002455d
mov rcx, qword [rdx + 0x18]
test rcx, rcx
je 0x18002455d
call qword [0x180124eb8]
mov rcx, qword [rsi + 0x28]
cmp byte [rcx + 0x11], 0
je 0x180024572
sub dword [rcx + 0x14], 1
jne 0x180024572
call fcn.180018470
mov rcx, qword [rsi + 0x20]
mov rsi, qword [rsp + 0x68]
mov rcx, qword [rcx + 0x18]
test rcx, rcx
je 0x18002458a
call qword [0x180124eb8]
mov eax, ebx
add rsp, 0x70
pop rbx
ret