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

Disassembly:
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xa0]
sub rsp, 0x1a0
mov rax, qword [0x180195240]
xor rax, rsp
mov qword [rbp + 0x50], rax
mov r14, qword [r9]
mov r12, r9
mov rax, qword [r9 + 8]
mov r13d, r8d
mov r15, qword [rbp + 0xf0]
sub rax, r14
and rax, 0xfffffffffffffffc
mov qword [rsp + 0x70], r9
mov dword [rsp + 0x28], r8d
mov dword [rsp + 0x20], edx
mov qword [rsp + 0x40], rcx
mov qword [rbp - 0x48], r15
cmp rax, 0xc
je 0x1800a8446
xor al, al
jmp 0x1800a9804
mov qword [rsp + 0x198], rbx
xorps xmm0, xmm0
movsxd rbx, dword [r14]
mov qword [rsp + 0x190], rsi
mov rdx, rbx
lea rsi, [rcx + 0x18]
mov qword [rsp + 0x188], rdi
mov rcx, rsi
mov qword [rsp + 0x48], rsi
movdqu xmmword [rbp - 0x18], xmm0
mov qword [rbp - 8], 0
xor edi, edi
call fcn.18002a510
mov ecx, dword [rsp + 0x20]
cmp dword [rax], ecx
je 0x1800a84b4
mov rdx, rbx
mov rcx, rsi
call fcn.18002a510
cmp dword [rax], r13d
je 0x1800a84b4
mov rdx, rbx
mov rcx, rsi
call fcn.18002a510
mov edi, 1
mov ecx, dword [rax]
mov dword [rbp + 0x40], ecx
mov rdx, rbx
mov rcx, rsi
call fcn.18002a510
mov ecx, dword [rsp + 0x20]
cmp dword [rax + 4], ecx
je 0x1800a84ee
mov rdx, rbx
mov rcx, rsi
call fcn.18002a510
cmp dword [rax + 4], r13d
je 0x1800a84ee
mov rdx, rbx
mov rcx, rsi
call fcn.18002a510
mov ecx, dword [rax + 4]
mov dword [rbp + rdi*4 + 0x40], ecx
inc rdi
mov rdx, rbx
mov rcx, rsi
call fcn.18002a510
mov ecx, dword [rsp + 0x20]
cmp dword [rax + 8], ecx
je 0x1800a8528
mov rdx, rbx
mov rcx, rsi
call fcn.18002a510
cmp dword [rax + 8], r13d
je 0x1800a8528
mov rdx, rbx
mov rcx, rsi
call fcn.18002a510
mov ecx, dword [rax + 8]
mov dword [rbp + rdi*4 + 0x40], ecx
inc rdi
mov rdx, rbx
mov rcx, rsi
call fcn.18002a510
mov ecx, dword [rsp + 0x20]
cmp dword [rax + 0xc], ecx
je 0x1800a855f
mov rdx, rbx
mov rcx, rsi
call fcn.18002a510
cmp dword [rax + 0xc], r13d
je 0x1800a855f
mov rdx, rbx
mov rcx, rsi
call fcn.18002a510
mov ecx, dword [rax + 0xc]
mov dword [rbp + rdi*4 + 0x40], ecx
movsxd rdx, dword [r14 + 4]
mov rcx, rsi
call fcn.18002a510
mov edx, dword [rbp + 0x40]
mov rcx, rax
call fcn.180061150
mov rcx, qword [r12]
test eax, eax
js 0x1800a85c2
movsxd rdx, dword [rcx + 4]
mov rcx, rsi
call fcn.18002a510
mov rdx, rax
lea rcx, [rbp - 0x18]
call fcn.1800a81f0
mov rax, qword [r12]
mov rcx, rsi
movsxd rdx, dword [rax + 8]
call fcn.18002a510
mov rdx, rax
lea rcx, [rbp - 0x18]
call fcn.1800a81f0
mov rcx, qword [r12]
mov eax, dword [rcx + 4]
mov dword [rsp + 0x38], eax
mov eax, dword [rcx + 8]
jmp 0x1800a8604
movsxd rdx, dword [rcx + 8]
mov rcx, rsi
call fcn.18002a510
mov rdx, rax
lea rcx, [rbp - 0x18]
call fcn.1800a81f0
mov rax, qword [r12]
mov rcx, rsi
movsxd rdx, dword [rax + 4]
call fcn.18002a510
mov rdx, rax
lea rcx, [rbp - 0x18]
call fcn.1800a81f0
mov rcx, qword [r12]
mov eax, dword [rcx + 8]
mov dword [rsp + 0x38], eax
mov eax, dword [rcx + 4]
mov dword [rsp + 0x3c], eax
lea rcx, [rbp - 0x18]
mov rbx, qword [rsp + 0x38]
xor edx, edx
movaps xmmword [rsp + 0x170], xmm6
mov qword [rbp + 0x48], rbx
mov qword [rbp - 0x50], rbx
movaps xmmword [rsp + 0x160], xmm7
call fcn.18002a510
mov edx, dword [rsp + 0x20]
mov rcx, rax
call fcn.180061150
xor edx, edx
movsxd rdi, eax
lea rcx, [rbp - 0x18]
call fcn.18002a510
mov edx, dword [rbp + 0x44]
lea rcx, [rbp - 0x18]
mov dword [rbp + 0x18], edx
mov dword [rax + rdi*4], edx
mov edx, 1
call fcn.18002a510
mov edx, r13d
mov rcx, rax
call fcn.180061150
mov edx, 1
movsxd rdi, eax
lea rcx, [rbp - 0x18]
call fcn.18002a510
mov r13, qword [rbp - 0x10]
mov ecx, dword [rbp + 0x40]
mov qword [rbp - 0x38], r13
mov dword [rax + rdi*4], ecx
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x58], rax
cmp rax, r13
je 0x1800a8710
lea r13, [rax + 8]
nop dword [rax]
mov rdi, qword [rsp + 0x40]
movsxd rdx, dword [r13 + 4]
mov rcx, rdi
call fcn.18002a530
movsxd rdx, dword [r13]
mov rcx, rdi
mov r14, rax
call fcn.18002a530
movsxd rdx, dword [r13 - 4]
mov rcx, rdi
mov rsi, rax
call fcn.18002a530
movsxd rdx, dword [r13 - 8]
mov rdi, rax
mov rcx, qword [rsp + 0x40]
call fcn.18002a530
mov r9, r14
mov r8, rsi
mov rdx, rdi
mov rcx, rax
call fcn.180137520
test al, al
jne 0x1800a87db
add r13, 0x50
lea rax, [r13 - 8]
cmp rax, qword [rbp - 0x38]
jne 0x1800a86a0
mov rsi, qword [rsp + 0x48]
mov r13, qword [rbp - 0x38]
mov r14, qword [r12 + 8]
xor r8d, r8d
mov rdi, qword [r12]
xorps xmm0, xmm0
mov qword [rbp - 0x60], r8
xorps xmm7, xmm7
movdqu xmmword [rbp - 0x30], xmm0
cmp rdi, r14
je 0x1800a8750
movsxd rdx, dword [rdi]
mov rcx, rsi
call fcn.18002a510
add rdi, 4
movsd xmm0, qword [rax + 0x30]
maxsd xmm0, xmm7
movaps xmm7, xmm0
cmp rdi, r14
jne 0x1800a8730
mov r12, qword [rbp - 0x58]
cmp r12, r13
je 0x1800a88b4
mov rsi, qword [rbp - 0x30]
lea r14, [r12 + 8]
mov rdi, qword [rbp - 0x28]
mov qword [rsp + 0x60], rsi
nop
mov rax, qword [rsp + 0x40]
mov r10, qword [rax]
movsxd rax, dword [r14 + 4]
lea r9, [rax + rax*4]
movsxd rax, dword [r14]
shl r9, 4
add r9, r10
lea r8, [rax + rax*4]
movsxd rax, dword [r14 - 4]
shl r8, 4
add r8, r10
lea rdx, [rax + rax*4]
movsxd rax, dword [r14 - 8]
shl rdx, 4
add rdx, r10
lea rcx, [rax + rax*4]
shl rcx, 4
add rcx, r10
call fcn.18012f410
comisd xmm0, xmm7
movaps xmm6, xmm0
jae 0x1800a88ad
mov rdx, qword [rbp - 0x60]
cmp rdi, rdx
je 0x1800a87e2
movsd qword [rdi], xmm0
add rdi, 8
jmp 0x1800a889a
xor bl, bl
jmp 0x1800a977a
sub rdi, rsi
movabs r8, 0x1fffffffffffffff
mov r13, rdi
sar r13, 3
cmp r13, r8
je 0x1800a9827
sub rdx, rsi
lea r12, [r13 + 1]
sar rdx, 3
mov rax, r8
mov rcx, rdx
mov qword [rbp - 0x60], rdx
shr rcx, 1
sub rax, rcx
cmp rdx, rax
jbe 0x1800a8824
mov rcx, r8
jmp 0x1800a883b
lea rax, [rdx + rcx]
mov rcx, r12
cmp rax, r12
cmovae rcx, rax
cmp rcx, r8
ja 0x1800a9839
lea rax, [rcx*8]
mov rcx, rax
mov qword [rsp + 0x38], rax
call fcn.180014480
mov r8, rdi
mov rcx, rax
mov rdi, qword [rsp + 0x60]
mov rsi, rax
mov rdx, rdi
movsd qword [rax + r13*8], xmm6
call sub.VCRUNTIME140.dll_memmove
test rdi, rdi
je 0x1800a8881
mov r8, qword [rbp - 0x60]
lea rcx, [rbp - 0x30]
mov rdx, rdi
call fcn.18005cd50
mov r8, qword [rsp + 0x38]
lea rdi, [rsi + r12*8]
mov r13, qword [rbp - 0x38]
add r8, rsi
mov qword [rbp - 0x60], r8
mov qword [rsp + 0x60], rsi
add r14, 0x50
lea rax, [r14 - 8]
cmp rax, r13
jne 0x1800a8770
jmp 0x1800a88bd
xor bl, bl
jmp 0x1800a9744
mov rax, qword [rbp - 0x30]
mov qword [rsp + 0x60], rax
mov r10, qword [rsp + 0x70]
xor eax, eax
mov qword [rsp + 0x38], rax
xor ecx, ecx
mov qword [rbp - 0x20], rax
xorps xmm0, xmm0
mov dword [rsp + 0x78], eax
xor esi, esi
mov rdx, qword [r10]
xor r8d, r8d
mov rax, qword [r10 + 8]
xor r13d, r13d
sub rax, rdx
mov qword [rsp + 0x58], rsi
sar rax, 2
xor r14d, r14d
xor r12d, r12d
mov qword [rbp - 0x68], rcx
test rax, rax
mov qword [rbp - 0x70], r8
movdqu xmmword [rbp], xmm0
mov rax, qword [rbp]
mov r11d, 2
mov qword [rsp + 0x50], rax
movdqu xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x80], r13
mov qword [rbp - 0x78], rcx
mov dword [rsp + 0x2c], r11d
je 0x1800a8dd7
mov r13, qword [rbp + 8]
xor r9d, r9d
mov qword [rsp + 0x68], r9
nop word [rax + rax]
xor edi, edi
mov dword [rsp + 0x24], r11d
mov qword [rbp - 0x40], rdi
mov r8d, r11d
nop
mov rax, qword [r10]
movsxd rcx, dword [r9 + rax]
mov rax, qword [rsp + 0x40]
lea rdx, [rcx + rcx*4]
mov rax, qword [rax + 0x18]
shl rdx, 4
add rax, rdx
mov ecx, dword [rax + rdi*4]
cmp ecx, dword [rsp + 0x20]
je 0x1800a897e
cmp ecx, dword [rsp + 0x28]
jne 0x1800a8d88
lea ecx, [r8 - 1]
and ecx, 0x80000003
jge 0x1800a8991
dec ecx
or ecx, 0xfffffffc
inc ecx
movsxd rcx, ecx
mov edx, dword [rax + rcx*4]
mov ecx, r8d
mov dword [rbp + 0x30], edx
and ecx, 0x80000003
jge 0x1800a89ac
dec ecx
or ecx, 0xfffffffc
inc ecx
movsxd rcx, ecx
mov edx, dword [rax + rcx*4]
lea ecx, [r8 + 1]
mov dword [rbp + 0x34], edx
and ecx, 0x80000003
jge 0x1800a89c8
dec ecx
or ecx, 0xfffffffc
inc ecx
movsxd rcx, ecx
xor r9d, r9d
mov edx, dword [rax + rcx*4]
lea r8d, [r9 + 3]
mov dword [rbp + 0x38], edx
lea rcx, [rbp + 0x30]
lea rdx, [rbp + 0x3c]
call fcn.18001daa0
mov rcx, qword [rbp - 0x28]
cmp rcx, qword [rsp + 0x38]
je 0x1800a8a09
movsd xmm0, qword [rbp + 0x30]
movsd qword [rcx], xmm0
mov eax, dword [rbp + 0x38]
mov dword [rcx + 8], eax
add rcx, 0xc
mov qword [rbp - 0x28], rcx
jmp 0x1800a8a22
mov rdx, rcx
lea r8, [rbp + 0x30]
lea rcx, [rbp - 0x30]
call fcn.180016d90
mov rax, qword [rbp - 0x20]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x68]
mov r8, qword [rbp - 0x68]
mov rax, qword [rax]
movsxd rcx, dword [rcx + rax]
mov rax, qword [rsp + 0x40]
lea rdx, [rcx + rcx*4]
mov rax, qword [rax + 0x18]
shl rdx, 4
add rdx, rdi
movsx eax, byte [rdx + rax + 0x10]
mov dword [rsp + 0x30], eax
cmp r14, r8
je 0x1800a8a65
mov dword [r14], eax
add r14, 4
jmp 0x1800a8b48
sub r14, rsi
movabs r9, 0x3fffffffffffffff
mov rsi, r14
sar rsi, 2
cmp rsi, r9
je 0x1800a9833
sub r8, qword [rsp + 0x58]
lea rdx, [rsi + 1]
sar r8, 2
mov rax, r9
mov rcx, r8
mov qword [rbp - 0x68], r8
shr rcx, 1
sub rax, rcx
cmp r8, rax
jbe 0x1800a8aa9
mov rcx, r9
jmp 0x1800a8ac0
lea rax, [r8 + rcx]
mov rcx, rdx
cmp rax, rdx
cmovae rcx, rax
cmp rcx, r9
ja 0x1800a982d
lea rax, [rcx*4]
mov rcx, rax
mov qword [rbp + 0x20], rax
call fcn.180014480
mov rdi, rax
mov r8, r14
mov eax, dword [rsp + 0x30]
mov rcx, rdi
mov r14, qword [rsp + 0x58]
mov rdx, r14
mov dword [rdi + rsi*4], eax
call sub.VCRUNTIME140.dll_memmove
test r14, r14
je 0x1800a8b2c
mov rcx, qword [rbp - 0x68]
lea rcx, [rcx*4]
cmp rcx, 0x1000
jb 0x1800a8b23
mov rcx, qword [r14 - 8]
sub r14, rcx
lea rax, [r14 - 8]
cmp rax, 0x1f
ja 0x1800a902d
mov r14, rcx
mov rcx, r14
call qword [sym.imp.FactoryGameEGS_Core.dll_public:_static_void___cdecl_FMemory::Free_void____ptr64_]
mov rax, qword [rbp + 0x20]
lea r14, [rsi + 1]
add rax, rdi
mov qword [rsp + 0x58], rdi
lea r14, [rdi + r14*4]
mov qword [rbp - 0x68], rax
mov rdi, qword [rbp - 0x40]
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x68]
mov r10, qword [rbp - 0x70]
mov rax, qword [rax]
movsxd rcx, dword [rcx + rax]
mov rax, qword [rsp + 0x40]
lea rdx, [rcx + rcx*4]
mov rax, qword [rax + 0x18]
shl rdx, 4
add rdx, rdi
movsx eax, byte [rdx + rax + 0x28]
mov dword [rsp + 0x30], eax
cmp r13, r10
je 0x1800a8b8c
mov dword [r13], eax
add r13, 4
jmp 0x1800a8c4c
mov rax, qword [rsp + 0x50]
movabs r8, 0x3fffffffffffffff
sub r13, rax
mov rsi, r13
sar rsi, 2
cmp rsi, r8
je 0x1800a9833
sub r10, rax
lea rdx, [rsi + 1]
sar r10, 2
mov rax, r8
mov rcx, r10
mov qword [rbp - 0x70], r10
shr rcx, 1
sub rax, rcx
cmp r10, rax
jbe 0x1800a8bd3
mov rcx, r8
jmp 0x1800a8bea
lea rax, [rcx + r10]
mov rcx, rdx
cmp rax, rdx
cmovae rcx, rax
cmp rcx, r8
ja 0x1800a982d
lea rax, [rcx*4]
mov rcx, rax
mov qword [rbp + 0x20], rax
call fcn.180014480
mov rdi, rax
mov r8, r13
mov eax, dword [rsp + 0x30]
mov rcx, rdi
mov r13, qword [rsp + 0x50]
mov rdx, r13
mov dword [rdi + rsi*4], eax
call sub.VCRUNTIME140.dll_memmove
test r13, r13
je 0x1800a8c30
mov r8, qword [rbp - 0x70]
lea rcx, [rbp]
mov rdx, r13
call fcn.18005cd00
mov r10, qword [rbp + 0x20]
lea r13, [rsi + 1]
add r10, rdi
mov qword [rsp + 0x50], rdi
lea r13, [rdi + r13*4]
mov qword [rbp - 0x70], r10
mov rdi, qword [rbp - 0x40]
mov r10, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x68]
mov r9, qword [rbp - 0x78]
mov rax, qword [r10]
movsxd rcx, dword [rcx + rax]
mov rax, qword [rsp + 0x40]
lea rdx, [rcx + rcx*4]
mov rax, qword [rax + 0x18]
shl rdx, 4
add rdx, rdi
movsx eax, byte [rdx + rax + 0x14]
mov dword [rsp + 0x30], eax
cmp r12, r9
je 0x1800a8c90
mov dword [r12], eax
add r12, 4
jmp 0x1800a8d79
mov rax, qword [rbp - 0x80]
movabs r8, 0x3fffffffffffffff
sub r12, rax
mov rsi, r12
sar rsi, 2
cmp rsi, r8
je 0x1800a9833
sub r9, rax
lea rdx, [rsi + 1]
sar r9, 2
mov rax, r8
mov rcx, r9
mov qword [rbp - 0x78], r9
shr rcx, 1
sub rax, rcx
cmp r9, rax
jbe 0x1800a8cd6
mov rcx, r8
jmp 0x1800a8ced
lea rax, [r9 + rcx]
mov rcx, rdx
cmp rax, rdx
cmovae rcx, rax
cmp rcx, r8
ja 0x1800a982d
lea rax, [rcx*4]
mov rcx, rax
mov qword [rbp + 0x20], rax
call fcn.180014480
mov rdi, rax
mov r8, r12
mov eax, dword [rsp + 0x30]
mov rcx, rdi
mov r12, qword [rbp - 0x80]
mov rdx, r12
mov dword [rdi + rsi*4], eax
call sub.VCRUNTIME140.dll_memmove
test r12, r12
je 0x1800a8d5a
mov rcx, qword [rbp - 0x78]
lea rcx, [rcx*4]
cmp rcx, 0x1000
jb 0x1800a8d51
mov rcx, qword [r12 - 8]
sub r12, rcx
lea rax, [r12 - 8]
cmp rax, 0x1f
ja 0x1800a902d
mov r12, rcx
mov rcx, r12
call qword [sym.imp.FactoryGameEGS_Core.dll_public:_static_void___cdecl_FMemory::Free_void____ptr64_]
mov r9, qword [rbp + 0x20]
inc rsi
mov r10, qword [rsp + 0x70]
add r9, rdi
mov qword [rbp - 0x80], rdi
mov qword [rbp - 0x78], r9
lea r12, [rdi + rsi*4]
mov rdi, qword [rbp - 0x40]
mov r9, qword [rsp + 0x68]
mov r8d, dword [rsp + 0x24]
mov rsi, qword [rsp + 0x58]
inc r8d
inc rdi
mov dword [rsp + 0x24], r8d
mov qword [rbp - 0x40], rdi
cmp rdi, 4
jl 0x1800a8950
mov eax, dword [rsp + 0x78]
add r9, 4
mov rdx, qword [r10]
inc eax
mov rcx, qword [r10 + 8]
mov r11d, 2
sub rcx, rdx
mov dword [rsp + 0x78], eax
cdqe
sar rcx, 2
mov qword [rsp + 0x68], r9
cmp rax, rcx
jb 0x1800a8940
mov r13, qword [rbp - 0x80]
movsxd rax, dword [rdx]
xor r14d, r14d
mov r9, qword [rbp - 0x58]
mov r12, qword [rsp + 0x48]
movsxd r8, dword [rbp + 0x4c]
mov rdi, qword [rbp - 0x28]
lea rcx, [rax + rax*4]
mov r15, qword [rsp + 0x58]
add rcx, rcx
mov rax, qword [r12]
lea rdx, [r8 + r8*4]
add rdx, rdx
lea r10, [r8 + r8*4]
mov byte [rax + rcx*8 + 0x40], 1
movdqa xmm0, xmmword [r9]
mov rcx, qword [r12]
movsxd rax, ebx
lea rbx, [rax + rax*4]
shl rbx, 4
shl r10, 4
mov qword [rsp + 0x48], r10
movdqa xmmword [rbx + rcx], xmm0
mov eax, dword [r9 + 0x10]
mov dword [rbx + rcx + 0x10], eax
mov eax, dword [r9 + 0x14]
mov dword [rbx + rcx + 0x14], eax
movups xmm0, xmmword [r9 + 0x18]
movups xmmword [rbx + rcx + 0x18], xmm0
mov eax, dword [r9 + 0x28]
mov dword [rbx + rcx + 0x28], eax
mov rax, qword [r9 + 0x30]
mov qword [rbx + rcx + 0x30], rax
mov rax, qword [r9 + 0x38]
mov qword [rbx + rcx + 0x38], rax
movzx eax, byte [r9 + 0x40]
mov byte [rbx + rcx + 0x40], al
movzx eax, byte [r9 + 0x41]
mov byte [rbx + rcx + 0x41], al
movdqa xmm0, xmmword [r9 + 0x50]
mov rcx, qword [r12]
movdqa xmmword [rcx + rdx*8], xmm0
mov eax, dword [r9 + 0x60]
mov dword [rcx + rdx*8 + 0x10], eax
mov eax, dword [r9 + 0x64]
mov dword [rcx + rdx*8 + 0x14], eax
movups xmm0, xmmword [r9 + 0x68]
movups xmmword [rcx + rdx*8 + 0x18], xmm0
mov eax, dword [r9 + 0x78]
mov dword [rcx + rdx*8 + 0x28], eax
mov rax, qword [r9 + 0x80]
mov qword [rcx + rdx*8 + 0x30], rax
mov rax, qword [r9 + 0x88]
mov qword [rcx + rdx*8 + 0x38], rax
movzx eax, byte [r9 + 0x90]
mov byte [rcx + rdx*8 + 0x40], al
movzx eax, byte [r9 + 0x91]
mov r9, qword [rsp + 0x60]
mov byte [rcx + rdx*8 + 0x41], al
mov rcx, qword [r12]
mov rax, qword [r9]
mov qword [rbx + rcx + 0x30], rax
mov rcx, qword [r12]
mov rax, qword [r9 + 8]
mov qword [rcx + rdx*8 + 0x30], rax
nop word [rax + rax]
mov rax, qword [r12]
lea r8d, [r11 + 1]
mov ecx, dword [rsp + 0x28]
lea esi, [r11 - 1]
add rax, rbx
mov dword [rsp + 0x24], r8d
cmp dword [rax + r14*4], ecx
je 0x1800a9034
mov ecx, esi
and ecx, 0x80000003
jge 0x1800a8f33
dec ecx
or ecx, 0xfffffffc
inc ecx
movsxd rcx, ecx
mov edx, dword [rax + rcx*4]
mov ecx, r11d
mov dword [rbp + 0x30], edx
and ecx, 0x80000003
jge 0x1800a8f4e
dec ecx
or ecx, 0xfffffffc
inc ecx
movsxd rcx, ecx
mov edx, dword [rax + rcx*4]
mov ecx, r8d
mov dword [rbp + 0x34], edx
and ecx, 0x80000003
jge 0x1800a8f69
dec ecx
or ecx, 0xfffffffc
inc ecx
movsxd rcx, ecx
xor r9d, r9d
mov edx, dword [rax + rcx*4]
lea r8d, [r9 + 3]
mov dword [rbp + 0x38], edx
lea rcx, [rbp + 0x30]
lea rdx, [rbp + 0x3c]
call fcn.18001daa0
mov r10, qword [rbp - 0x30]
mov rdx, r10
cmp r10, rdi
je 0x1800a8fc1
mov r8d, dword [rbp + 0x38]
mov r9, qword [rbp + 0x30]
nop word [rax + rax]
mov rcx, qword [rdx]
sub rcx, r9
jne 0x1800a8fae
mov ecx, dword [rdx + 8]
sub rcx, r8
test rcx, rcx
sete al
test al, al
jne 0x1800a8fc1
add rdx, 0xc
cmp rdx, rdi
jne 0x1800a8fa0
mov rcx, qword [r12]
lea r8, [rbx + r14]
mov r11d, dword [rsp + 0x2c]
sub rdx, r10
mov r10, qword [rsp + 0x48]
movabs rax, 0x2aaaaaaaaaaaaaab
imul rdx
mov r9, rdx
lea rdx, [rbx + r14]
sar r9, 1
mov rax, r9
shr rax, 0x3f
add r9, rax
movzx eax, byte [r15 + r9*4]
mov byte [r8 + rcx + 0x10], al
lea r8, [rbx + r14]
mov rcx, qword [r12]
mov rax, qword [rsp + 0x50]
movzx eax, byte [rax + r9*4]
mov byte [r8 + rcx + 0x28], al
mov rcx, qword [r12]
movzx eax, byte [r13 + r9*4]
mov r8d, dword [rsp + 0x24]
mov byte [rdx + rcx + 0x14], al
jmp 0x1800a9059
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov byte [rax + r14 + 0x10], 0x7f
lea rcx, [rbx + r14]
mov rax, qword [r12]
mov dword [rsp + 0x24], r8d
mov byte [rcx + rax + 0x28], 0
lea rcx, [rbx + r14]
mov rax, qword [r12]
mov byte [rcx + rax + 0x14], 0xff
mov rax, qword [r12]
mov ecx, dword [rsp + 0x20]
add rax, r10
cmp dword [rax + r14*4], ecx
je 0x1800a9168
and esi, 0x80000003
jge 0x1800a907d
dec esi
or esi, 0xfffffffc
inc esi
movsxd rcx, esi
mov edx, dword [rax + rcx*4]
mov dword [rbp + 0x20], edx
and r11d, 0x80000003
jge 0x1800a9099
dec r11d
or r11d, 0xfffffffc
inc r11d
movsxd rcx, r11d
mov edx, dword [rax + rcx*4]
mov ecx, r8d
mov dword [rbp + 0x24], edx
and ecx, 0x80000003
jge 0x1800a90b4
dec ecx
or ecx, 0xfffffffc
inc ecx
movsxd rcx, ecx
xor r9d, r9d
mov edx, dword [rax + rcx*4]
lea r8d, [r9 + 3]
mov dword [rbp + 0x28], edx
lea rcx, [rbp + 0x20]
lea rdx, [rbp + 0x2c]
call fcn.18001daa0
mov r10, qword [rbp - 0x30]
mov rdx, r10
cmp r10, rdi
je 0x1800a9106
mov r8d, dword [rbp + 0x28]
mov r9, qword [rbp + 0x20]
mov rcx, qword [rdx]
sub rcx, r9
jne 0x1800a90f3
mov ecx, dword [rdx + 8]
sub rcx, r8
test rcx, rcx
sete al
test al, al
jne 0x1800a9106
add rdx, 0xc
cmp rdx, rdi
jne 0x1800a90e5
mov rcx, qword [r12]
sub rdx, r10
mov r10, qword [rsp + 0x48]
movabs rax, 0x2aaaaaaaaaaaaaab
imul rdx
lea r8, [r10 + r14]
mov r9, rdx
lea rdx, [r10 + r14]
sar r9, 1
mov rax, r9
shr rax, 0x3f
add r9, rax
movzx eax, byte [r15 + r9*4]
mov byte [r8 + rcx + 0x10], al
lea r8, [r10 + r14]
mov rcx, qword [r12]
mov rax, qword [rsp + 0x50]
movzx eax, byte [rax + r9*4]
mov byte [r8 + rcx + 0x28], al
mov rcx, qword [r12]
movzx eax, byte [r13 + r9*4]
mov byte [rdx + rcx + 0x14], al
jmp 0x1800a9188
mov byte [rax + r14 + 0x10], 0x7f
lea rcx, [r10 + r14]
mov rax, qword [r12]
mov byte [rcx + rax + 0x28], 0
lea rcx, [r10 + r14]
mov rax, qword [r12]
mov byte [rcx + rax + 0x14], 0xff
mov r11d, dword [rsp + 0x24]
inc r14
mov dword [rsp + 0x2c], r11d
cmp r14, 4
jl 0x1800a8f00
movsxd rax, dword [rbp + 0x40]
mov r12, qword [rsp + 0x70]
mov r13, qword [rsp + 0x40]
lea rsi, [rax + rax*4]
mov r8, qword [r12]
mov rdi, qword [r13]
shl rsi, 4
mov r8d, dword [r8]
mov rdx, qword [rsi + rdi + 0x20]
mov rcx, qword [rsi + rdi + 0x18]
call fcn.180167550
mov r8, qword [rsi + rdi + 0x20]
mov rbx, qword [rbp - 0x50]
mov r15, qword [rbp - 0x48]
cmp rax, r8
je 0x1800a91f6
lea rdx, [rax + 4]
mov rcx, rax
sub r8, rdx
call sub.VCRUNTIME140.dll_memmove
add qword [rsi + rdi + 0x20], 0xfffffffffffffffc
mov r14, qword [r13]
movsxd rax, dword [rbp + 0x18]
mov r8, qword [r12]
lea rdi, [rax + rax*4]
mov r8d, dword [r8]
shl rdi, 4
mov rdx, qword [rdi + r14 + 0x20]
mov rcx, qword [rdi + r14 + 0x18]
call fcn.180167550
mov r8, qword [rdi + r14 + 0x20]
cmp rax, r8
je 0x1800a923b
lea rdx, [rax + 4]
mov rcx, rax
sub r8, rdx
call sub.VCRUNTIME140.dll_memmove
add qword [rdi + r14 + 0x20], 0xfffffffffffffffc
mov rcx, qword [r13]
lea rdx, [rbp + 0x4c]
add rcx, 0x18
add rcx, rsi
call fcn.1800a75e0
mov rcx, qword [r13]
lea rdx, [rbp + 0x48]
add rcx, 0x18
add rcx, rdi
call fcn.1800a75e0
mov rdi, qword [r13]
movsxd rax, dword [rsp + 0x20]
mov r8, qword [r12]
lea rsi, [rax + rax*4]
mov r8d, dword [r8]
add rsi, rsi
mov rdx, qword [rdi + rsi*8 + 0x20]
mov rcx, qword [rdi + rsi*8 + 0x18]
call fcn.180167550
mov r8, qword [rdi + rsi*8 + 0x20]
cmp rax, r8
je 0x1800a92a8
lea rdx, [rax + 4]
mov rcx, rax
sub r8, rdx
call sub.VCRUNTIME140.dll_memmove
add qword [rdi + rsi*8 + 0x20], 0xfffffffffffffffc
mov r14, qword [r13]
movsxd rax, dword [rsp + 0x28]
mov r8, qword [r12]
lea rdi, [rax + rax*4]
mov r8d, dword [r8]
add rdi, rdi
mov rdx, qword [r14 + rdi*8 + 0x20]
mov rcx, qword [r14 + rdi*8 + 0x18]
call fcn.180167550
mov r8, qword [r14 + rdi*8 + 0x20]
cmp rax, r8
je 0x1800a92ed
lea rdx, [rax + 4]
mov rcx, rax
sub r8, rdx
call sub.VCRUNTIME140.dll_memmove
add qword [r14 + rdi*8 + 0x20], 0xfffffffffffffffc
mov r14, qword [r13]
mov r8d, ebx
mov rdx, qword [r14 + rsi*8 + 0x20]
mov rcx, qword [r14 + rsi*8 + 0x18]
call fcn.180167550
mov r8, qword [r14 + rsi*8 + 0x20]
cmp rax, r8
je 0x1800a9322
lea rdx, [rax + 4]
mov rcx, rax
sub r8, rdx
call sub.VCRUNTIME140.dll_memmove
add qword [r14 + rsi*8 + 0x20], 0xfffffffffffffffc
mov rbx, qword [r13]
mov r8d, dword [rbp + 0x4c]
mov rdx, qword [rbx + rdi*8 + 0x20]
mov rcx, qword [rbx + rdi*8 + 0x18]
call fcn.180167550
mov r8, qword [rbx + rdi*8 + 0x20]
cmp rax, r8
je 0x1800a9358
lea rdx, [rax + 4]
mov rcx, rax
sub r8, rdx
call sub.VCRUNTIME140.dll_memmove
add qword [rbx + rdi*8 + 0x20], 0xfffffffffffffffc
mov rcx, qword [rbp - 0x38]
movabs rax, 0x6666666666666667
mov r12, qword [rbp - 0x58]
sub rcx, r12
imul rcx
mov rcx, r15
mov rbx, rdx
sar rbx, 5
mov rax, rbx
shr rax, 0x3f
add rbx, rax
mov qword [rbp + 0x20], rbx
lea rdx, [rbx + rbx*2]
add rdx, rdx
call fcn.1800addb0
mov dword [rsp + 0x2c], 0
test rbx, rbx
je 0x1800a9624
xor eax, eax
nop word [rax + rax]
lea rdi, [rax + rax*4]
mov r9d, 1
shl rdi, 4
add rdi, r12
mov dword [rsp + 0x28], r9d
xor r13d, r13d
mov qword [rsp + 0x48], r13
nop
mov eax, dword [rdi]
mov ecx, dword [rdi + r13 + 4]
mov dword [rbp + 0x18], eax
mov dword [rbp + 0x1c], ecx
cmp eax, ecx
jle 0x1800a93e7
mov dword [rbp + 0x18], ecx
mov dword [rbp + 0x1c], eax
mov rcx, qword [r15 + 0x10]
mov rsi, qword [r15 + 8]
cmp rsi, rcx
je 0x1800a9405
mov rax, qword [rbp + 0x18]
mov qword [rsi], rax
add qword [r15 + 8], 8
jmp 0x1800a94c6
mov rax, qword [r15]
mov rbx, rsi
sub rbx, rax
movabs r9, 0x1fffffffffffffff
sar rbx, 3
cmp rbx, r9
je 0x1800a9821
sub rcx, rax
lea r8, [rbx + 1]
sar rcx, 3
mov rax, r9
mov rdx, rcx
mov qword [rbp - 0x48], r8
shr rdx, 1
sub rax, rdx
cmp rcx, rax
jbe 0x1800a944a
mov r14, r9
jmp 0x1800a9461
lea rax, [rcx + rdx]
mov r14, r8
cmp rax, r8
cmovae r14, rax
cmp r14, r9
ja 0x1800a9839
lea rcx, [r14*8]
call fcn.180014480
mov rcx, qword [rbp + 0x18]
mov r12, rax
mov qword [rax + rbx*8], rcx
mov rcx, rax
mov r8, qword [r15 + 8]
mov rdx, qword [r15]
cmp rsi, r8
jne 0x1800a948d
sub r8, rdx
jmp 0x1800a94aa
mov r8, rsi
sub r8, rdx
call sub.VCRUNTIME140.dll_memmove
mov r8, qword [r15 + 8]
lea rcx, [rbx + 1]
lea rcx, [r12 + rcx*8]
sub r8, rsi
mov rdx, rsi
call sub.VCRUNTIME140.dll_memmove
mov r8, qword [rbp - 0x48]
mov r9, r14
mov rdx, r12
mov rcx, r15
call fcn.180058650
mov r9d, dword [rsp + 0x28]
mov r8d, dword [rdi + r13 + 4]
mov eax, 0x55555556
imul r9d
mov ecx, r9d
mov dword [rbp - 0x50], r8d
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
sub ecx, eax
movsxd rax, ecx
mov ecx, dword [rdi + rax*4 + 4]
mov dword [rbp - 0x4c], ecx
mov rbx, qword [rbp - 0x50]
mov rax, rbx
mov qword [rbp + 0x18], rbx
shr rax, 0x20
cmp r8d, eax
jle 0x1800a950f
mov dword [rbp + 0x18], eax
mov dword [rbp + 0x1c], r8d
mov rbx, qword [rbp + 0x18]
mov rcx, qword [r15 + 0x10]
mov r14, qword [r15 + 8]
cmp r14, rcx
je 0x1800a9529
mov qword [r14], rbx
add qword [r15 + 8], 8
jmp 0x1800a95ee
mov rax, qword [r15]
mov rsi, r14
sub rsi, rax
movabs r9, 0x1fffffffffffffff
sar rsi, 3
cmp rsi, r9
je 0x1800a9821
sub rcx, rax
lea r8, [rsi + 1]
sar rcx, 3
mov rax, r9
mov rdx, rcx
mov qword [rbp - 0x48], r8
shr rdx, 1
sub rax, rdx
cmp rcx, rax
jbe 0x1800a956e
mov r12, r9
jmp 0x1800a9585
lea rax, [rdx + rcx]
mov r12, r8
cmp rax, r8
cmovae r12, rax
cmp r12, r9
ja 0x1800a9839
lea rcx, [r12*8]
call fcn.180014480
mov r13, rax
mov rcx, rax
mov qword [rax + rsi*8], rbx
mov r8, qword [r15 + 8]
mov rdx, qword [r15]
cmp r14, r8
jne 0x1800a95ad
sub r8, rdx
jmp 0x1800a95cd
mov r8, r14
sub r8, rdx
call sub.VCRUNTIME140.dll_memmove
mov r8, qword [r15 + 8]
lea rcx, [rsi*8 + 8]
add rcx, r13
mov rdx, r14
sub r8, r14
call sub.VCRUNTIME140.dll_memmove
mov r8, qword [rbp - 0x48]
mov r9, r12
mov rdx, r13
mov rcx, r15
call fcn.180058650
mov r9d, dword [rsp + 0x28]
mov r13, qword [rsp + 0x48]
inc r9d
add r13, 4
mov dword [rsp + 0x28], r9d
mov qword [rsp + 0x48], r13
cmp r13, 0xc
jl 0x1800a93d0
mov ecx, dword [rsp + 0x2c]
mov r12, qword [rbp - 0x58]
inc ecx
movsxd rax, ecx
mov dword [rsp + 0x2c], ecx
cmp rax, qword [rbp + 0x20]
jb 0x1800a93b0
mov rcx, r15
call fcn.1800213e0
mov rcx, qword [rbp - 0x80]
mov bl, 1
test rcx, rcx
je 0x1800a9668
mov rax, qword [rbp - 0x78]
sub rax, rcx
and rax, 0xfffffffffffffffc
cmp rax, 0x1000
jb 0x1800a9662
mov rdx, qword [rcx - 8]
sub rcx, rdx
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1800a97c9
mov rcx, rdx
call qword [sym.imp.FactoryGameEGS_Core.dll_public:_static_void___cdecl_FMemory::Free_void____ptr64_]
mov rdx, qword [rsp + 0x50]
test rdx, rdx
je 0x1800a96a7
mov rcx, qword [rbp - 0x70]
mov rax, rdx
sub rcx, rdx
and rcx, 0xfffffffffffffffc
cmp rcx, 0x1000
jb 0x1800a969e
mov rdx, qword [rdx - 8]
sub rax, rdx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800a97c9
mov rcx, rdx
call qword [sym.imp.FactoryGameEGS_Core.dll_public:_static_void___cdecl_FMemory::Free_void____ptr64_]
mov rax, qword [rsp + 0x58]
test rax, rax
je 0x1800a96e6
mov rcx, qword [rbp - 0x68]
sub rcx, rax
and rcx, 0xfffffffffffffffc
cmp rcx, 0x1000
jb 0x1800a96dd
mov rcx, qword [rax - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800a97c9
mov rax, rcx
mov rcx, rax
call qword [sym.imp.FactoryGameEGS_Core.dll_public:_static_void___cdecl_FMemory::Free_void____ptr64_]
mov rcx, qword [rbp - 0x30]
test rcx, rcx
je 0x1800a973f
mov rdx, qword [rsp + 0x38]
movabs rax, 0x2aaaaaaaaaaaaaab
sub rdx, rcx
mov r8, rcx
imul rdx
sar rdx, 1
mov rax, rdx
shr rax, 0x3f
add rdx, rax
lea rax, [rdx + rdx*2]
shl rax, 2
cmp rax, 0x1000
jb 0x1800a9739
mov rcx, qword [rcx - 8]
sub r8, rcx
lea rax, [r8 - 8]
cmp rax, 0x1f
ja 0x1800a97c9
call qword [sym.imp.FactoryGameEGS_Core.dll_public:_static_void___cdecl_FMemory::Free_void____ptr64_]
mov rsi, qword [rsp + 0x60]
test rsi, rsi
je 0x1800a977a
mov rcx, qword [rbp - 0x60]
mov rax, rsi
sub rcx, rsi
and rcx, 0xfffffffffffffff8
cmp rcx, 0x1000
jb 0x1800a9771
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800a97c9
mov rcx, rsi
call qword [sym.imp.FactoryGameEGS_Core.dll_public:_static_void___cdecl_FMemory::Free_void____ptr64_]
mov r9, qword [rbp - 0x58]
test r9, r9
je 0x1800a97d9
mov rcx, qword [rbp - 8]
movabs rax, 0x6666666666666667
sub rcx, r9
mov r8, r9
imul rcx
sar rdx, 5
mov rax, rdx
shr rax, 0x3f
add rdx, rax
lea rax, [rdx + rdx*4]
shl rax, 4
cmp rax, 0x1000
jb 0x1800a97d0
mov r9, qword [r9 - 8]
sub r8, r9
lea rax, [r8 - 8]
cmp rax, 0x1f
jbe 0x1800a97d0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r9
call qword [sym.imp.FactoryGameEGS_Core.dll_public:_static_void___cdecl_FMemory::Free_void____ptr64_]
movaps xmm6, xmmword [rsp + 0x170]
movzx eax, bl
mov rbx, qword [rsp + 0x198]
movaps xmm7, xmmword [rsp + 0x160]
mov rsi, qword [rsp + 0x190]
mov rdi, qword [rsp + 0x188]
mov rcx, qword [rbp + 0x50]
xor rcx, rsp
call fcn.180169100
add rsp, 0x1a0
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.18005ad90
int3
call fcn.18005abb0
int3
call fcn.18005a5d0
int3
call fcn.18005ab70
int3
call fcn.18005a5d0
int3