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

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x78
mov rax, qword [0x18012a010]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rdi, qword [rcx + 0x10]
mov r13d, r9d
xor ebp, ebp
mov dword [rsp + 0x34], r9d
cmp r8d, r13d
mov dword [rsp + 0x30], r8d
mov r14d, r8d
mov dword [rsp + 0x5c], ebp
lea r9, [rsp + 0x5c]
mov rsi, rdx
cmove r9, rbp
lea r8d, [rbp + 3]
mov rbx, rcx
call fcn.18003cb40
mov rcx, rsi
mov r15d, eax
call fcn.18003aa90
movzx ecx, byte [rbx + 0x1f]
inc dword [rbx + 0x70]
mov byte [rsp + 0x58], al
test cl, cl
jne 0x18003d8e8
inc dword [rbx + 0x54]
mov r12d, dword [rbx + 0x54]
jmp 0x18003d8f5
dec cl
movzx eax, cl
mov byte [rbx + 0x1f], al
mov r12d, dword [rbx + rax*4 + 0x24]
mov rdx, qword [rsi + 0x10]
mov r8d, r12d
mov rcx, rbx
call fcn.180040000
cmp r15d, 5
jne 0x18003dc2c
mov rdx, qword [rsi + 0x10]
mov rcx, rbx
mov r13, qword [rsi + 0x20]
call fcn.18003a900
mov rsi, qword [rdi + 0x30]
mov qword [rsp + 0x50], rax
mov edx, dword [rsi + 0x78]
mov dword [rsp + 0x38], edx
lea ecx, [rdx + 1]
mov dword [rsi + 0x78], ecx
lea ecx, [rdx - 1]
test edx, ecx
jne 0x18003d963
mov rcx, qword [rsi]
lea eax, [rdx*2 + 1]
mov rdx, qword [rsi + 0x80]
movsxd r8, eax
shl r8, 2
call fcn.180006b50
mov edx, dword [rsp + 0x38]
mov qword [rsi + 0x80], rax
mov rcx, qword [rsi + 0x80]
test rcx, rcx
je 0x18003d979
movsxd rax, edx
mov dword [rcx + rax*4], 0xffffffff
mov eax, edx
mov esi, ebp
not eax
mov dword [rsp + 0x3c], eax
cmp dword [rsp + 0x34], r14d
je 0x18003d9bd
movzx eax, byte [rbx + 0x1f]
test al, al
jne 0x18003d99a
inc dword [rbx + 0x54]
mov esi, dword [rbx + 0x54]
jmp 0x18003d9a6
dec al
movzx eax, al
mov byte [rbx + 0x1f], al
mov esi, dword [rbx + rax*4 + 0x24]
mov r9d, r12d
mov dword [rsp + 0x20], esi
mov r8d, r12d
mov edx, 0x55
mov rcx, rdi
call fcn.180026b90
mov r15d, ebp
cmp dword [r13], ebp
jle 0x18003db8b
mov rax, rbp
mov qword [rsp + 0x48], rax
nop dword [rax]
nop word [rax + rax]
mov rdx, qword [r13 + 8]
lea r8, [rsp + 0x40]
mov rcx, rbx
mov rdx, qword [rdx + rax]
call fcn.18003fe60
mov r14d, eax
test esi, esi
je 0x18003da81
mov rcx, qword [r13 + 8]
mov r8, qword [rsp + 0x48]
mov r8, qword [r8 + rcx]
nop dword [rax]
movzx edx, byte [r8]
lea ecx, [rdx + 0x63]
cmp cl, 1
ja 0x18003da22
mov r8, qword [r8 + 0x10]
jmp 0x18003da10
cmp dl, 0x9f
jne 0x18003da2c
movzx edx, byte [r8 + 0x36]
cmp dl, 0x61
je 0x18003da81
cmp dl, 0x83
jbe 0x18003da6a
cmp dl, 0x86
jbe 0x18003da81
cmp dl, 0x9a
jne 0x18003da6a
test dword [r8 + 4], 0x100000
jne 0x18003da6a
movsx rax, word [r8 + 0x30]
test ax, ax
js 0x18003da81
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 0x18003da81
mov r9d, r14d
mov dword [rsp + 0x20], esi
mov r8d, esi
mov edx, 0x55
mov rcx, rdi
call fcn.180026b90
mov eax, dword [r13]
dec eax
cmp r15d, eax
jl 0x18003dae8
mov eax, dword [rsp + 0x34]
cmp eax, dword [rsp + 0x30]
jne 0x18003dae8
mov dword [rsp + 0x20], r14d
mov r8d, r12d
mov r14d, dword [rsp + 0x30]
mov edx, 0x4e
mov r9d, r14d
mov rcx, rdi
call fcn.180026b90
mov r8, qword [rsp + 0x50]
mov r9d, 0xfffffffc
mov edx, eax
mov rcx, rdi
call fcn.180027170
mov r8, qword [rdi + 8]
test r8, r8
je 0x18003db36
movsxd rax, dword [rdi + 0x3c]
movzx edx, byte [rsp + 0x58]
or dl, 0x10
lea rcx, [rax + rax*2]
mov byte [r8 + rcx*8 - 0x15], dl
jmp 0x18003db36
mov r9d, dword [rsp + 0x3c]
mov r8d, r12d
mov edx, 0x4f
mov dword [rsp + 0x20], r14d
mov rcx, rdi
call fcn.180026b90
mov r8, qword [rsp + 0x50]
mov r9d, 0xfffffffc
mov edx, eax
mov rcx, rdi
call fcn.180027170
mov rdx, qword [rdi + 8]
mov r14d, dword [rsp + 0x30]
test rdx, rdx
je 0x18003db36
movsxd rax, dword [rdi + 0x3c]
lea rcx, [rax + rax*2]
movzx eax, byte [rsp + 0x58]
mov byte [rdx + rcx*8 - 0x15], al
mov edx, dword [rsp + 0x40]
test edx, edx
je 0x18003db70
movzx r8d, byte [rbx + 0x1f]
cmp r8b, 8
jae 0x18003db70
mov ecx, ebp
lea rax, [rbx + 0x88]
cmp dword [rax + 0xc], edx
je 0x18003db6c
inc ecx
add rax, 0x14
cmp ecx, 0xa
jl 0x18003db52
mov dword [rbx + r8*4 + 0x24], edx
inc byte [rbx + 0x1f]
jmp 0x18003db70
mov byte [rax + 6], 1
mov rax, qword [rsp + 0x48]
inc r15d
add rax, 0x28
mov qword [rsp + 0x48], rax
cmp r15d, dword [r13]
jl 0x18003d9e0
test esi, esi
je 0x18003dbbe
mov r9d, dword [rsp + 0x34]
mov r8d, esi
mov edx, 0x4c
mov dword [rsp + 0x20], ebp
mov rcx, rdi
call fcn.180026b90
xor r8d, r8d
mov dword [rsp + 0x20], ebp
mov r9d, r14d
mov rcx, rdi
lea edx, [r8 + 0x10]
call fcn.180026b90
movsxd rax, dword [rsp + 0x38]
mov rdx, qword [rdi + 0x30]
test eax, eax
js 0x18003dbe1
mov r8, qword [rdx + 0x80]
test r8, r8
je 0x18003dbe1
mov rcx, rax
mov eax, dword [rdi + 0x3c]
mov dword [r8 + rcx*4], eax
mov eax, dword [rdi + 0x3c]
dec eax
mov dword [rdx + 0x64], eax
test esi, esi
je 0x18003de1c
movzx edx, byte [rbx + 0x1f]
cmp dl, 8
jae 0x18003de1c
mov ecx, ebp
lea rax, [rbx + 0x88]
cmp dword [rax + 0xc], esi
je 0x18003dc23
inc ecx
add rax, 0x14
cmp ecx, 0xa
jl 0x18003dc07
mov dword [rbx + rdx*4 + 0x24], esi
inc byte [rbx + 0x1f]
jmp 0x18003de1c
mov byte [rax + 6], 1
jmp 0x18003de1c
mov rcx, qword [rsi + 0x10]
movzx edx, byte [rcx]
lea eax, [rdx + 0x63]
cmp al, 1
ja 0x18003dc40
mov rcx, qword [rcx + 0x10]
jmp 0x18003dc30
cmp dl, 0x9f
jne 0x18003dc49
movzx edx, byte [rcx + 0x36]
cmp dl, 0x61
je 0x18003dd19
cmp dl, 0x83
jbe 0x18003dc96
cmp dl, 0x86
jbe 0x18003dd19
cmp dl, 0x9a
jne 0x18003dc96
test dword [rcx + 4], 0x100000
jne 0x18003dc96
movsx rax, word [rcx + 0x30]
test ax, ax
js 0x18003dd19
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 0x18003dd19
mov dword [rsp + 0x20], ebp
mov r8d, r12d
mov rcx, rdi
cmp r13d, r14d
jne 0x18003dcb4
mov r9d, r13d
mov edx, 0x4c
call fcn.180026b90
jmp 0x18003dd19
xor r9d, r9d
lea edx, [r9 + 0x4d]
call fcn.180026b90
mov r9d, dword [rsp + 0x30]
mov edx, 0x6c
mov r8d, dword [rsi + 0x2c]
mov rcx, rdi
mov r14d, eax
mov dword [rsp + 0x20], ebp
call fcn.180026b90
xor r8d, r8d
mov dword [rsp + 0x20], ebp
mov r9d, r13d
mov rcx, rdi
lea edx, [r8 + 0x10]
call fcn.180026b90
mov edx, dword [rdi + 0x3c]
cmp edx, r14d
jbe 0x18003dd0a
mov rax, qword [rdi + 8]
lea rcx, [r14 + r14*2]
mov dword [rax + rcx*8 + 8], edx
mov edx, dword [rdi + 0x3c]
mov rax, qword [rdi + 0x30]
lea ecx, [rdx - 1]
mov r14d, dword [rsp + 0x30]
mov dword [rax + 0x64], ecx
mov dword [rsp + 0x20], ebp
mov r8d, r12d
mov rcx, rdi
cmp r15d, 1
jne 0x18003dd52
mov r9d, r14d
lea edx, [r15 + 0x25]
call fcn.180026b90
mov r8d, dword [rsi + 0x2c]
lea edx, [r15 + 0x45]
mov r9d, r14d
mov dword [rsp + 0x20], r12d
mov rcx, rdi
call fcn.180026b90
jmp 0x18003de1c
mov r9d, 1
lea edx, [r9 + 0x2f]
call fcn.180026b90
mov r9d, 1
lea r8, [rsp + 0x58]
mov edx, eax
mov rcx, rdi
call fcn.180027170
mov rcx, rdi
mov r8d, dword [rsi + 0x2c]
mov dword [rsp + 0x20], r12d
cmp dword [rsp + 0x5c], ebp
jne 0x18003ddab
mov r9d, r14d
mov edx, 0x44
call fcn.180026b90
mov r9d, 0xfffffff2
mov edx, eax
mov rcx, rdi
lea r8d, [r9 + 0xf]
call fcn.180027170
jmp 0x18003de1c
xor r9d, r9d
lea edx, [r9 + 0x45]
call fcn.180026b90
mov r9d, 0xfffffff2
mov esi, eax
mov edx, eax
mov rcx, rdi
lea r8d, [r9 + 0xf]
call fcn.180027170
mov r8d, dword [rsp + 0x5c]
mov r9d, r13d
mov edx, 0x4c
mov dword [rsp + 0x20], ebp
mov rcx, rdi
call fcn.180026b90
xor r8d, r8d
mov dword [rsp + 0x20], ebp
mov r9d, r14d
mov rcx, rdi
lea edx, [r8 + 0x10]
call fcn.180026b90
mov edx, dword [rdi + 0x3c]
cmp edx, esi
jbe 0x18003de12
mov rax, qword [rdi + 8]
lea rcx, [rsi + rsi*2]
mov dword [rax + rcx*8 + 8], edx
mov edx, dword [rdi + 0x3c]
mov rax, qword [rdi + 0x30]
lea ecx, [rdx - 1]
mov dword [rax + 0x64], ecx
test r12d, r12d
je 0x18003de50
movzx ecx, byte [rbx + 0x1f]
cmp cl, 8
jae 0x18003de50
lea rax, [rbx + 0x88]
cmp dword [rax + 0xc], r12d
je 0x18003de4c
inc ebp
add rax, 0x14
cmp ebp, 0xa
jl 0x18003de31
mov dword [rbx + rcx*4 + 0x24], r12d
inc byte [rbx + 0x1f]
jmp 0x18003de50
mov byte [rax + 6], 1
mov rcx, rbx
call fcn.18003e5a0
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1800cfc90
add rsp, 0x78
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret