Function at 0x180185700
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 rsi, r8
mov rdi, qword [rcx]
mov ebx, dword [rcx + 8]
lea rcx, [0x1802c3d48]
call fcn.180003b10
mov rbp, rax
mov rcx, rbp
mov edx, 0x3c
xor r8d, r8d
call fcn.18018c6c0
xor r14d, r14d
cmp r14d, ebx
ja 0x180185b50
mov r15d, r14d
add r15, rdi
mov eax, ebx
sub eax, r14d
cmp eax, 0x100
jb 0x180185b56
mov rax, qword [r15 + 0x50]
movsxd rdx, eax
cmp rax, rdx
jne 0x180185b4b
mov r12d, eax
mov r13d, r12d
cmp byte [rsp + 0xe8], 0
je 0x1801857bc
cmp dword [rsp + 0xec], r13d
jne 0x180185aea
xor eax, eax
mov rdx, qword [r15 + 0x40]
test rdx, rdx
jne 0x180185849
cmp r13d, 4
je 0x18018581b
test r13d, r13d
je 0x180185812
call fcn.180001658
mov rcx, qword [rax + 0x18]
test r13d, r13d
jge 0x180185808
test rcx, rcx
je 0x1801857f0
call fcn.1800a4ea0
jmp 0x1801857f5
call fcn.1800a4e00
mov r8, qword [rax + 0x28]
mov ecx, r13d
mov edx, 0xffffffff
call fcn.18008b360
jmp 0x180185810
mov ecx, r13d
call fcn.18008b770
jmp 0x180185822
lea rax, [0x1803a96c8]
jmp 0x180185822
lea rax, [0x1803ad4d0]
test rax, rax
jne 0x18018582d
xor edx, edx
xor ecx, ecx
jmp 0x18018583e
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 0x180185878
movzx ecx, word [r15 + 0x38]
shr ecx, 1
mov qword [rsp + 0x40], rax
js 0x180185b50
mov qword [rsp + 0x58], rdx
mov dword [rsp + 0x60], ecx
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x70]
call fcn.180185b70
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x70]
mov qword [rsp + 0x88], rcx
mov ecx, dword [rsp + 0x78]
mov dword [rsp + 0x90], ecx
test rsi, rsi
je 0x1801858ec
cmp dword [rsi + 8], 0
je 0x1801858ec
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x88]
mov edx, dword [rsp + 0x90]
lea r8, [rsi + 0xc]
mov r9d, dword [rsi + 8]
mov qword [rsp + 0x58], rcx
mov dword [rsp + 0x60], edx
mov qword [rsp + 0x48], r8
mov dword [rsp + 0x50], r9d
lea rcx, [rsp + 0x58]
lea rdx, [rsp + 0x48]
mov r8d, 5
call fcn.180089220
test eax, eax
mov rax, qword [rsp + 0x40]
je 0x180185aea
test rax, rax
mov qword [rsp + 0x40], rax
jne 0x180185908
lea rcx, [rsp + 0x88]
call fcn.1801894a0
mov qword [rsp + 0x40], rax
lea rcx, [0x1802b8fd8]
call fcn.180003b10
mov qword [rsp + 0x38], rax
mov r8d, dword [r15 + 4]
mov dword [rsp + 0x6c], r8d
lea rcx, [rax + 0x10]
lea rdx, [0x18039b008]
call fcn.180003e20
lea rcx, [0x1802daaa0]
call fcn.180003b10
mov qword [rsp + 0x28], rax
mov rcx, rax
mov edx, dword [rsp + 0x6c]
call fcn.1801a6ce0
mov rax, qword [rsp + 0x38]
lea rcx, [rax + 8]
mov rdx, qword [rsp + 0x28]
call fcn.180003e20
mov rax, qword [rsp + 0x38]
lea rcx, [rax + 0x10]
mov rdx, qword [rsp + 0x40]
call fcn.180003e20
mov rax, qword [rsp + 0x38]
mov dword [rax + 0x64], r13d
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 r13, rax
mov edx, r12d
mov rcx, rbp
mov r8, r13
mov r9d, 1
call fcn.18018c980
lea r12d, [r14 + 0x100]
xor eax, eax
mov dword [rsp + 0x84], eax
cmp dword [r15 + 4], 0
je 0x180185aea
cmp r12d, ebx
ja 0x180185b50
mov edx, r12d
add rdx, rdi
mov ecx, ebx
sub ecx, r12d
mov qword [rsp + 0x20], rdx
cmp ecx, 0x50
jb 0x180185b56
lea rcx, [0x1802b90f0]
call fcn.180003b10
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.180184950
mov rdx, qword [rsp + 0x30]
mov dword [rdx + 0x28], eax
mov rcx, qword [r13 + 8]
inc dword [rcx + 0x14]
mov rax, qword [rcx + 8]
mov r8d, dword [rcx + 0x10]
cmp dword [rax + 8], r8d
jbe 0x180185ac1
lea r9d, [r8 + 1]
mov dword [rcx + 0x10], r9d
mov ecx, r8d
lea rcx, [rax + rcx*8 + 0x10]
call fcn.180003e20
jmp 0x180185ac6
call fcn.1801a6fb0
add r12d, 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 0x180185a22
cmp dword [r15], 0
je 0x180185af8
add r14d, dword [r15]
jmp 0x18018576f
mov rcx, rbp
call fcn.18018c720
mov rdx, qword [rax + 8]
mov ecx, dword [rdx + 0x38]
sub ecx, dword [rdx + 0x40]
movsxd rdx, ecx
lea rcx, [0x1802e8fb0]
call fcn.180003c30
mov rsi, rax
mov rcx, rbp
call fcn.18018c720
mov rcx, rax
mov rdx, rsi
xor r8d, r8d
cmp dword [rcx], ecx
call fcn.18018d6b0
mov rax, rsi
add rsp, 0x98
pop rbx
pop rbp
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
ret
call fcn.1800ec750
call fcn.180096c30
int3
mov ecx, 0x29
call fcn.1800970f0
int3