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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 7]
sub rsp, 0xf0
mov r10d, dword [rbp + 0x6f]
xor edi, edi
mov r13, qword [rbp + 0x7f]
mov rbx, rcx
mov r15, qword [rbp + 0x77]
mov r14, rdx
mov edx, 0x201
mov qword [rsp + 0x40], rdi
lea eax, [r10 - 0x3000]
mov ecx, 0x60
mov r12, qword [r13 + 0x2f0]
test eax, 0xffffefff
xorps xmm0, xmm0
xorps xmm1, xmm1
sete al
test al, al
mov byte [rbp + 0x6f], al
mov rax, qword [r15]
cmovne ecx, edx
xor r8d, r8d
mov dword [rbp + 0x47], ecx
lea edx, [rdi + 8]
mov r9d, ecx
mov r11, qword [rax]
mov qword [rsp + 0x50], rax
mov rcx, r11
lea rax, [rbp + 0x7f]
mov qword [rsp + 0x48], r11
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x58], rdi
movdqa xmmword [rsp + 0x60], xmm0
movdqa xmmword [rbp - 0x79], xmm1
mov dword [rbp - 0x69], edi
mov qword [rbp - 0x59], rdi
mov dword [rbp - 0x65], r10d
mov qword [rbp - 0x61], rbx
call fcn.180023b20
mov esi, dword [rbp + 0x7f]
mov qword [rbp - 0x79], rax
test esi, esi
je 0x18004a641
mov rcx, qword [rsp + 0x48]
mov rdx, rax
call fcn.180023a10
mov esi, dword [rbp + 0x7f]
mov eax, edi
mov qword [rbp - 0x79], rax
jmp 0x18004a64b
mov ecx, dword [rbp + 0x47]
mov dword [rbp - 0x69], ecx
mov qword [rbp - 0x71], rax
test esi, esi
jne 0x18004aafb
xor edx, edx
mov r8d, 0xbc
mov rcx, rbx
call sub.VCRUNTIME140.dll_memset
cmp byte [rbp + 0x6f], dil
mov eax, 0x30
mov ecx, 0x201
mov dword [rbx + 0x20], 0xff9c0000
cmovne eax, ecx
mov dword [rbx + 0x24], 0x320000
mov dword [rbx + 0xb8], eax
mov dword [rbx + 0x2c], 2
mov dword [rbx + 0x30], 0x10000
mov dword [rbx + 0x3c], 0x10000
mov dword [rbx + 0x9c], 0x2210
mov dword [rbx], 0xffff
mov dword [rbx + 4], 0xffff
mov dword [rbx + 8], 0xffff
mov dword [rbx + 0xc], 0xffff
mov dword [rbx + 0x10], 0xffff
mov dword [rbx + 0x14], 0xffff
mov dword [rbx + 0x80], 0xffff
mov dword [rbx + 0x84], 0xffff
mov dword [rbx + 0x88], 0xffff
mov dword [rbx + 0xac], 0xffff
cmp dword [r14 + 0x10], edi
je 0x18004a71d
mov edx, dword [rbp + 0x57]
lea r9, [rbp + 0x7f]
lea r8, [rsp + 0x40]
mov rcx, r14
call fcn.180048740
mov esi, eax
test eax, eax
jne 0x18004a76b
mov eax, dword [rbp + 0x7f]
jmp 0x18004a754
mov edx, dword [r14 + 0x18]
mov rcx, qword [rbp + 0x5f]
call fcn.180021ae0
mov esi, eax
test eax, eax
jne 0x18004aaf7
mov edx, dword [r14 + 0x1c]
lea r8, [rsp + 0x40]
mov rcx, qword [rbp + 0x5f]
call fcn.180021040
mov esi, eax
test eax, eax
jne 0x18004aaf7
mov eax, dword [r14 + 0x1c]
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x50]
mov r8d, eax
add r8, rdx
call fcn.180049660
mov esi, eax
cmp dword [r14 + 0x10], edi
je 0x18004a77c
cmp qword [r14 + 0x28], rdi
jne 0x18004a78a
mov rcx, qword [r14]
jmp 0x18004a780
mov rcx, qword [rbp + 0x5f]
lea rdx, [rsp + 0x40]
call fcn.180021a90
test esi, esi
jne 0x18004aaf7
cmp dword [rbx + 0x84], 0xffff
jne 0x18004aaf7
mov rax, qword [r15 + 8]
lea r14, [rbx + 0xc0]
mov qword [rbx + 0x240], r15
mov esi, edi
mov byte [rbx + 0x239], sil
mov r15d, 1
mov qword [rbp + 0x7f], rax
cmp dword [rbx + 0x74], edi
je 0x18004a95d
cmp dword [rbx + 0x78], edi
je 0x18004a95d
xor edx, edx
mov r8d, 0x178
mov rcx, r14
call sub.VCRUNTIME140.dll_memset
mov rcx, qword [rbp + 0x77]
mov dword [r14 + 0xc8], 7
mov dword [r14 + 0xcc], r15d
mov dword [r14 + 0x14c], 0xffffffff
mov dword [r14 + 0x154], 0xf5c
mov dword [r14 + 0xc4], 0x27a000
mov qword [r14 + 0x170], rbx
mov dword [rbx + 0x268], edi
mov qword [rbx + 0x270], rdi
movzx eax, byte [rcx + 0x2c]
test al, al
je 0x18004a848
mov r8d, dword [rcx + 0x698]
inc r8d
jmp 0x18004a84e
mov r8d, 0x61
test al, al
mov edx, 0x2000
movzx eax, word [rbx + 0xb2]
mov r9d, 0x5000
mov word [rsp + 0x30], ax
cmovne edx, r9d
movzx eax, word [rbx + 0xb0]
mov r9, qword [rcx]
lea rcx, [rbp - 0x49]
mov word [rsp + 0x28], ax
mov dword [rsp + 0x20], r8d
mov r8, r14
call fcn.1800495a0
test eax, eax
jne 0x18004a939
mov rax, qword [rbp + 0x77]
mov rcx, qword [rbp + 0x7f]
mov edx, dword [rax + 0x18]
add edx, dword [rbx + 0x74]
call fcn.180021ae0
mov esi, eax
test eax, eax
jne 0x18004a939
mov edx, dword [rbx + 0x78]
mov rcx, qword [rbp + 0x7f]
call fcn.180020ed0
mov esi, eax
test eax, eax
jne 0x18004a939
mov rax, qword [rbp + 0x7f]
lea rcx, [rbp - 0x49]
mov r8, qword [rax + 0x40]
mov rdx, qword [rax + 0x38]
call fcn.180049660
mov rcx, qword [rbp + 0x7f]
mov esi, eax
call fcn.180020ff0
test esi, esi
jne 0x18004a939
and byte [r14], 0xfe
mov eax, dword [r14 + 0x158]
test eax, eax
jns 0x18004a900
neg eax
mov dword [r14 + 0x158], eax
jmp 0x18004a90d
jne 0x18004a90d
mov dword [r14 + 0x158], 0x3ade68b1
cmp dword [r14 + 0xc8], 0x3e8
jbe 0x18004a925
mov dword [r14 + 0xc8], 7
cmp dword [r14 + 0xcc], 0x3e8
jbe 0x18004a939
mov dword [r14 + 0xcc], r15d
mov rcx, qword [rbp - 0x49]
mov rax, qword [rbx + 0x278]
mov rdx, qword [rbp - 0x29]
mov qword [rbx + 0x280], rax
mov dword [rbx + 0x288], edi
mov rcx, qword [rcx]
call fcn.180023a10
test esi, esi
jne 0x18004aaf7
cmp byte [rbp + 0x6f], dil
jne 0x18004a9f9
mov rax, qword [r13 + 0xd0]
mov ecx, dword [rax + 0x5c]
cmp ecx, 0xffffffff
jne 0x18004a9a8
mov r14, qword [r13 + 0x90]
mov eax, dword [r14 + 0x60]
mov dword [rbx + 0x2c8], eax
cmp dword [r14 + 0x60], edi
je 0x18004a9e5
mov ecx, dword [r14 + 0x60]
call qword [r12 + 0x28]
mov dword [r14 + 0x60], eax
test eax, eax
js 0x18004a995
jmp 0x18004a9e5
mov dword [rbx + 0x2c8], ecx
mov rax, qword [r13 + 0xd0]
cmp dword [rax + 0x5c], edi
je 0x18004a9e5
nop word [rax + rax]
mov rax, qword [r13 + 0xd0]
mov ecx, dword [rax + 0x5c]
call qword [r12 + 0x28]
mov rcx, qword [r13 + 0xd0]
mov dword [rcx + 0x5c], eax
mov rax, qword [r13 + 0xd0]
cmp dword [rax + 0x5c], edi
jl 0x18004a9c0
cmp dword [rbx + 0x2c8], edi
jne 0x18004a9f9
mov eax, dword [rbx + 0x218]
mov dword [rbx + 0x2c8], eax
mov eax, dword [rbx + 0x21c]
test eax, eax
je 0x18004aaf7
mov edx, dword [rbx + 0x74]
mov r12, qword [rbp + 0x5f]
add edx, eax
add edx, dword [rbp + 0x67]
mov rcx, r12
call fcn.180021ae0
mov esi, eax
test eax, eax
jne 0x18004aaf7
movzx r9d, byte [rbp + 0x6f]
lea r14, [rbx + 0x290]
mov rcx, r14
movzx r8d, r15b
mov rdx, r12
call fcn.180048be0
mov esi, eax
test eax, eax
jne 0x18004aaf7
mov rax, qword [r14]
mov esi, edi
mov dword [rbp + 0x6f], edi
mov r12, qword [rax + 0x30]
mov qword [rbx + 0x2c0], rdi
cmp qword [r14 + 0x20], rsi
jne 0x18004aa78
mov rcx, r14
call fcn.180048da0
mov dword [rbp + 0x6f], eax
mov esi, eax
test eax, eax
jne 0x18004aaf7
mov r9d, dword [r14 + 0x10]
test r9d, r9d
je 0x18004aaf7
xor r8d, r8d
lea rax, [rbp + 0x6f]
mov qword [rsp + 0x28], rax
inc r9d
mov rcx, r12
mov qword [rsp + 0x20], rdi
lea edx, [r8 + 8]
call fcn.180023b20
mov esi, dword [rbp + 0x6f]
mov r8, rax
test esi, esi
jne 0x18004aaf7
mov r9, qword [r14 + 0x28]
mov ecx, edi
add rcx, r9
mov qword [rax], rcx
cmp dword [r14 + 0x10], r15d
jb 0x18004aaed
nop dword [rax]
mov rax, qword [r14 + 0x20]
mov edx, r15d
mov ecx, dword [rax + rdx*4]
dec ecx
cmp ecx, edi
jb 0x18004aadb
cmp ecx, dword [r14 + 0x1c]
cmova ecx, dword [r14 + 0x1c]
mov edi, ecx
mov eax, edi
inc r15d
add rax, r9
mov qword [r8 + rdx*8], rax
cmp r15d, dword [r14 + 0x10]
jbe 0x18004aac0
mov esi, dword [rbp + 0x6f]
mov qword [rbx + 0x2c0], r8
mov rax, qword [rbp - 0x79]
mov rcx, qword [rsp + 0x50]
mov rdx, rax
mov rcx, qword [rcx]
call fcn.180023a10
mov rbx, qword [rsp + 0x138]
mov eax, esi
add rsp, 0xf0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret