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

Disassembly:
mov rax, rsp
mov dword [rax + 0x20], r9d
mov dword [rax + 0x18], r8d
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x58
mov rsi, qword [rcx + 0x10]
mov r13d, r9d
xor ebp, ebp
lea r9, [rax + 0x10]
cmp r8d, r13d
mov dword [rax + 0x10], ebp
mov r14d, r8d
mov rbx, rdx
cmove r9, rbp
mov rdi, rcx
lea r8d, [rbp + 3]
call fcn.18003c100
mov rcx, rbx
mov r15d, eax
call fcn.18003a180
movzx ecx, byte [rdi + 0x1f]
inc dword [rdi + 0x70]
mov byte [rsp + 0xa0], al
test cl, cl
jne 0x18003cf2a
inc dword [rdi + 0x54]
mov r12d, dword [rdi + 0x54]
jmp 0x18003cf37
dec cl
movzx eax, cl
mov byte [rdi + 0x1f], al
mov r12d, dword [rdi + rax*4 + 0x24]
mov rdx, qword [rbx + 0x10]
mov r8d, r12d
mov rcx, rdi
call fcn.18003f740
cmp r15d, 5
jne 0x18003d285
mov rdx, qword [rbx + 0x10]
mov rcx, rdi
mov r13, qword [rbx + 0x20]
call fcn.180039ff0
mov rbx, qword [rsi + 0x30]
mov qword [rsp + 0x48], rax
mov edx, dword [rbx + 0x78]
mov dword [rsp + 0x30], edx
lea ecx, [rdx + 1]
mov dword [rbx + 0x78], ecx
lea ecx, [rdx - 1]
test edx, ecx
jne 0x18003cfa5
mov rcx, qword [rbx]
lea eax, [rdx*2 + 1]
mov rdx, qword [rbx + 0x80]
movsxd r8, eax
shl r8, 2
call fcn.180005b90
mov edx, dword [rsp + 0x30]
mov qword [rbx + 0x80], rax
mov rcx, qword [rbx + 0x80]
test rcx, rcx
je 0x18003cfbb
movsxd rax, edx
mov dword [rcx + rax*4], 0xffffffff
mov eax, edx
mov ebx, ebp
not eax
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0xb8], r14d
je 0x18003d002
movzx eax, byte [rdi + 0x1f]
test al, al
jne 0x18003cfdf
inc dword [rdi + 0x54]
mov ebx, dword [rdi + 0x54]
jmp 0x18003cfeb
dec al
movzx eax, al
mov byte [rdi + 0x1f], al
mov ebx, dword [rdi + rax*4 + 0x24]
mov r9d, r12d
mov dword [rsp + 0x20], ebx
mov r8d, r12d
mov edx, 0x55
mov rcx, rsi
call fcn.180026120
mov r15d, ebp
cmp dword [r13], ebp
jle 0x18003d1dd
mov rax, rbp
mov qword [rsp + 0x40], rax
nop word [rax + rax]
mov rdx, qword [r13 + 8]
lea r8, [rsp + 0x38]
mov rcx, rdi
mov rdx, qword [rax + rdx]
call fcn.18003f5a0
mov r14d, eax
test ebx, ebx
je 0x18003d0c1
mov rcx, qword [r13 + 8]
mov r8, qword [rsp + 0x40]
mov r8, qword [r8 + rcx]
nop dword [rax]
movzx edx, byte [r8]
lea ecx, [rdx + 0x63]
cmp cl, 1
ja 0x18003d062
mov r8, qword [r8 + 0x10]
jmp 0x18003d050
cmp dl, 0x9f
jne 0x18003d06c
movzx edx, byte [r8 + 0x36]
cmp dl, 0x61
je 0x18003d0c1
cmp dl, 0x83
jbe 0x18003d0aa
cmp dl, 0x86
jbe 0x18003d0c1
cmp dl, 0x9a
jne 0x18003d0aa
test dword [r8 + 4], 0x100000
jne 0x18003d0aa
movsx rax, word [r8 + 0x30]
test ax, ax
js 0x18003d0c1
lea rdx, [rax + rax*2]
mov rax, qword [r8 + 0x40]
add rdx, rdx
mov rcx, qword [rax + 8]
cmp byte [rcx + rdx*8 + 0x28], bpl
jne 0x18003d0c1
mov r9d, r14d
mov dword [rsp + 0x20], ebx
mov r8d, ebx
mov edx, 0x55
mov rcx, rsi
call fcn.180026120
mov eax, dword [r13]
dec eax
cmp r15d, eax
jl 0x18003d134
mov eax, dword [rsp + 0xb8]
cmp eax, dword [rsp + 0xb0]
jne 0x18003d134
mov dword [rsp + 0x20], r14d
mov r8d, r12d
mov r14d, dword [rsp + 0xb0]
mov edx, 0x4e
mov r9d, r14d
mov rcx, rsi
call fcn.180026120
mov r8, qword [rsp + 0x48]
mov r9d, 0xfffffffc
mov edx, eax
mov rcx, rsi
call fcn.180026760
mov r8, qword [rsi + 8]
test r8, r8
je 0x18003d188
movsxd rax, dword [rsi + 0x3c]
movzx edx, byte [rsp + 0xa0]
or dl, 0x10
lea rcx, [rax + rax*2]
mov byte [r8 + rcx*8 - 0x15], dl
jmp 0x18003d188
mov r9d, dword [rsp + 0x34]
mov r8d, r12d
mov edx, 0x4f
mov dword [rsp + 0x20], r14d
mov rcx, rsi
call fcn.180026120
mov r8, qword [rsp + 0x48]
mov r9d, 0xfffffffc
mov edx, eax
mov rcx, rsi
call fcn.180026760
mov rdx, qword [rsi + 8]
mov r14d, dword [rsp + 0xb0]
test rdx, rdx
je 0x18003d188
movsxd rax, dword [rsi + 0x3c]
lea rcx, [rax + rax*2]
movzx eax, byte [rsp + 0xa0]
mov byte [rdx + rcx*8 - 0x15], al
mov edx, dword [rsp + 0x38]
test edx, edx
je 0x18003d1c2
movzx r8d, byte [rdi + 0x1f]
cmp r8b, 8
jae 0x18003d1c2
mov ecx, ebp
lea rax, [rdi + 0x88]
cmp dword [rax + 0xc], edx
je 0x18003d1be
inc ecx
add rax, 0x14
cmp ecx, 0xa
jl 0x18003d1a4
mov dword [rdi + r8*4 + 0x24], edx
inc byte [rdi + 0x1f]
jmp 0x18003d1c2
mov byte [rax + 6], 1
mov rax, qword [rsp + 0x40]
inc r15d
add rax, 0x28
mov qword [rsp + 0x40], rax
cmp r15d, dword [r13]
jl 0x18003d020
test ebx, ebx
je 0x18003d213
mov r9d, dword [rsp + 0xb8]
mov r8d, ebx
mov edx, 0x4c
mov dword [rsp + 0x20], ebp
mov rcx, rsi
call fcn.180026120
xor r8d, r8d
mov dword [rsp + 0x20], ebp
mov r9d, r14d
mov rcx, rsi
lea edx, [r8 + 0x10]
call fcn.180026120
movsxd rax, dword [rsp + 0x30]
mov rdx, qword [rsi + 0x30]
test eax, eax
js 0x18003d236
mov r8, qword [rdx + 0x80]
test r8, r8
je 0x18003d236
mov rcx, rax
mov eax, dword [rsi + 0x3c]
mov dword [r8 + rcx*4], eax
mov eax, dword [rsi + 0x3c]
dec eax
mov dword [rdx + 0x64], eax
test ebx, ebx
je 0x18003d526
movzx edx, byte [rdi + 0x1f]
cmp dl, 8
jae 0x18003d526
mov ecx, ebp
lea rax, [rdi + 0x88]
nop dword [rax]
cmp dword [rax + 0xc], ebx
je 0x18003d27c
inc ecx
add rax, 0x14
cmp ecx, 0xa
jl 0x18003d260
mov dword [rdi + rdx*4 + 0x24], ebx
inc byte [rdi + 0x1f]
jmp 0x18003d526
mov byte [rax + 6], 1
jmp 0x18003d526
mov rcx, qword [rbx + 0x10]
nop dword [rax]
movzx edx, byte [rcx]
lea eax, [rdx + 0x63]
cmp al, 1
ja 0x18003d2a0
mov rcx, qword [rcx + 0x10]
jmp 0x18003d290
cmp dl, 0x9f
jne 0x18003d2a9
movzx edx, byte [rcx + 0x36]
cmp dl, 0x61
je 0x18003d37f
cmp dl, 0x83
jbe 0x18003d2f6
cmp dl, 0x86
jbe 0x18003d37f
cmp dl, 0x9a
jne 0x18003d2f6
test dword [rcx + 4], 0x100000
jne 0x18003d2f6
movsx rax, word [rcx + 0x30]
test ax, ax
js 0x18003d37f
lea rdx, [rax + rax*2]
mov rax, qword [rcx + 0x40]
add rdx, rdx
mov rcx, qword [rax + 8]
cmp byte [rcx + rdx*8 + 0x28], bpl
jne 0x18003d37f
mov dword [rsp + 0x20], ebp
mov r8d, r12d
mov rcx, rsi
cmp r13d, r14d
jne 0x18003d314
mov r9d, r13d
mov edx, 0x4c
call fcn.180026120
jmp 0x18003d37f
xor r9d, r9d
lea edx, [r9 + 0x4d]
call fcn.180026120
mov r9d, dword [rsp + 0xb0]
mov edx, 0x6c
mov r8d, dword [rbx + 0x2c]
mov rcx, rsi
mov r14d, eax
mov dword [rsp + 0x20], ebp
call fcn.180026120
xor r8d, r8d
mov dword [rsp + 0x20], ebp
mov r9d, r13d
mov rcx, rsi
lea edx, [r8 + 0x10]
call fcn.180026120
mov edx, dword [rsi + 0x3c]
cmp edx, r14d
jbe 0x18003d36d
mov rax, qword [rsi + 8]
lea rcx, [r14 + r14*2]
mov dword [rax + rcx*8 + 8], edx
mov edx, dword [rsi + 0x3c]
mov rax, qword [rsi + 0x30]
lea ecx, [rdx - 1]
mov r14d, dword [rsp + 0xb0]
mov dword [rax + 0x64], ecx
mov dword [rsp + 0x20], ebp
mov r8d, r12d
mov rcx, rsi
cmp r15d, 1
jne 0x18003d3b8
mov r9d, r14d
lea edx, [r15 + 0x25]
call fcn.180026120
mov r8d, dword [rbx + 0x2c]
lea edx, [r15 + 0x45]
mov r9d, r14d
mov dword [rsp + 0x20], r12d
mov rcx, rsi
call fcn.180026120
jmp 0x18003d526
mov r9d, 1
lea edx, [r9 + 0x2f]
call fcn.180026120
mov r9d, 1
lea r8, [rsp + 0xa0]
mov edx, eax
mov rcx, rsi
call fcn.180026760
mov rcx, rsi
mov r8d, dword [rbx + 0x2c]
mov dword [rsp + 0x20], r12d
cmp dword [rsp + 0xa8], ebp
jne 0x18003d463
mov r9d, r14d
mov edx, 0x44
call fcn.180026120
mov r8, qword [rsi + 8]
mov rcx, qword [rsi]
test r8, r8
je 0x18003d450
cmp byte [rcx + 0x50], bpl
jne 0x18003d450
test eax, eax
jns 0x18003d41c
mov eax, dword [rsi + 0x3c]
dec eax
cdqe
lea rdx, [rax + rax*2]
lea rbx, [r8 + rdx*8]
movsx edx, byte [r8 + rdx*8 + 1]
mov r8, qword [rbx + 0x10]
call fcn.1800264a0
mov qword [rbx + 0x10], rbp
mov dword [rbx + 0x10], 1
mov byte [rbx + 1], 0xf2
jmp 0x18003d526
mov edx, 0xfffffff2
lea r8d, [rdx + 0xf]
call fcn.1800264a0
jmp 0x18003d526
xor r9d, r9d
lea edx, [r9 + 0x45]
call fcn.180026120
mov r8, qword [rsi + 8]
mov edx, eax
mov rcx, qword [rsi]
mov r14d, eax
test r8, r8
je 0x18003d4c0
cmp byte [rcx + 0x50], bpl
jne 0x18003d4c0
test r14d, r14d
jns 0x18003d490
mov edx, dword [rsi + 0x3c]
dec edx
movsxd rax, edx
lea rdx, [rax + rax*2]
lea rbx, [r8 + rdx*8]
movsx edx, byte [r8 + rdx*8 + 1]
mov r8, qword [rbx + 0x10]
call fcn.1800264a0
mov qword [rbx + 0x10], rbp
mov dword [rbx + 0x10], 1
mov byte [rbx + 1], 0xf2
jmp 0x18003d4ce
mov edx, 0xfffffff2
lea r8d, [rdx + 0xf]
call fcn.1800264a0
mov r8d, dword [rsp + 0xa8]
mov r9d, r13d
mov edx, 0x4c
mov dword [rsp + 0x20], ebp
mov rcx, rsi
call fcn.180026120
mov r9d, dword [rsp + 0xb0]
xor r8d, r8d
mov rcx, rsi
mov dword [rsp + 0x20], ebp
lea edx, [r8 + 0x10]
call fcn.180026120
mov edx, dword [rsi + 0x3c]
cmp edx, r14d
jbe 0x18003d51c
mov rax, qword [rsi + 8]
lea rcx, [r14 + r14*2]
mov dword [rax + rcx*8 + 8], edx
mov edx, dword [rsi + 0x3c]
mov rax, qword [rsi + 0x30]
lea ecx, [rdx - 1]
mov dword [rax + 0x64], ecx
test r12d, r12d
je 0x18003d55f
movzx ecx, byte [rdi + 0x1f]
cmp cl, 8
jae 0x18003d55f
lea rax, [rdi + 0x88]
nop dword [rax + rax]
cmp dword [rax + 0xc], r12d
je 0x18003d55b
inc ebp
add rax, 0x14
cmp ebp, 0xa
jl 0x18003d540
mov dword [rdi + rcx*4 + 0x24], r12d
inc byte [rdi + 0x1f]
jmp 0x18003d55f
mov byte [rax + 6], 1
mov rcx, rdi
call fcn.18003dca0
add rsp, 0x58
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret