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

Disassembly:
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbp
push rbx
sub rsp, 0x98
xor eax, eax
mov qword [rsp + 0x48], rax
xorps xmm4, xmm4
movaps xmmword [rsp + 0x50], xmm4
movaps xmmword [rsp + 0x60], xmm4
movaps xmmword [rsp + 0x70], xmm4
movaps xmmword [rsp + 0x80], xmm4
mov qword [rsp + 0x90], rax
mov qword [rsp + 0xe8], rdx
mov rbx, r8
mov rsi, qword [rcx]
mov edi, dword [rcx + 8]
lea rcx, [0x1804a91b0]
call fcn.180009ba0
mov rbp, rax
mov rcx, rbp
mov edx, 0x3c
xor r8d, r8d
call fcn.1802b7880
xor r14d, r14d
cmp r14d, edi
ja 0x1801683fa
mov r15d, r14d
add r15, rsi
mov ecx, edi
sub ecx, r14d
cmp ecx, 0x100
jb 0x180168400
mov r13, qword [r15 + 0x50]
movsxd rcx, r13d
cmp r13, rcx
jne 0x1801683e1
mov r12d, r13d
cmp byte [rsp + 0xe8], 0
je 0x180167ffa
cmp dword [rsp + 0xec], r12d
jne 0x18016837b
xor eax, eax
mov rdx, qword [r15 + 0x40]
test rdx, rdx
jne 0x1801680ea
cmp r12d, 4
je 0x1801680bc
test r12d, r12d
je 0x1801680b3
lea rcx, [0x180415370]
cmp qword [rcx - 8], 0
jne 0x1801683e6
mov rcx, qword [0x180c441d8]
mov rcx, qword [rcx + 0x18]
test r12d, r12d
jge 0x180168062
test rcx, rcx
je 0x18016804a
call fcn.1801b0aa0
jmp 0x18016804f
call fcn.1801b0960
mov r8, qword [rax + 0x28]
mov ecx, r12d
mov edx, 0xffffffff
call fcn.18019cbe0
jmp 0x1801680b1
cmp r12d, 0x12c
jae 0x1801680a9
lea rcx, [0x1804152f0]
cmp qword [rcx - 8], 0
jne 0x1801683f0
mov rcx, qword [0x180c44188]
mov rcx, qword [rcx + 8]
cmp r12d, dword [rcx + 8]
jae 0x18016840b
mov eax, r12d
mov rax, qword [rcx + rax*8 + 0x10]
test rax, rax
jne 0x1801680a7
mov ecx, r12d
call fcn.18019f410
jmp 0x1801680b1
mov ecx, r12d
call fcn.18019cf80
jmp 0x1801680c3
lea rax, [0x1803c56b8]
jmp 0x1801680c3
lea rax, [0x1803d4120]
test rax, rax
jne 0x1801680ce
xor edx, edx
xor ecx, ecx
jmp 0x1801680df
lea rdx, [rax + 0xc]
mov qword [rsp + 0x40], rax
mov ecx, dword [rax + 8]
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x70], rdx
mov dword [rsp + 0x78], ecx
jmp 0x180168119
movzx ecx, word [r15 + 0x38]
shr ecx, 1
mov qword [rsp + 0x40], rax
js 0x1801683fa
mov qword [rsp + 0x58], rdx
mov dword [rsp + 0x60], ecx
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x70]
call 0x180168420
mov rax, qword [rsp + 0x40]
movups xmm0, xmmword [rsp + 0x70]
movups xmmword [rsp + 0x88], xmm0
test rbx, rbx
je 0x180168182
cmp dword [rbx + 8], 0
je 0x180168182
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x88]
mov edx, dword [rsp + 0x90]
lea r8, [rbx + 0xc]
mov r10d, dword [rbx + 8]
mov qword [rsp + 0x58], rcx
mov dword [rsp + 0x60], edx
mov qword [rsp + 0x48], r8
mov dword [rsp + 0x50], r10d
lea rcx, [rsp + 0x58]
lea rdx, [rsp + 0x48]
mov r8d, 5
call fcn.18019b0e0
test eax, eax
mov rax, qword [rsp + 0x40]
je 0x18016837b
test rax, rax
mov qword [rsp + 0x40], rax
jne 0x18016819e
lea rcx, [rsp + 0x88]
call fcn.1802a1c60
mov qword [rsp + 0x40], rax
lea rcx, [0x180448b78]
call fcn.180009ba0
mov qword [rsp + 0x38], rax
mov edx, dword [r15 + 4]
mov dword [rsp + 0x6c], edx
lea rcx, [0x1803b01e8]
mov qword [rax + 0x10], rcx
lea rcx, [0x1804843e0]
call fcn.180009ba0
mov qword [rsp + 0x28], rax
mov rcx, rax
mov edx, dword [rsp + 0x6c]
call fcn.18030d680
mov rax, qword [rsp + 0x38]
lea rcx, [rax + 8]
mov rdx, qword [rsp + 0x28]
call fcn.180009db0
mov rax, qword [rsp + 0x38]
lea rcx, [rax + 0x10]
mov rdx, qword [rsp + 0x40]
call fcn.180009db0
mov rax, qword [rsp + 0x38]
mov dword [rax + 0x64], r12d
mov ecx, dword [r15 + 0x64]
mov dword [rax + 0x68], ecx
mov rcx, qword [r15 + 0xa0]
mov qword [rax + 0x18], rcx
mov rcx, qword [r15 + 0xb0]
mov qword [rax + 0x20], rcx
mov rcx, qword [r15 + 0x78]
mov qword [rax + 0x28], rcx
mov rcx, qword [r15 + 0x70]
mov qword [rax + 0x30], rcx
mov rcx, qword [r15 + 0x88]
mov qword [rax + 0x38], rcx
mov rcx, qword [r15 + 0x90]
mov qword [rax + 0x40], rcx
mov rcx, qword [r15 + 0xc0]
mov qword [rax + 0x48], rcx
mov rcx, qword [r15 + 0xb8]
mov qword [rax + 0x50], rcx
mov rcx, qword [r15 + 0xc8]
mov qword [rax + 0x58], rcx
mov ecx, dword [r15 + 0x48]
mov dword [rax + 0x60], ecx
mov ecx, dword [r15 + 0x60]
mov dword [rax + 0x6c], ecx
mov r12, rax
mov edx, r13d
mov rcx, rbp
mov r8, r12
mov r9d, 1
call fcn.1802b7c60
lea r13d, [r14 + 0x100]
xor eax, eax
mov dword [rsp + 0x84], eax
cmp dword [r15 + 4], 0
je 0x18016837b
cmp r13d, edi
ja 0x1801683fa
mov edx, r13d
add rdx, rsi
mov ecx, edi
sub ecx, r13d
mov qword [rsp + 0x20], rdx
cmp ecx, 0x50
jb 0x180168400
lea rcx, [0x180448c68]
call fcn.180009ba0
mov rdx, rax
mov qword [rsp + 0x30], rdx
mov rcx, qword [rsp + 0x20]
mov eax, dword [rcx + 0x28]
mov dword [rdx + 0x18], eax
mov rax, qword [rcx + 0x30]
mov qword [rdx + 8], rax
mov eax, dword [rcx + 0x3c]
mov dword [rdx + 0x1c], eax
mov eax, dword [rcx + 0x38]
mov dword [rdx + 0x20], eax
mov rax, qword [rcx + 0x20]
mov qword [rdx + 0x10], rax
mov eax, dword [rcx + 0x44]
mov dword [rdx + 0x24], eax
mov ecx, dword [rcx + 0x48]
call fcn.180167880
mov rdx, qword [rsp + 0x30]
mov dword [rdx + 0x28], eax
mov rcx, qword [r12 + 8]
inc dword [rcx + 0x14]
mov rax, qword [rcx + 8]
mov r8d, dword [rcx + 0x10]
cmp dword [rax + 8], r8d
jbe 0x180168352
lea r10d, [r8 + 1]
mov dword [rcx + 0x10], r10d
mov ecx, r8d
lea rcx, [rax + rcx*8 + 0x10]
call fcn.180009db0
jmp 0x180168357
call fcn.18030d9a0
add r13d, 0x50
mov eax, dword [rsp + 0x84]
inc eax
movsxd rcx, eax
mov edx, dword [r15 + 4]
cmp rcx, rdx
mov dword [rsp + 0x84], eax
jl 0x1801682b2
cmp dword [r15], 0
je 0x18016838e
add r14d, dword [r15]
cmp r14d, edi
ja 0x1801683fa
jmp 0x180167fb8
mov rcx, rbp
call fcn.1802b7930
mov rdx, qword [rax + 8]
mov ecx, dword [rdx + 0x38]
sub ecx, dword [rdx + 0x40]
movsxd rdx, ecx
lea rcx, [0x1805233d8]
call fcn.180009cc0
mov rbx, rax
mov rcx, rbp
call fcn.1802b7930
mov rcx, rax
mov rdx, rbx
xor r8d, r8d
cmp dword [rcx], ecx
call fcn.1802b8c20
mov rax, rbx
add rsp, 0x98
pop rbx
pop rbp
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
ret
call fcn.18021c030
call fcn.1800046ab
jmp 0x18016802e
call fcn.1800045eb
jmp 0x18016807d
call fcn.1801a2720
nop
mov ecx, 0x28
call fcn.1801a2be0
nop
call fcn.18021c060
nop
mov rax, rax
inc rcx
dec rcx
push rcx
mov rcx, rax
pop rcx
nop
push rdi
push rsi
push rbx
sub rsp, 0x40
xorps xmm4, xmm4
movaps xmmword [rsp + 0x20], xmm4
movaps xmmword [rsp + 0x30], xmm4
mov rbx, rcx
mov rsi, qword [rdx]
mov edi, dword [rdx + 8]
mov rcx, rsi
mov edx, 0x5c
mov r8d, edi
call fcn.180364a40
inc eax
cmp eax, edi
ja 0x1801684af
mov ecx, eax
lea rsi, [rsi + rcx*2]
sub edi, eax
lea rcx, [0x1803b56a0]
add rcx, 0xc
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x38], edi
mov qword [rsp + 0x20], rcx
mov dword [rsp + 0x28], 4
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x20]
mov r8d, 5
call fcn.18019b370
test eax, eax
je 0x18016849e
lea eax, [rdi - 4]
cmp eax, edi
ja 0x1801684af
mov edi, eax
mov qword [rbx], rsi
mov dword [rbx + 8], edi
mov rax, rbx
add rsp, 0x40
pop rbx
pop rsi
pop rdi
ret
call fcn.1801a2720
nop
mov rcx, rcx
inc rax
dec rax
nop
nop
xor eax, eax
mov qword [rcx + 8], rax
mov dword [rcx + 0x10], 4
mov byte [rcx + 0x14], 1
mov byte [rcx + 0x15], 1
mov qword [rcx + 8], rax
ret