Function at 0x180023630
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 0x180023659
call qword [0x180101ea8]
mov rcx, qword [rsi + 0x28]
cmp byte [rcx + 0x11], 0
je 0x180023671
inc dword [rcx + 0x14]
cmp byte [rcx + 0x12], 0
jne 0x180023671
call fcn.180017c60
mov rdx, qword [rsi]
test rdx, rdx
je 0x18002368b
mov rcx, qword [rdx + 0x18]
test rcx, rcx
je 0x18002368b
call qword [0x180101ea8]
mov rdx, qword [rsi]
mov ebx, dword [rsi + 0x30]
test ebx, ebx
je 0x18002369e
lea eax, [rbx - 5]
cmp eax, 1
ja 0x180023ce4
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 0x1800236fa
cmp byte [rcx + 0x24], 2
jne 0x1800236fa
mov ebx, 5
jmp 0x1800237a6
xor ebx, ebx
cmp dword [rsi + 0x14], ebx
jne 0x180023788
lea edx, [rbx + 2]
mov rcx, r8
call fcn.18001a200
mov ebx, eax
test eax, eax
jne 0x1800237a6
mov rdi, qword [rsi + 8]
mov dword [rsi + 0x14], 1
mov rbp, qword [rdi + 8]
cmp byte [rdi + 0x11], al
je 0x18002373e
inc dword [rdi + 0x14]
cmp byte [rdi + 0x12], al
jne 0x18002373e
mov rcx, rdi
call fcn.180017c60
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 0x180023783
sub dword [rdi + 0x14], 1
jne 0x180023783
mov rcx, rdi
call fcn.180017c10
mov rdi, qword [rsp + 0x20]
mov rcx, qword [rsi + 0x28]
cmp byte [rcx + 0x10], 0
jne 0x1800237a6
xor edx, edx
call fcn.18001a200
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 0x1800237e9
cmp r13b, 5
jne 0x1800237e9
cmp edx, r8d
mov eax, 8
cmovne ebx, eax
mov r12d, dword [rcx + 0x3c]
xor r14d, r14d
test r15d, r15d
js 0x1800237fa
cmp r14d, r15d
jge 0x180023869
mov ebp, dword [rsi + 0x18]
cmp ebp, r12d
ja 0x180023869
test ebx, ebx
jne 0x1800238ae
mov rax, qword [rsi + 0x28]
xor edx, edx
mov rcx, qword [rax + 8]
mov eax, dword [0x180101b28]
div dword [rcx + 0x30]
inc eax
cmp ebp, eax
je 0x18002385c
lea r9d, [rbx + 2]
mov edx, ebp
lea r8, [rsp + 0x30]
mov rcx, rdi
call fcn.180013700
mov ebx, eax
test eax, eax
jne 0x18002385c
mov rdi, qword [rsp + 0x30]
xor r9d, r9d
mov edx, ebp
mov rcx, rsi
mov r8, qword [rdi + 8]
call fcn.180023490
mov rcx, rdi
mov ebx, eax
call fcn.180013c50
inc dword [rsi + 0x18]
mov rdi, qword [rsp + 0x20]
inc r14d
jmp 0x1800237f0
test ebx, ebx
jne 0x1800238ae
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 0x1800238b7
cmp dword [rsi + 0x3c], ebx
jne 0x180023c94
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 0x180023c94
cmp ebx, 0x65
jne 0x180023c94
test r12d, r12d
jne 0x180023914
mov rdi, qword [rsi + 8]
cmp byte [rdi + 0x11], r12b
je 0x1800238d7
inc dword [rdi + 0x14]
cmp byte [rdi + 0x12], r12b
jne 0x1800238d7
mov rcx, rdi
call fcn.180017c60
mov rax, qword [rdi + 8]
mov dword [rax + 0x3c], 0
mov rcx, qword [rdi + 8]
call fcn.18001a0f0
cmp byte [rdi + 0x11], 0
mov ebx, eax
je 0x180023901
sub dword [rdi + 0x14], 1
jne 0x180023901
mov rcx, rdi
call fcn.180017c10
mov r12d, 1
test ebx, ebx
je 0x180023914
cmp ebx, 0x65
jne 0x18002399b
mov rdi, qword [rsi + 8]
mov ebp, dword [rsi + 0x10]
inc ebp
cmp byte [rdi + 0x11], 0
mov rbx, qword [rdi + 8]
je 0x180023938
inc dword [rdi + 0x14]
cmp byte [rdi + 0x12], 0
jne 0x180023938
mov rcx, rdi
call fcn.180017c60
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 0x18002395d
call fcn.180014350
jmp 0x180023962
call fcn.180014050
mov ebx, eax
test eax, eax
jne 0x180023987
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 0x18002399b
sub dword [rdi + 0x14], 1
jne 0x18002399b
mov rcx, rdi
call fcn.180017c10
test ebx, ebx
jne 0x180023c94
mov rcx, qword [rsi]
test rcx, rcx
je 0x1800239b0
call fcn.180045db0
cmp r13b, 5
jne 0x180023a43
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.18001a200
mov ebx, eax
test eax, eax
jne 0x180023a36
mov rax, qword [rdi + 0x18]
mov rbp, qword [rax + 0x50]
cmp byte [rbp + 0x12], 2
jne 0x1800239f1
cmp byte [rbp + 0x13], 2
je 0x180023a36
mov edx, 2
mov rcx, r14
call fcn.18001a200
mov ebx, eax
test eax, eax
jne 0x180023a36
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 0x180023a25
call fcn.180014350
jmp 0x180023a2a
call fcn.180014050
mov ebx, eax
test eax, eax
jne 0x180023a36
mov word [rbp + 0x12], 0x202
and word [rdi + 0x26], r15w
test ebx, ebx
jne 0x180023c94
movsxd rbp, dword [rsp + 0x80]
mov r14d, dword [rsp + 0x90]
cmp ebp, r14d
jge 0x180023a8d
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 [0x180101b28]
div dword [rcx + 0x30]
inc eax
cmp r8d, eax
cmovne edi, r8d
jmp 0x180023a99
mov eax, ebp
cdq
idiv r14d
mov edi, eax
imul edi, r12d
cmp ebp, r14d
jge 0x180023c62
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 0x180023b33
mov rax, qword [rsi + 8]
xor edx, edx
mov rcx, qword [rax + 8]
mov eax, dword [0x180101b28]
div dword [rcx + 0x30]
inc eax
cmp edi, eax
je 0x180023b2b
xor r9d, r9d
lea r8, [rsp + 0x30]
mov edx, edi
mov rcx, rbp
call fcn.180013700
mov ebx, eax
test eax, eax
jne 0x180023b2b
mov rbp, qword [rsp + 0x30]
mov rcx, qword [rbp + 0x20]
mov eax, dword [rcx + 0xbc]
cmp dword [rcx + 0xb8], eax
mov rcx, rbp
jbe 0x180023b17
call fcn.180014350
jmp 0x180023b1c
call fcn.180014050
mov rcx, rbp
mov ebx, eax
call fcn.180013c50
mov rbp, qword [rsp + 0x28]
inc edi
test ebx, ebx
je 0x180023ac0
jmp 0x180023b47
test ebx, ebx
jne 0x180023b47
xor edx, edx
lea r8d, [rbx + 1]
mov rcx, rbp
call fcn.1800145b0
mov ebx, eax
mov eax, dword [rsp + 0x90]
add eax, dword [0x180101b28]
movsxd r14, eax
mov eax, dword [rsp + 0x80]
cmp r14, r12
cmovge r14, r12
add eax, dword [0x180101b28]
movsxd rdi, eax
test ebx, ebx
jne 0x180023c94
cmp rdi, r14
jge 0x180023be8
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.180013700
mov rbp, qword [rsp + 0x90]
mov ebx, eax
test eax, eax
jne 0x180023bcf
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 0x180023bdc
mov rcx, rbp
call fcn.180013c50
add rdi, r13
test ebx, ebx
je 0x180023b76
jmp 0x180023c94
test ebx, ebx
jne 0x180023c94
mov rax, qword [r15]
lea rdx, [rsp + 0x80]
mov rcx, r15
call qword [rax + 0x30]
mov ebx, eax
test eax, eax
jne 0x180023c1f
cmp qword [rsp + 0x80], r12
jle 0x180023c1f
mov rax, qword [r15]
mov rdx, r12
mov rcx, r15
call qword [rax + 0x20]
mov ebx, eax
test ebx, ebx
jne 0x180023c94
mov rbp, qword [rsp + 0x28]
mov rcx, qword [rbp + 0x48]
mov rax, qword [rcx]
test rax, rax
je 0x180023c4c
xor r8d, r8d
lea edx, [rbx + 0x15]
call qword [rax + 0x50]
mov ebx, eax
cmp eax, 0xc
jne 0x180023c48
xor ebx, ebx
jmp 0x180023c4c
test eax, eax
jne 0x180023c79
cmp byte [rbp + 0xb], 0
jne 0x180023c79
mov rcx, qword [rbp + 0x48]
movzx edx, byte [rbp + 0xf]
mov rax, qword [rcx]
call qword [rax + 0x28]
jmp 0x180023c77
mov rax, qword [rsp + 0x28]
xor r8d, r8d
xor edx, edx
mov rcx, rax
mov dword [rax + 0x1c], edi
call fcn.1800145b0
mov ebx, eax
test ebx, ebx
jne 0x180023c94
mov rcx, qword [rsi + 8]
xor edx, edx
call fcn.18001b4c0
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 0x180023cd0
mov rcx, qword [rsi + 0x28]
xor edx, edx
call fcn.18001b2f0
mov rcx, qword [rsi + 0x28]
xor edx, edx
call fcn.18001b4c0
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 0x180023cfd
mov rcx, qword [rdx + 0x18]
test rcx, rcx
je 0x180023cfd
call qword [0x180101eb8]
mov rcx, qword [rsi + 0x28]
cmp byte [rcx + 0x11], 0
je 0x180023d12
sub dword [rcx + 0x14], 1
jne 0x180023d12
call fcn.180017c10
mov rcx, qword [rsi + 0x20]
mov rsi, qword [rsp + 0x68]
mov rcx, qword [rcx + 0x18]
test rcx, rcx
je 0x180023d2a
call qword [0x180101eb8]
mov eax, ebx
add rsp, 0x70
pop rbx
ret