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

Disassembly:
mov word [rsp + 0x20], r9w
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x98
movzx eax, word [rsp + 0xb8]
and eax, 7
mov dword [rsp + 0x88], eax
cmp dword [rsp + 0x88], 0
je 0x1800e9449
cmp dword [rsp + 0x88], 1
je 0x1800e9558
cmp dword [rsp + 0x88], 2
je 0x1800e964e
jmp 0x1800e975d
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0xb0]
xor edx, edx
mov ecx, 8
div rcx
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x38]
shl rax, 3
mov ecx, eax
call sym.StarBurn.dll_StarBurn_Memory_Allocate
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x1800e948e
xor eax, eax
jmp 0x1800e975f
mov rcx, qword [rsp + 0xc8]
mov eax, dword [rsp + 0x38]
mov dword [rcx], eax
mov dword [rsp + 0x3c], 0
jmp 0x1800e94b1
mov eax, dword [rsp + 0x3c]
add eax, 1
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x38]
cmp dword [rsp + 0x3c], eax
jae 0x1800e9549
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov eax, dword [rax + 4]
mov dword [rsp + 0x40], eax
movzx eax, word [rsp + 0xc0]
mov word [rsp + 0x44], ax
mov ecx, dword [rsp + 0x3c]
mov rax, qword [rsp + 0x30]
lea r8, [rax + rcx*8]
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0xa0]
call fcn.1800e8340
mov r11d, dword [rsp + 0x3c]
mov rax, qword [rsp + 0x20]
mov eax, dword [rax]
and eax, 0x3fffffff
sub eax, 1
xor edx, edx
mov ecx, 0x800
div ecx
mov edx, eax
mov rax, qword [rsp + 0x30]
add edx, dword [rax + r11*8]
mov ecx, dword [rsp + 0x3c]
mov rax, qword [rsp + 0x30]
mov dword [rax + rcx*8 + 4], edx
mov rax, qword [rsp + 0x28]
add rax, 8
mov qword [rsp + 0x28], rax
jmp 0x1800e94a6
mov rax, qword [rsp + 0x30]
jmp 0x1800e975f
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x50], rax
mov eax, dword [rsp + 0xb0]
xor edx, edx
mov ecx, 0x10
div rcx
mov dword [rsp + 0x60], eax
mov eax, dword [rsp + 0x60]
shl rax, 3
mov ecx, eax
call sym.StarBurn.dll_StarBurn_Memory_Allocate
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jne 0x1800e959d
xor eax, eax
jmp 0x1800e975f
mov rcx, qword [rsp + 0xc8]
mov eax, dword [rsp + 0x60]
mov dword [rcx], eax
mov dword [rsp + 0x64], 0
jmp 0x1800e95c0
mov eax, dword [rsp + 0x64]
add eax, 1
mov dword [rsp + 0x64], eax
mov eax, dword [rsp + 0x60]
cmp dword [rsp + 0x64], eax
jae 0x1800e963f
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x48], rax
mov ecx, dword [rsp + 0x64]
mov rax, qword [rsp + 0x58]
lea r8, [rax + rcx*8]
mov rdx, qword [rsp + 0x48]
add rdx, 4
mov rcx, qword [rsp + 0xa0]
call fcn.1800e8340
mov r11d, dword [rsp + 0x64]
mov rax, qword [rsp + 0x48]
mov eax, dword [rax]
and eax, 0x3fffffff
sub eax, 1
xor edx, edx
mov ecx, 0x800
div ecx
mov edx, eax
mov rax, qword [rsp + 0x58]
add edx, dword [rax + r11*8]
mov ecx, dword [rsp + 0x64]
mov rax, qword [rsp + 0x58]
mov dword [rax + rcx*8 + 4], edx
mov rax, qword [rsp + 0x50]
add rax, 0x10
mov qword [rsp + 0x50], rax
jmp 0x1800e95b5
mov rax, qword [rsp + 0x58]
jmp 0x1800e975f
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x70], rax
mov eax, dword [rsp + 0xb0]
xor edx, edx
mov ecx, 0x14
div rcx
mov dword [rsp + 0x80], eax
mov eax, dword [rsp + 0x80]
shl rax, 3
mov ecx, eax
call sym.StarBurn.dll_StarBurn_Memory_Allocate
mov qword [rsp + 0x78], rax
cmp qword [rsp + 0x78], 0
jne 0x1800e9699
xor eax, eax
jmp 0x1800e975f
mov rcx, qword [rsp + 0xc8]
mov eax, dword [rsp + 0x80]
mov dword [rcx], eax
mov dword [rsp + 0x84], 0
jmp 0x1800e96c8
mov eax, dword [rsp + 0x84]
add eax, 1
mov dword [rsp + 0x84], eax
mov eax, dword [rsp + 0x80]
cmp dword [rsp + 0x84], eax
jae 0x1800e9756
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x68], rax
mov ecx, dword [rsp + 0x84]
mov rax, qword [rsp + 0x78]
lea r8, [rax + rcx*8]
mov rdx, qword [rsp + 0x68]
add rdx, 0xc
mov rcx, qword [rsp + 0xa0]
call fcn.1800e8340
mov r11d, dword [rsp + 0x84]
mov rax, qword [rsp + 0x68]
mov eax, dword [rax]
and eax, 0x3fffffff
sub eax, 1
xor edx, edx
mov ecx, 0x800
div ecx
mov edx, eax
mov rax, qword [rsp + 0x78]
add edx, dword [rax + r11*8]
mov ecx, dword [rsp + 0x84]
mov rax, qword [rsp + 0x78]
mov dword [rax + rcx*8 + 4], edx
mov rax, qword [rsp + 0x70]
add rax, 0x14
mov qword [rsp + 0x70], rax
jmp 0x1800e96b7
mov rax, qword [rsp + 0x78]
jmp 0x1800e975f
xor eax, eax
add rsp, 0x98
ret