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

Disassembly:
push rbx
sub rsp, 0x50
mov r11, r9
mov rbx, r8
mov r10, rcx
test rcx, rcx
jne 0x1800e31fd
lea eax, [rcx - 2]
add rsp, 0x50
pop rbx
ret
movsxd rax, dword [rcx + 0x1c]
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], rdi
cmp eax, 5
ja case.default.0x1800e3226
lea r8, [0x180000000]
mov ecx, dword [r8 + rax*4 + 0xe3494]
add rcx, r8
jmp rcx
xor eax, eax
mov ecx, eax
test rbx, rbx
je 0x1800e3234
mov rcx, qword [rbx]
mov rsi, qword [rsp + 0x80]
mov rdi, rax
test rsi, rsi
je 0x1800e3247
mov rdi, qword [rsi]
cmp rcx, rdi
cmovb rdi, rcx
test r11, r11
je 0x1800e3358
mov r8d, dword [r10 + 0xc]
movsxd rcx, dword [r10 + 4]
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x34], 1
mov dword [rsp + 0x38], 2
mov dword [rsp + 0x3c], 3
mov dword [rsp + 0x40], 4
mov dword [rsp + 0x44], 4
test rdx, rdx
je 0x1800e32a7
imul r8d, dword [rsp + rcx*4 + 0x30]
mov rcx, r11
imul r8, rdi
call sub.VCRUNTIME140.dll_memcpy
jmp 0x1800e3358
imul r8d, dword [rsp + rcx*4 + 0x30]
jmp 0x1800e3345
xor eax, eax
mov ecx, eax
test rbx, rbx
je 0x1800e32be
mov rcx, qword [rbx]
mov rsi, qword [rsp + 0x80]
mov rdi, rax
test rsi, rsi
je 0x1800e32d1
mov rdi, qword [rsi]
cmp rcx, rdi
cmovb rdi, rcx
test r11, r11
je 0x1800e3358
test rdx, rdx
je 0x1800e330b
mov ecx, dword [r10 + 8]
mov r8, rdx
mov eax, dword [r10 + 0x18]
mov r9d, dword [r10]
mov edx, dword [r10 + 4]
imul rcx, rdi
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
mov rcx, r11
call fcn.1800dc2a0
jmp 0x1800e3358
mov dword [rsp + 0x30], eax
movsxd rax, dword [r10 + 4]
mov dword [rsp + 0x34], 1
mov dword [rsp + 0x38], 2
mov dword [rsp + 0x3c], 3
mov dword [rsp + 0x40], 4
mov dword [rsp + 0x44], 4
mov r8d, dword [rsp + rax*4 + 0x30]
imul r8d, dword [r10 + 0xc]
imul r8, rdi
test r8, r8
je 0x1800e3358
xor edx, edx
mov rcx, r11
call sub.VCRUNTIME140.dll_memset
test rbx, rbx
je 0x1800e3360
mov qword [rbx], rdi
test rsi, rsi
je 0x1800e3368
mov qword [rsi], rdi
mov rsi, qword [rsp + 0x60]
xor eax, eax
mov rdi, qword [rsp + 0x68]
add rsp, 0x50
pop rbx
ret
mov r8, rbx
mov rcx, r10
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x50
pop rbx
jmp fcn.1800e2360
cmp byte [r10 + 0x128], 0
jne 0x1800e3431
cmp byte [r10 + 0x129], 0
jne 0x1800e3431
lea rcx, [r10 + 0x68]
test rcx, rcx
jne 0x1800e33ce
mov rsi, qword [rsp + 0x60]
mov eax, 0xfffffffe
mov rdi, qword [rsp + 0x68]
add rsp, 0x50
pop rbx
ret
mov r8, qword [rsp + 0x80]
test r8, r8
jne 0x1800e33e0
test rbx, rbx
je 0x1800e33b9
mov rax, qword [rcx + 8]
test rax, rax
je 0x1800e341c
mov r10, qword [rax + 0x18]
test r10, r10
je 0x1800e341c
mov qword [rsp + 0x28], r8
mov r9, rbx
mov r8, rdx
mov qword [rsp + 0x20], r11
mov rdx, qword [rcx]
mov rcx, qword [rcx + 0x10]
call r10
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x50
pop rbx
ret
mov rsi, qword [rsp + 0x60]
mov eax, 0xffffffe3
mov rdi, qword [rsp + 0x68]
add rsp, 0x50
pop rbx
ret
mov r8, rbx
mov rcx, r10
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x50
pop rbx
jmp fcn.1800e1ef0
mov r8, rbx
mov rcx, r10
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x50
pop rbx
jmp fcn.1800e2860
mov r8, rbx
mov rcx, r10
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x50
pop rbx
jmp fcn.1800e2d90
mov rsi, qword [rsp + 0x60]
mov eax, 0xfffffffd
mov rdi, qword [rsp + 0x68]
add rsp, 0x50
pop rbx
ret