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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0x100
mov rax, qword [0x18007f060]
xor rax, rsp
mov qword [rbp + 0x47], rax
movzx r8d, word [rcx + 0x270]
mov edi, 0x10b
mov r10, rcx
mov ebx, 0x20b
cmp r8w, di
jne 0x180021089
mov rcx, qword [rcx + 0x120]
jmp 0x18002109a
cmp r8w, bx
jne 0x18002113d
mov rcx, qword [rcx + 0x210]
mov rax, rcx
mov qword [rsp + 0x20], rcx
shr rax, 0x20
test eax, eax
je 0x18002113d
cmp r8w, di
jne 0x1800210c0
mov r9d, dword [r10 + 0x8c]
add r9d, ecx
jmp 0x1800210d0
cmp r8w, bx
jne 0x18002113d
mov r9d, ecx
add r9, qword [r10 + 0x168]
mov rdx, qword [r10 + 0x240]
mov r11, qword [r10 + 0x248]
cmp rdx, r11
je 0x18002113d
nop dword [rax]
nop word [rax + rax]
movups xmm0, xmmword [rdx]
movups xmmword [rsp + 0x28], xmm0
cmp r8w, di
jne 0x18002110f
mov rcx, qword [rbp - 0x79]
shr rcx, 0x20
add ecx, dword [r10 + 0x8c]
jmp 0x180021124
cmp r8w, bx
jne 0x18002113d
mov rcx, qword [rbp - 0x79]
shr rcx, 0x20
add rcx, qword [r10 + 0x168]
cmp r9, rcx
jb 0x180021134
mov eax, dword [rbp - 0x79]
add rax, rcx
cmp r9, rax
jb 0x180021160
add rdx, 0x28
cmp rdx, r11
jne 0x1800210f0
mov al, 1
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.180034ea0
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
mov rdx, qword [rdx + 0x10]
shr rdx, 0x20
sub edx, ecx
add edx, r9d
cmp dword [rsp + 0x24], 0
je 0x18002113d
cmp r8w, di
jne 0x1800213fe
mov rax, qword [r10]
mov r8, qword [rax]
test r8, r8
je 0x1800216a3
mov r9d, dword [rax + 0x10]
lea rax, [rdx + 1]
cmp rax, r9
jae 0x1800216a3
mov eax, dword [rdx + r8]
mov dword [rbp - 0x59], eax
lea eax, [rdx + 4]
mov ecx, eax
inc rax
cmp rax, r9
jae 0x1800216a3
mov eax, dword [r8 + rcx]
mov dword [rbp - 0x55], eax
lea eax, [rdx + 8]
mov ecx, eax
inc rax
cmp rax, r9
jae 0x1800216a3
movzx eax, word [r8 + rcx]
mov word [rbp - 0x51], ax
lea eax, [rdx + 0xa]
mov ecx, eax
inc rax
cmp rax, r9
jae 0x1800216a3
movzx eax, word [r8 + rcx]
mov word [rbp - 0x4f], ax
lea eax, [rdx + 0xc]
mov ecx, eax
inc rax
cmp rax, r9
jae 0x1800216a3
mov eax, dword [r8 + rcx]
mov dword [rbp - 0x4d], eax
lea eax, [rdx + 0x10]
mov ecx, eax
inc rax
cmp rax, r9
jae 0x1800216a3
mov eax, dword [r8 + rcx]
mov dword [rbp - 0x49], eax
lea eax, [rdx + 0x14]
mov ecx, eax
inc rax
cmp rax, r9
jae 0x1800216a3
mov eax, dword [r8 + rcx]
mov dword [rbp - 0x45], eax
lea eax, [rdx + 0x18]
mov ecx, eax
inc rax
cmp rax, r9
jae 0x1800216a3
mov eax, dword [r8 + rcx]
mov dword [rbp - 0x41], eax
lea eax, [rdx + 0x1c]
mov ecx, eax
inc rax
cmp rax, r9
jae 0x1800216a3
mov eax, dword [r8 + rcx]
mov dword [rbp - 0x3d], eax
lea eax, [rdx + 0x20]
mov ecx, eax
inc rax
cmp rax, r9
jae 0x1800216a3
mov eax, dword [r8 + rcx]
mov dword [rbp - 0x39], eax
lea eax, [rdx + 0x24]
mov ecx, eax
inc rax
cmp rax, r9
jae 0x1800216a3
mov eax, dword [r8 + rcx]
mov dword [rbp - 0x35], eax
lea eax, [rdx + 0x28]
mov ecx, eax
inc rax
cmp rax, r9
jae 0x1800216a3
mov eax, dword [r8 + rcx]
mov dword [rbp - 0x31], eax
lea eax, [rdx + 0x2c]
mov ecx, eax
inc rax
cmp rax, r9
jae 0x1800216a3
mov eax, dword [r8 + rcx]
mov dword [rbp - 0x2d], eax
lea eax, [rdx + 0x30]
mov ecx, eax
inc rax
cmp rax, r9
jae 0x1800216a3
mov eax, dword [r8 + rcx]
mov dword [rbp - 0x29], eax
lea eax, [rdx + 0x34]
mov ecx, eax
inc rax
cmp rax, r9
jae 0x1800216a3
movzx eax, word [r8 + rcx]
mov word [rbp - 0x25], ax
lea eax, [rdx + 0x36]
mov ecx, eax
inc rax
cmp rax, r9
jae 0x1800216a3
movzx eax, word [r8 + rcx]
mov word [rbp - 0x23], ax
lea eax, [rdx + 0x38]
mov ecx, eax
inc rax
cmp rax, r9
jae 0x1800216a3
mov eax, dword [r8 + rcx]
mov dword [rbp - 0x21], eax
lea eax, [rdx + 0x3c]
mov ecx, eax
inc rax
cmp rax, r9
jae 0x1800216a3
mov eax, dword [r8 + rcx]
mov dword [rbp - 0x1d], eax
lea eax, [rdx + 0x40]
mov ecx, eax
inc rax
cmp rax, r9
jae 0x1800216a3
mov eax, dword [r8 + rcx]
mov dword [rbp - 0x19], eax
lea eax, [rdx + 0x44]
mov ecx, eax
inc rax
cmp rax, r9
jae 0x1800216a3
mov eax, dword [r8 + rcx]
mov dword [rbp - 0x15], eax
lea eax, [rdx + 0x48]
mov ecx, eax
inc rax
cmp rax, r9
jae 0x1800216a3
mov eax, dword [r8 + rcx]
mov dword [rbp - 0x11], eax
lea eax, [rdx + 0x4c]
mov ecx, eax
inc rax
cmp rax, r9
jae 0x1800216a3
mov eax, dword [r8 + rcx]
mov dword [rbp - 0xd], eax
lea eax, [rdx + 0x50]
mov ecx, eax
inc rax
cmp rax, r9
jae 0x1800216a3
mov eax, dword [r8 + rcx]
mov dword [rbp - 9], eax
lea eax, [rdx + 0x54]
mov ecx, eax
inc rax
cmp rax, r9
jae 0x1800216a3
mov eax, dword [r8 + rcx]
mov dword [rbp - 5], eax
lea eax, [rdx + 0x58]
mov ecx, eax
inc rax
cmp rax, r9
jae 0x1800216a3
mov eax, dword [r8 + rcx]
lea rdx, [rbp - 0x59]
mov rcx, r10
mov dword [rbp - 1], eax
call fcn.180029850
jmp 0x18002169b
cmp r8w, bx
jne 0x1800216a3
mov rax, qword [r10]
mov rcx, qword [rax]
test rcx, rcx
je 0x1800216a3
mov r8d, dword [rax + 0x10]
lea rax, [rdx + 1]
cmp rax, r8
jae 0x1800216a3
mov eax, dword [rdx + rcx]
mov dword [rbp - 0x59], eax
lea eax, [rdx + 4]
mov r9d, eax
inc rax
cmp rax, r8
jae 0x1800216a3
mov eax, dword [rcx + r9]
mov dword [rbp - 0x55], eax
lea eax, [rdx + 8]
mov r9d, eax
inc rax
cmp rax, r8
jae 0x1800216a3
movzx eax, word [rcx + r9]
mov word [rbp - 0x51], ax
lea eax, [rdx + 0xa]
mov r9d, eax
inc rax
cmp rax, r8
jae 0x1800216a3
movzx eax, word [rcx + r9]
mov word [rbp - 0x4f], ax
lea eax, [rdx + 0xc]
mov r9d, eax
inc rax
cmp rax, r8
jae 0x1800216a3
mov eax, dword [rcx + r9]
mov dword [rbp - 0x4d], eax
lea eax, [rdx + 0x10]
mov r9d, eax
inc rax
cmp rax, r8
jae 0x1800216a3
mov eax, dword [rcx + r9]
mov dword [rbp - 0x49], eax
lea eax, [rdx + 0x14]
mov r9d, eax
inc rax
cmp rax, r8
jae 0x1800216a3
mov eax, dword [rcx + r9]
mov dword [rbp - 0x45], eax
lea eax, [rdx + 0x18]
mov r9d, eax
inc rax
cmp rax, r8
jae 0x1800216a3
mov rax, qword [rcx + r9]
mov qword [rbp - 0x41], rax
lea eax, [rdx + 0x20]
mov r9d, eax
inc rax
cmp rax, r8
jae 0x1800216a3
mov rax, qword [rcx + r9]
mov qword [rbp - 0x39], rax
lea eax, [rdx + 0x28]
mov r9d, eax
inc rax
cmp rax, r8
jae 0x1800216a3
mov rax, qword [rcx + r9]
mov qword [rbp - 0x31], rax
lea eax, [rdx + 0x30]
mov r9d, eax
inc rax
cmp rax, r8
jae 0x1800216a3
mov rax, qword [rcx + r9]
mov qword [rbp - 0x29], rax
lea eax, [rdx + 0x38]
mov r9d, eax
inc rax
cmp rax, r8
jae 0x1800216a3
mov rax, qword [rcx + r9]
mov qword [rbp - 0x21], rax
lea eax, [rdx + 0x40]
mov r9d, eax
inc rax
cmp rax, r8
jae 0x1800216a3
mov rax, qword [rcx + r9]
mov qword [rbp - 0x19], rax
lea eax, [rdx + 0x48]
mov r9d, eax
inc rax
cmp rax, r8
jae 0x1800216a3
mov eax, dword [rcx + r9]
mov dword [rbp - 0x11], eax
lea eax, [rdx + 0x4c]
mov r9d, eax
inc rax
cmp rax, r8
jae 0x1800216a3
movzx eax, word [rcx + r9]
mov word [rbp - 0xd], ax
lea eax, [rdx + 0x4e]
mov r9d, eax
inc rax
cmp rax, r8
jae 0x1800216a3
movzx eax, word [rcx + r9]
mov word [rbp - 0xb], ax
lea eax, [rdx + 0x50]
mov r9d, eax
inc rax
cmp rax, r8
jae 0x1800216a3
mov rax, qword [rcx + r9]
mov qword [rbp - 9], rax
lea eax, [rdx + 0x58]
mov r9d, eax
inc rax
cmp rax, r8
jae 0x1800216a3
mov rax, qword [rcx + r9]
mov qword [rbp - 1], rax
lea eax, [rdx + 0x60]
mov r9d, eax
inc rax
cmp rax, r8
jae 0x1800216a3
mov rax, qword [rcx + r9]
mov qword [rbp + 7], rax
lea eax, [rdx + 0x68]
mov r9d, eax
inc rax
cmp rax, r8
jae 0x1800216a3
mov rax, qword [rcx + r9]
mov qword [rbp + 0xf], rax
lea eax, [rdx + 0x70]
mov r9d, eax
inc rax
cmp rax, r8
jae 0x1800216a3
mov rax, qword [rcx + r9]
mov qword [rbp + 0x17], rax
lea eax, [rdx + 0x78]
mov r9d, eax
inc rax
cmp rax, r8
jae 0x1800216a3
mov rax, qword [rcx + r9]
mov qword [rbp + 0x1f], rax
lea eax, [rdx + 0x80]
mov r9d, eax
inc rax
cmp rax, r8
jae 0x1800216a3
mov rax, qword [rcx + r9]
mov qword [rbp + 0x27], rax
lea eax, [rdx + 0x88]
mov r9d, eax
inc rax
cmp rax, r8
jae 0x1800216a3
mov rax, qword [rcx + r9]
mov qword [rbp + 0x2f], rax
lea eax, [rdx + 0x90]
mov edx, eax
inc rax
cmp rax, r8
jae 0x1800216a3
mov eax, dword [rcx + rdx]
lea rdx, [rbp - 0x59]
mov rcx, r10
mov dword [rbp + 0x37], eax
call fcn.18002a820
test al, al
jne 0x18002113d
xor al, al
jmp 0x18002113f