Function at 0x18003d580
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 [0x180128010]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rdi, qword [rcx + 0x10]
mov r13d, r9d
xor r14d, r14d
mov dword [rsp + 0x34], r9d
cmp r8d, r13d
mov dword [rsp + 0x30], r8d
mov ebp, r8d
mov dword [rsp + 0x5c], r14d
lea r9, [rsp + 0x5c]
mov rsi, rdx
cmove r9, r14
lea r8d, [r14 + 3]
mov rbx, rcx
call fcn.18003c840
mov rcx, rsi
mov r15d, eax
call fcn.18003a6d0
movzx ecx, byte [rbx + 0x1f]
inc dword [rbx + 0x70]
mov byte [rsp + 0x58], al
test cl, cl
jne 0x18003d5fa
inc dword [rbx + 0x54]
mov r12d, dword [rbx + 0x54]
jmp 0x18003d607
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.18003fd30
cmp r15d, 5
jne 0x18003d945
mov rdx, qword [rsi + 0x10]
mov rcx, rbx
mov r13, qword [rsi + 0x20]
call fcn.18003a540
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 0x18003d675
mov rcx, qword [rsi]
lea eax, [rdx*2 + 1]
mov rdx, qword [rsi + 0x80]
movsxd r8, eax
shl r8, 2
call fcn.180006500
mov edx, dword [rsp + 0x38]
mov qword [rsi + 0x80], rax
mov rcx, qword [rsi + 0x80]
test rcx, rcx
je 0x18003d68b
movsxd rax, edx
mov dword [rcx + rax*4], 0xffffffff
mov eax, edx
mov esi, r14d
not eax
mov dword [rsp + 0x3c], eax
cmp dword [rsp + 0x34], ebp
je 0x18003d6cf
movzx eax, byte [rbx + 0x1f]
test al, al
jne 0x18003d6ac
inc dword [rbx + 0x54]
mov esi, dword [rbx + 0x54]
jmp 0x18003d6b8
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.180026580
mov r15d, r14d
cmp dword [r13], r14d
jle 0x18003d8a0
mov rax, r14
mov qword [rsp + 0x48], rax
nop dword [rax]
nop dword [rax + rax]
mov rdx, qword [r13 + 8]
lea r8, [rsp + 0x40]
mov rcx, rbx
mov rdx, qword [rdx + rax]
call fcn.18003fb90
mov ebp, eax
test esi, esi
je 0x18003d799
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 0x18003d732
mov r8, qword [r8 + 0x10]
jmp 0x18003d720
cmp dl, 0x9f
jne 0x18003d73c
movzx edx, byte [r8 + 0x36]
movzx ecx, dl
sub ecx, 0x61
je 0x18003d799
sub ecx, 0x23
je 0x18003d799
sub ecx, 1
je 0x18003d799
sub ecx, 1
je 0x18003d799
cmp ecx, 0x14
jne 0x18003d782
test dword [r8 + 4], 0x100000
jne 0x18003d782
movsx rax, word [r8 + 0x30]
test ax, ax
js 0x18003d799
lea rdx, [rax + rax*2]
mov rax, qword [r8 + 0x40]
add rdx, rdx
mov rcx, qword [rax + 8]
cmp byte [rcx + rdx*8 + 0x28], r14b
jne 0x18003d799
mov r9d, ebp
mov dword [rsp + 0x20], esi
mov r8d, esi
mov edx, 0x55
mov rcx, rdi
call fcn.180026580
mov eax, dword [r13]
dec eax
cmp r15d, eax
jl 0x18003d7fe
mov eax, dword [rsp + 0x34]
cmp eax, dword [rsp + 0x30]
jne 0x18003d7fe
mov dword [rsp + 0x20], ebp
mov r8d, r12d
mov ebp, dword [rsp + 0x30]
mov edx, 0x4e
mov r9d, ebp
mov rcx, rdi
call fcn.180026580
mov r8, qword [rsp + 0x50]
mov r9d, 0xfffffffc
mov edx, eax
mov rcx, rdi
call fcn.180026b60
mov r8, qword [rdi + 8]
test r8, r8
je 0x18003d84a
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 0x18003d84a
mov r9d, dword [rsp + 0x3c]
mov r8d, r12d
mov edx, 0x4f
mov dword [rsp + 0x20], ebp
mov rcx, rdi
call fcn.180026580
mov r8, qword [rsp + 0x50]
mov r9d, 0xfffffffc
mov edx, eax
mov rcx, rdi
call fcn.180026b60
mov rdx, qword [rdi + 8]
mov ebp, dword [rsp + 0x30]
test rdx, rdx
je 0x18003d84a
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 0x18003d885
movzx r8d, byte [rbx + 0x1f]
cmp r8b, 8
jae 0x18003d885
mov ecx, r14d
lea rax, [rbx + 0x88]
cmp dword [rax + 0xc], edx
je 0x18003d881
inc ecx
add rax, 0x14
cmp ecx, 0xa
jl 0x18003d867
mov dword [rbx + r8*4 + 0x24], edx
inc byte [rbx + 0x1f]
jmp 0x18003d885
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 0x18003d6f0
test esi, esi
je 0x18003d8d5
mov r9d, dword [rsp + 0x34]
mov r8d, esi
mov edx, 0x4c
mov dword [rsp + 0x20], r14d
mov rcx, rdi
call fcn.180026580
xor r8d, r8d
mov dword [rsp + 0x20], r14d
mov r9d, ebp
mov rcx, rdi
lea edx, [r8 + 0x10]
call fcn.180026580
movsxd rax, dword [rsp + 0x38]
mov rdx, qword [rdi + 0x30]
test eax, eax
js 0x18003d8f8
mov r8, qword [rdx + 0x80]
test r8, r8
je 0x18003d8f8
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 0x18003db57
movzx edx, byte [rbx + 0x1f]
cmp dl, 8
jae 0x18003db57
mov ecx, r14d
lea rax, [rbx + 0x88]
nop
cmp dword [rax + 0xc], esi
je 0x18003d93c
inc ecx
add rax, 0x14
cmp ecx, 0xa
jl 0x18003d920
mov dword [rbx + rdx*4 + 0x24], esi
inc byte [rbx + 0x1f]
jmp 0x18003db57
mov byte [rax + 6], 1
jmp 0x18003db57
mov rcx, qword [rsi + 0x10]
nop dword [rax]
movzx edx, byte [rcx]
lea eax, [rdx + 0x63]
cmp al, 1
ja 0x18003d960
mov rcx, qword [rcx + 0x10]
jmp 0x18003d950
cmp dl, 0x9f
jne 0x18003d969
movzx edx, byte [rcx + 0x36]
movzx edx, dl
sub edx, 0x61
je 0x18003da50
sub edx, 0x23
je 0x18003da50
sub edx, 1
je 0x18003da50
sub edx, 1
je 0x18003da50
cmp edx, 0x14
jne 0x18003d9c6
test dword [rcx + 4], 0x100000
jne 0x18003d9c6
movsx rax, word [rcx + 0x30]
test ax, ax
js 0x18003da50
lea rdx, [rax + rax*2]
mov rax, qword [rcx + 0x40]
add rdx, rdx
mov rcx, qword [rax + 8]
cmp byte [rcx + rdx*8 + 0x28], r14b
jne 0x18003da50
mov dword [rsp + 0x20], r14d
mov r8d, r12d
mov rcx, rdi
cmp r13d, ebp
jne 0x18003d9e5
mov r9d, r13d
mov edx, 0x4c
call fcn.180026580
jmp 0x18003da50
xor r9d, r9d
lea edx, [r9 + 0x4d]
call fcn.180026580
mov r9d, dword [rsp + 0x30]
mov edx, 0x6c
mov r8d, dword [rsi + 0x2c]
mov rcx, rdi
mov ebp, eax
mov dword [rsp + 0x20], r14d
call fcn.180026580
xor r8d, r8d
mov dword [rsp + 0x20], r14d
mov r9d, r13d
mov rcx, rdi
lea edx, [r8 + 0x10]
call fcn.180026580
mov edx, dword [rdi + 0x3c]
cmp edx, ebp
jbe 0x18003da42
mov rax, qword [rdi + 8]
lea rcx, [rbp*2]
add rcx, rbp
mov dword [rax + rcx*8 + 8], edx
mov edx, dword [rdi + 0x3c]
mov rax, qword [rdi + 0x30]
lea ecx, [rdx - 1]
mov ebp, dword [rsp + 0x30]
mov dword [rax + 0x64], ecx
mov dword [rsp + 0x20], r14d
mov r8d, r12d
mov rcx, rdi
cmp r15d, 1
jne 0x18003da8a
mov r9d, ebp
lea edx, [r15 + 0x25]
call fcn.180026580
mov r8d, dword [rsi + 0x2c]
lea edx, [r15 + 0x45]
mov r9d, ebp
mov dword [rsp + 0x20], r12d
mov rcx, rdi
call fcn.180026580
jmp 0x18003db57
mov r9d, 1
lea edx, [r9 + 0x2f]
call fcn.180026580
mov r9d, 1
lea r8, [rsp + 0x58]
mov edx, eax
mov rcx, rdi
call fcn.180026b60
mov rcx, rdi
mov r8d, dword [rsi + 0x2c]
mov dword [rsp + 0x20], r12d
cmp dword [rsp + 0x5c], r14d
jne 0x18003dae4
mov r9d, ebp
mov edx, 0x44
call fcn.180026580
mov r9d, 0xfffffff2
mov edx, eax
mov rcx, rdi
lea r8d, [r9 + 0xf]
call fcn.180026b60
jmp 0x18003db57
xor r9d, r9d
lea edx, [r9 + 0x45]
call fcn.180026580
mov r9d, 0xfffffff2
mov esi, eax
mov edx, eax
mov rcx, rdi
lea r8d, [r9 + 0xf]
call fcn.180026b60
mov r8d, dword [rsp + 0x5c]
mov r9d, r13d
mov edx, 0x4c
mov dword [rsp + 0x20], r14d
mov rcx, rdi
call fcn.180026580
xor r8d, r8d
mov dword [rsp + 0x20], r14d
mov r9d, ebp
mov rcx, rdi
lea edx, [r8 + 0x10]
call fcn.180026580
mov edx, dword [rdi + 0x3c]
cmp edx, esi
jbe 0x18003db4d
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 0x18003db91
movzx ecx, byte [rbx + 0x1f]
cmp cl, 8
jae 0x18003db91
lea rax, [rbx + 0x88]
nop dword [rax]
cmp dword [rax + 0xc], r12d
je 0x18003db8d
inc r14d
add rax, 0x14
cmp r14d, 0xa
jl 0x18003db70
mov dword [rbx + rcx*4 + 0x24], r12d
inc byte [rbx + 0x1f]
jmp 0x18003db91
mov byte [rax + 6], 1
mov rcx, rbx
call fcn.18003e2d0
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1800ce4d0
add rsp, 0x78
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret