Function at 0x18003d810
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.18003cae0
mov rcx, rsi
mov r15d, eax
call fcn.18003aa30
movzx ecx, byte [rbx + 0x1f]
inc dword [rbx + 0x70]
mov byte [rsp + 0x58], al
test cl, cl
jne 0x18003d888
inc dword [rbx + 0x54]
mov r12d, dword [rbx + 0x54]
jmp 0x18003d895
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.18003ffa0
cmp r15d, 5
jne 0x18003dbcc
mov rdx, qword [rsi + 0x10]
mov rcx, rbx
mov r13, qword [rsi + 0x20]
call fcn.18003a8a0
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 0x18003d903
mov rcx, qword [rsi]
lea eax, [rdx*2 + 1]
mov rdx, qword [rsi + 0x80]
movsxd r8, eax
shl r8, 2
call fcn.180006af0
mov edx, dword [rsp + 0x38]
mov qword [rsi + 0x80], rax
mov rcx, qword [rsi + 0x80]
test rcx, rcx
je 0x18003d919
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 0x18003d95d
movzx eax, byte [rbx + 0x1f]
test al, al
jne 0x18003d93a
inc dword [rbx + 0x54]
mov esi, dword [rbx + 0x54]
jmp 0x18003d946
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.180026b30
mov r15d, ebp
cmp dword [r13], ebp
jle 0x18003db2b
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.18003fe00
mov r14d, eax
test esi, esi
je 0x18003da21
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 0x18003d9c2
mov r8, qword [r8 + 0x10]
jmp 0x18003d9b0
cmp dl, 0x9f
jne 0x18003d9cc
movzx edx, byte [r8 + 0x36]
cmp dl, 0x61
je 0x18003da21
cmp dl, 0x83
jbe 0x18003da0a
cmp dl, 0x86
jbe 0x18003da21
cmp dl, 0x9a
jne 0x18003da0a
test dword [r8 + 4], 0x100000
jne 0x18003da0a
movsx rax, word [r8 + 0x30]
test ax, ax
js 0x18003da21
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 0x18003da21
mov r9d, r14d
mov dword [rsp + 0x20], esi
mov r8d, esi
mov edx, 0x55
mov rcx, rdi
call fcn.180026b30
mov eax, dword [r13]
dec eax
cmp r15d, eax
jl 0x18003da88
mov eax, dword [rsp + 0x34]
cmp eax, dword [rsp + 0x30]
jne 0x18003da88
mov dword [rsp + 0x20], r14d
mov r8d, r12d
mov r14d, dword [rsp + 0x30]
mov edx, 0x4e
mov r9d, r14d
mov rcx, rdi
call fcn.180026b30
mov r8, qword [rsp + 0x50]
mov r9d, 0xfffffffc
mov edx, eax
mov rcx, rdi
call fcn.180027110
mov r8, qword [rdi + 8]
test r8, r8
je 0x18003dad6
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 0x18003dad6
mov r9d, dword [rsp + 0x3c]
mov r8d, r12d
mov edx, 0x4f
mov dword [rsp + 0x20], r14d
mov rcx, rdi
call fcn.180026b30
mov r8, qword [rsp + 0x50]
mov r9d, 0xfffffffc
mov edx, eax
mov rcx, rdi
call fcn.180027110
mov rdx, qword [rdi + 8]
mov r14d, dword [rsp + 0x30]
test rdx, rdx
je 0x18003dad6
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 0x18003db10
movzx r8d, byte [rbx + 0x1f]
cmp r8b, 8
jae 0x18003db10
mov ecx, ebp
lea rax, [rbx + 0x88]
cmp dword [rax + 0xc], edx
je 0x18003db0c
inc ecx
add rax, 0x14
cmp ecx, 0xa
jl 0x18003daf2
mov dword [rbx + r8*4 + 0x24], edx
inc byte [rbx + 0x1f]
jmp 0x18003db10
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 0x18003d980
test esi, esi
je 0x18003db5e
mov r9d, dword [rsp + 0x34]
mov r8d, esi
mov edx, 0x4c
mov dword [rsp + 0x20], ebp
mov rcx, rdi
call fcn.180026b30
xor r8d, r8d
mov dword [rsp + 0x20], ebp
mov r9d, r14d
mov rcx, rdi
lea edx, [r8 + 0x10]
call fcn.180026b30
movsxd rax, dword [rsp + 0x38]
mov rdx, qword [rdi + 0x30]
test eax, eax
js 0x18003db81
mov r8, qword [rdx + 0x80]
test r8, r8
je 0x18003db81
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 0x18003ddbc
movzx edx, byte [rbx + 0x1f]
cmp dl, 8
jae 0x18003ddbc
mov ecx, ebp
lea rax, [rbx + 0x88]
cmp dword [rax + 0xc], esi
je 0x18003dbc3
inc ecx
add rax, 0x14
cmp ecx, 0xa
jl 0x18003dba7
mov dword [rbx + rdx*4 + 0x24], esi
inc byte [rbx + 0x1f]
jmp 0x18003ddbc
mov byte [rax + 6], 1
jmp 0x18003ddbc
mov rcx, qword [rsi + 0x10]
movzx edx, byte [rcx]
lea eax, [rdx + 0x63]
cmp al, 1
ja 0x18003dbe0
mov rcx, qword [rcx + 0x10]
jmp 0x18003dbd0
cmp dl, 0x9f
jne 0x18003dbe9
movzx edx, byte [rcx + 0x36]
cmp dl, 0x61
je 0x18003dcb9
cmp dl, 0x83
jbe 0x18003dc36
cmp dl, 0x86
jbe 0x18003dcb9
cmp dl, 0x9a
jne 0x18003dc36
test dword [rcx + 4], 0x100000
jne 0x18003dc36
movsx rax, word [rcx + 0x30]
test ax, ax
js 0x18003dcb9
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 0x18003dcb9
mov dword [rsp + 0x20], ebp
mov r8d, r12d
mov rcx, rdi
cmp r13d, r14d
jne 0x18003dc54
mov r9d, r13d
mov edx, 0x4c
call fcn.180026b30
jmp 0x18003dcb9
xor r9d, r9d
lea edx, [r9 + 0x4d]
call fcn.180026b30
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.180026b30
xor r8d, r8d
mov dword [rsp + 0x20], ebp
mov r9d, r13d
mov rcx, rdi
lea edx, [r8 + 0x10]
call fcn.180026b30
mov edx, dword [rdi + 0x3c]
cmp edx, r14d
jbe 0x18003dcaa
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 0x18003dcf2
mov r9d, r14d
lea edx, [r15 + 0x25]
call fcn.180026b30
mov r8d, dword [rsi + 0x2c]
lea edx, [r15 + 0x45]
mov r9d, r14d
mov dword [rsp + 0x20], r12d
mov rcx, rdi
call fcn.180026b30
jmp 0x18003ddbc
mov r9d, 1
lea edx, [r9 + 0x2f]
call fcn.180026b30
mov r9d, 1
lea r8, [rsp + 0x58]
mov edx, eax
mov rcx, rdi
call fcn.180027110
mov rcx, rdi
mov r8d, dword [rsi + 0x2c]
mov dword [rsp + 0x20], r12d
cmp dword [rsp + 0x5c], ebp
jne 0x18003dd4b
mov r9d, r14d
mov edx, 0x44
call fcn.180026b30
mov r9d, 0xfffffff2
mov edx, eax
mov rcx, rdi
lea r8d, [r9 + 0xf]
call fcn.180027110
jmp 0x18003ddbc
xor r9d, r9d
lea edx, [r9 + 0x45]
call fcn.180026b30
mov r9d, 0xfffffff2
mov esi, eax
mov edx, eax
mov rcx, rdi
lea r8d, [r9 + 0xf]
call fcn.180027110
mov r8d, dword [rsp + 0x5c]
mov r9d, r13d
mov edx, 0x4c
mov dword [rsp + 0x20], ebp
mov rcx, rdi
call fcn.180026b30
xor r8d, r8d
mov dword [rsp + 0x20], ebp
mov r9d, r14d
mov rcx, rdi
lea edx, [r8 + 0x10]
call fcn.180026b30
mov edx, dword [rdi + 0x3c]
cmp edx, esi
jbe 0x18003ddb2
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 0x18003ddf0
movzx ecx, byte [rbx + 0x1f]
cmp cl, 8
jae 0x18003ddf0
lea rax, [rbx + 0x88]
cmp dword [rax + 0xc], r12d
je 0x18003ddec
inc ebp
add rax, 0x14
cmp ebp, 0xa
jl 0x18003ddd1
mov dword [rbx + rcx*4 + 0x24], r12d
inc byte [rbx + 0x1f]
jmp 0x18003ddf0
mov byte [rax + 6], 1
mov rcx, rbx
call fcn.18003e540
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1800cfa80
add rsp, 0x78
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret