Function at 0x18003c7f0
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.18003ba30
mov rcx, rbx
mov r15d, eax
call fcn.180039ab0
movzx ecx, byte [rdi + 0x1f]
inc dword [rdi + 0x70]
mov byte [rsp + 0xa0], al
test cl, cl
jne 0x18003c85a
inc dword [rdi + 0x54]
mov r12d, dword [rdi + 0x54]
jmp 0x18003c867
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.18003f070
cmp r15d, 5
jne 0x18003cbb5
mov rdx, qword [rbx + 0x10]
mov rcx, rdi
mov r13, qword [rbx + 0x20]
call fcn.180039920
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 0x18003c8d5
mov rcx, qword [rbx]
lea eax, [rdx*2 + 1]
mov rdx, qword [rbx + 0x80]
movsxd r8, eax
shl r8, 2
call fcn.1800054c0
mov edx, dword [rsp + 0x30]
mov qword [rbx + 0x80], rax
mov rcx, qword [rbx + 0x80]
test rcx, rcx
je 0x18003c8eb
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 0x18003c932
movzx eax, byte [rdi + 0x1f]
test al, al
jne 0x18003c90f
inc dword [rdi + 0x54]
mov ebx, dword [rdi + 0x54]
jmp 0x18003c91b
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.180025a50
mov r15d, ebp
cmp dword [r13], ebp
jle 0x18003cb0d
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.18003eed0
mov r14d, eax
test ebx, ebx
je 0x18003c9f1
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 0x18003c992
mov r8, qword [r8 + 0x10]
jmp 0x18003c980
cmp dl, 0x9f
jne 0x18003c99c
movzx edx, byte [r8 + 0x36]
cmp dl, 0x61
je 0x18003c9f1
cmp dl, 0x83
jbe 0x18003c9da
cmp dl, 0x86
jbe 0x18003c9f1
cmp dl, 0x9a
jne 0x18003c9da
test dword [r8 + 4], 0x100000
jne 0x18003c9da
movsx rax, word [r8 + 0x30]
test ax, ax
js 0x18003c9f1
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 0x18003c9f1
mov r9d, r14d
mov dword [rsp + 0x20], ebx
mov r8d, ebx
mov edx, 0x55
mov rcx, rsi
call fcn.180025a50
mov eax, dword [r13]
dec eax
cmp r15d, eax
jl 0x18003ca64
mov eax, dword [rsp + 0xb8]
cmp eax, dword [rsp + 0xb0]
jne 0x18003ca64
mov dword [rsp + 0x20], r14d
mov r8d, r12d
mov r14d, dword [rsp + 0xb0]
mov edx, 0x4e
mov r9d, r14d
mov rcx, rsi
call fcn.180025a50
mov r8, qword [rsp + 0x48]
mov r9d, 0xfffffffc
mov edx, eax
mov rcx, rsi
call fcn.180026090
mov r8, qword [rsi + 8]
test r8, r8
je 0x18003cab8
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 0x18003cab8
mov r9d, dword [rsp + 0x34]
mov r8d, r12d
mov edx, 0x4f
mov dword [rsp + 0x20], r14d
mov rcx, rsi
call fcn.180025a50
mov r8, qword [rsp + 0x48]
mov r9d, 0xfffffffc
mov edx, eax
mov rcx, rsi
call fcn.180026090
mov rdx, qword [rsi + 8]
mov r14d, dword [rsp + 0xb0]
test rdx, rdx
je 0x18003cab8
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 0x18003caf2
movzx r8d, byte [rdi + 0x1f]
cmp r8b, 8
jae 0x18003caf2
mov ecx, ebp
lea rax, [rdi + 0x88]
cmp dword [rax + 0xc], edx
je 0x18003caee
inc ecx
add rax, 0x14
cmp ecx, 0xa
jl 0x18003cad4
mov dword [rdi + r8*4 + 0x24], edx
inc byte [rdi + 0x1f]
jmp 0x18003caf2
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 0x18003c950
test ebx, ebx
je 0x18003cb43
mov r9d, dword [rsp + 0xb8]
mov r8d, ebx
mov edx, 0x4c
mov dword [rsp + 0x20], ebp
mov rcx, rsi
call fcn.180025a50
xor r8d, r8d
mov dword [rsp + 0x20], ebp
mov r9d, r14d
mov rcx, rsi
lea edx, [r8 + 0x10]
call fcn.180025a50
movsxd rax, dword [rsp + 0x30]
mov rdx, qword [rsi + 0x30]
test eax, eax
js 0x18003cb66
mov r8, qword [rdx + 0x80]
test r8, r8
je 0x18003cb66
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 0x18003ce56
movzx edx, byte [rdi + 0x1f]
cmp dl, 8
jae 0x18003ce56
mov ecx, ebp
lea rax, [rdi + 0x88]
nop dword [rax]
cmp dword [rax + 0xc], ebx
je 0x18003cbac
inc ecx
add rax, 0x14
cmp ecx, 0xa
jl 0x18003cb90
mov dword [rdi + rdx*4 + 0x24], ebx
inc byte [rdi + 0x1f]
jmp 0x18003ce56
mov byte [rax + 6], 1
jmp 0x18003ce56
mov rcx, qword [rbx + 0x10]
nop dword [rax]
movzx edx, byte [rcx]
lea eax, [rdx + 0x63]
cmp al, 1
ja 0x18003cbd0
mov rcx, qword [rcx + 0x10]
jmp 0x18003cbc0
cmp dl, 0x9f
jne 0x18003cbd9
movzx edx, byte [rcx + 0x36]
cmp dl, 0x61
je 0x18003ccaf
cmp dl, 0x83
jbe 0x18003cc26
cmp dl, 0x86
jbe 0x18003ccaf
cmp dl, 0x9a
jne 0x18003cc26
test dword [rcx + 4], 0x100000
jne 0x18003cc26
movsx rax, word [rcx + 0x30]
test ax, ax
js 0x18003ccaf
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 0x18003ccaf
mov dword [rsp + 0x20], ebp
mov r8d, r12d
mov rcx, rsi
cmp r13d, r14d
jne 0x18003cc44
mov r9d, r13d
mov edx, 0x4c
call fcn.180025a50
jmp 0x18003ccaf
xor r9d, r9d
lea edx, [r9 + 0x4d]
call fcn.180025a50
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.180025a50
xor r8d, r8d
mov dword [rsp + 0x20], ebp
mov r9d, r13d
mov rcx, rsi
lea edx, [r8 + 0x10]
call fcn.180025a50
mov edx, dword [rsi + 0x3c]
cmp edx, r14d
jbe 0x18003cc9d
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 0x18003cce8
mov r9d, r14d
lea edx, [r15 + 0x25]
call fcn.180025a50
mov r8d, dword [rbx + 0x2c]
lea edx, [r15 + 0x45]
mov r9d, r14d
mov dword [rsp + 0x20], r12d
mov rcx, rsi
call fcn.180025a50
jmp 0x18003ce56
mov r9d, 1
lea edx, [r9 + 0x2f]
call fcn.180025a50
mov r9d, 1
lea r8, [rsp + 0xa0]
mov edx, eax
mov rcx, rsi
call fcn.180026090
mov rcx, rsi
mov r8d, dword [rbx + 0x2c]
mov dword [rsp + 0x20], r12d
cmp dword [rsp + 0xa8], ebp
jne 0x18003cd93
mov r9d, r14d
mov edx, 0x44
call fcn.180025a50
mov r8, qword [rsi + 8]
mov rcx, qword [rsi]
test r8, r8
je 0x18003cd80
cmp byte [rcx + 0x50], bpl
jne 0x18003cd80
test eax, eax
jns 0x18003cd4c
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.180025dd0
mov qword [rbx + 0x10], rbp
mov dword [rbx + 0x10], 1
mov byte [rbx + 1], 0xf2
jmp 0x18003ce56
mov edx, 0xfffffff2
lea r8d, [rdx + 0xf]
call fcn.180025dd0
jmp 0x18003ce56
xor r9d, r9d
lea edx, [r9 + 0x45]
call fcn.180025a50
mov r8, qword [rsi + 8]
mov edx, eax
mov rcx, qword [rsi]
mov r14d, eax
test r8, r8
je 0x18003cdf0
cmp byte [rcx + 0x50], bpl
jne 0x18003cdf0
test r14d, r14d
jns 0x18003cdc0
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.180025dd0
mov qword [rbx + 0x10], rbp
mov dword [rbx + 0x10], 1
mov byte [rbx + 1], 0xf2
jmp 0x18003cdfe
mov edx, 0xfffffff2
lea r8d, [rdx + 0xf]
call fcn.180025dd0
mov r8d, dword [rsp + 0xa8]
mov r9d, r13d
mov edx, 0x4c
mov dword [rsp + 0x20], ebp
mov rcx, rsi
call fcn.180025a50
mov r9d, dword [rsp + 0xb0]
xor r8d, r8d
mov rcx, rsi
mov dword [rsp + 0x20], ebp
lea edx, [r8 + 0x10]
call fcn.180025a50
mov edx, dword [rsi + 0x3c]
cmp edx, r14d
jbe 0x18003ce4c
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 0x18003ce8f
movzx ecx, byte [rdi + 0x1f]
cmp cl, 8
jae 0x18003ce8f
lea rax, [rdi + 0x88]
nop dword [rax + rax]
cmp dword [rax + 0xc], r12d
je 0x18003ce8b
inc ebp
add rax, 0x14
cmp ebp, 0xa
jl 0x18003ce70
mov dword [rdi + rcx*4 + 0x24], r12d
inc byte [rdi + 0x1f]
jmp 0x18003ce8f
mov byte [rax + 6], 1
mov rcx, rdi
call fcn.18003d5d0
add rsp, 0x58
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret