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

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x50
mov rbx, qword [rcx + 0x10]
xor esi, esi
mov dword [rax + 8], esi
mov r12d, r9d
mov dword [rax - 0x38], esi
mov r15d, r8d
mov rbp, rdx
mov rdi, rcx
mov r14d, esi
test rbx, rbx
je 0x18003f86a
test rdx, rdx
je 0x18003f86a
mov qword [rax + 0x10], r13
movzx r13d, byte [rdx]
lea eax, [r13 - 0x13]
cmp eax, 0x81
ja case.0x18003f4f6.20
lea rdx, [0x180000000]
cdqe
movzx eax, byte [rdx + rax + 0x3f8a8]
mov ecx, dword [rdx + rax*4 + 0x3f884]
add rcx, rdx
jmp rcx
mov r14, qword [rbx + 0x30]
movsxd rsi, dword [r14 + 0x78]
lea eax, [rsi + 1]
mov dword [r14 + 0x78], eax
lea eax, [rsi - 1]
test esi, eax
jne 0x18003f532
mov rdx, qword [r14 + 0x80]
lea eax, [rsi*2 + 1]
mov rcx, qword [r14]
movsxd r8, eax
shl r8, 2
call fcn.180005ca0
mov qword [r14 + 0x80], rax
mov rcx, qword [r14 + 0x80]
test rcx, rcx
je 0x18003f545
mov dword [rcx + rsi*4], 0xffffffff
mov rdx, qword [rbp + 0x10]
mov r9d, r12d
mov r8d, esi
xor r9d, 0x10
not r8d
mov rcx, rdi
call fcn.18003f930
inc dword [rdi + 0x70]
mov r9d, r12d
mov rdx, qword [rbp + 0x18]
mov r8d, r15d
mov rcx, rdi
call fcn.18003f480
mov r8, qword [rbx + 0x30]
test esi, esi
js 0x18003f58d
mov rdx, qword [r8 + 0x80]
test rdx, rdx
je 0x18003f58d
mov eax, dword [rbx + 0x3c]
mov dword [rdx + rsi*4], eax
mov eax, dword [rbx + 0x3c]
mov rcx, rdi
dec eax
mov dword [r8 + 0x64], eax
call fcn.18003d6f0
jmp 0x18003f862
mov rdx, qword [rbp + 0x10]
mov rcx, rdi
call fcn.18003f480
inc dword [rdi + 0x70]
mov r9d, r12d
mov rdx, qword [rbp + 0x18]
mov r8d, r15d
mov rcx, rdi
call fcn.18003f480
mov rcx, rdi
call fcn.18003d6f0
jmp 0x18003f862
mov rdx, qword [rbp + 0x10]
mov rcx, rdi
call fcn.18003f930
jmp 0x18003f862
mov rdx, qword [rbp + 0x10]
lea r8, [rsp + 0x80]
mov rcx, rdi
call fcn.18003efb0
mov rdx, qword [rbp + 0x18]
lea r8, [rsp + 0x40]
mov rcx, rdi
mov ebx, eax
call fcn.18003efb0
mov r8, qword [rbp + 0x18]
mov r9d, r13d
mov rdx, qword [rbp + 0x10]
mov rcx, rdi
mov dword [rsp + 0x38], r12d
mov dword [rsp + 0x30], r15d
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ebx
call fcn.180039cb0
mov r14d, dword [rsp + 0x40]
jmp 0x18003f7ef
mov rdx, qword [rbp + 0x10]
lea r8, [rsp + 0x80]
mov rcx, rdi
call fcn.18003efb0
mov rdx, qword [rbp + 0x18]
lea r8, [rsp + 0x40]
mov rcx, rdi
mov ebx, eax
call fcn.18003efb0
mov r8, qword [rbp + 0x18]
mov r9d, esi
mov rdx, qword [rbp + 0x10]
cmp r13d, 0x49
mov dword [rsp + 0x38], 0x80
mov rcx, rdi
sete r9b
mov dword [rsp + 0x30], r15d
mov dword [rsp + 0x28], eax
add r9d, 0x4e
mov dword [rsp + 0x20], ebx
call fcn.180039cb0
mov r14d, dword [rsp + 0x40]
jmp 0x18003f7ef
mov rdx, qword [rbp + 0x10]
lea r8, [rsp + 0x80]
mov rcx, rdi
call fcn.18003efb0
mov edx, r13d
mov dword [rsp + 0x20], esi
jmp 0x18003f7e1
mov r9d, 1
mov dword [rsp + 0x20], r12d
mov rdx, rbp
mov rcx, rdi
call fcn.18003f340
jmp 0x18003f862
mov r13, qword [rbx + 0x30]
movsxd r14, dword [r13 + 0x78]
lea eax, [r14 + 1]
mov dword [r13 + 0x78], eax
lea eax, [r14 - 1]
test r14d, eax
jne 0x18003f717
mov rdx, qword [r13 + 0x80]
lea eax, [r14*2 + 1]
mov rcx, qword [r13]
movsxd r8, eax
shl r8, 2
call fcn.180005ca0
mov qword [r13 + 0x80], rax
mov rcx, qword [r13 + 0x80]
test rcx, rcx
je 0x18003f72b
mov dword [rcx + r14*4], 0xffffffff
mov r8d, r14d
test r12d, r12d
not r8d
mov rdx, rbp
mov r9d, r8d
mov rcx, rdi
cmovne r9d, r15d
call fcn.18003c9c0
xor r8d, r8d
mov dword [rsp + 0x20], esi
mov r9d, r15d
mov rcx, rbx
lea edx, [r8 + 0x10]
call fcn.180025ce0
mov r8, qword [rbx + 0x30]
test r14d, r14d
js 0x18003f778
mov rdx, qword [r8 + 0x80]
test rdx, rdx
je 0x18003f778
mov eax, dword [rbx + 0x3c]
mov dword [rdx + r14*4], eax
mov eax, dword [rbx + 0x3c]
dec eax
mov dword [r8 + 0x64], eax
jmp 0x18003f862
mov rcx, rbp
call fcn.18003a2f0
test eax, eax
je 0x18003f7ad
xor r8d, r8d
mov dword [rsp + 0x20], esi
mov r9d, r15d
mov rcx, rbx
lea edx, [r8 + 0x10]
call fcn.180025ce0
jmp 0x18003f862
mov rcx, rbp
call fcn.18003a3d0
test eax, eax
jne 0x18003f862
lea r8, [rsp + 0x80]
mov rdx, rbp
mov rcx, rdi
call fcn.18003efb0
mov ecx, esi
test r12d, r12d
mov edx, 0x2d
setne cl
mov dword [rsp + 0x20], ecx
mov r9d, r15d
mov r8d, eax
mov rcx, rbx
call fcn.180025ce0
mov edx, dword [rsp + 0x80]
test edx, edx
je 0x18003f82e
movzx r8d, byte [rdi + 0x1f]
cmp r8b, 8
jae 0x18003f82e
mov ecx, esi
lea rax, [rdi + 0x88]
nop
cmp dword [rax + 0xc], edx
je 0x18003f82a
inc ecx
add rax, 0x14
cmp ecx, 0xa
jl 0x18003f810
mov dword [rdi + r8*4 + 0x24], edx
inc byte [rdi + 0x1f]
jmp 0x18003f82e
mov byte [rax + 6], 1
test r14d, r14d
je 0x18003f862
movzx ecx, byte [rdi + 0x1f]
cmp cl, 8
jae 0x18003f862
lea rax, [rdi + 0x88]
cmp dword [rax + 0xc], r14d
je 0x18003f85e
inc esi
add rax, 0x14
cmp esi, 0xa
jl 0x18003f843
mov dword [rdi + rcx*4 + 0x24], r14d
inc byte [rdi + 0x1f]
jmp 0x18003f862
mov byte [rax + 6], 1
mov r13, qword [rsp + 0x88]
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x40]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret