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

Disassembly:
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0xc8
mov rax, qword [rsp + 0xd0]
mov rax, qword [rax + 0x30]
mov ecx, dword [rsp + 0xd8]
imul rcx, rcx, 0x438
mov rax, qword [rax + 0x15e0]
cmp dword [rax + rcx + 0x14], 1
jne 0x1800d37ef
mov dword [rsp + 0x80], 2
jmp 0x1800d37fa
mov dword [rsp + 0x80], 3
mov eax, dword [rsp + 0x80]
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0xd0]
mov rax, qword [rax + 0x18]
mov rax, qword [rax]
mov ecx, dword [rsp + 0xd8]
imul rcx, rcx, 0x70
add rcx, qword [rax + 0x18]
mov rax, rcx
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0xd0]
mov rax, qword [rax + 0x20]
mov ecx, dword [rsp + 0xd8]
imul rcx, rcx, 0x40
add rcx, qword [rax + 0x18]
mov rax, rcx
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
mov edx, dword [rax]
mov rax, qword [rsp + 0xd0]
mov ecx, dword [rax + 0x48]
call fcn.1800d3e90
mov edx, eax
mov rax, qword [rsp + 0x50]
mov ecx, dword [rax]
call fcn.1800d3d20
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0x88]
mov edx, dword [rax + 4]
mov rax, qword [rsp + 0xd0]
mov ecx, dword [rax + 0x4c]
call fcn.1800d3e90
mov edx, eax
mov rax, qword [rsp + 0x50]
mov ecx, dword [rax + 4]
call fcn.1800d3d20
mov dword [rsp + 0x3c], eax
mov rax, qword [rsp + 0x88]
mov edx, dword [rax]
mov rax, qword [rsp + 0xd0]
mov ecx, dword [rax + 0x50]
call fcn.1800d3e90
mov edx, eax
mov rax, qword [rsp + 0x50]
mov ecx, dword [rax + 8]
call fcn.1800d3ca0
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x88]
mov edx, dword [rax + 4]
mov rax, qword [rsp + 0xd0]
mov ecx, dword [rax + 0x54]
call fcn.1800d3e90
mov edx, eax
mov rax, qword [rsp + 0x50]
mov ecx, dword [rax + 0xc]
call fcn.1800d3ca0
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0xe0], 0
jne 0x1800d3920
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 0x14]
dec eax
mov dword [rsp + 0x58], eax
jmp 0x1800d3935
mov rax, qword [rsp + 0x50]
mov ecx, dword [rsp + 0xe0]
mov eax, dword [rax + 0x14]
sub eax, ecx
mov dword [rsp + 0x58], eax
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0xe8]
and eax, 1
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0xe8]
shr eax, 1
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x20], 0
jne 0x1800d3969
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0x60], eax
jmp 0x1800d39de
mov eax, dword [rsp + 0x20]
dec eax
mov ecx, 1
mov dword [rsp + 0xb0], ecx
movzx ecx, al
mov eax, dword [rsp + 0xb0]
shl eax, cl
imul eax, dword [rsp + 0x30]
cmp dword [rsp + 0x38], eax
ja 0x1800d399c
mov dword [rsp + 0x5c], 0
jmp 0x1800d39d6
mov eax, dword [rsp + 0x20]
dec eax
mov ecx, 1
mov dword [rsp + 0x90], ecx
movzx ecx, al
mov eax, dword [rsp + 0x90]
shl eax, cl
imul eax, dword [rsp + 0x30]
mov ecx, dword [rsp + 0x38]
sub ecx, eax
mov eax, ecx
mov edx, dword [rsp + 0x20]
mov ecx, eax
call fcn.1800d3f50
mov dword [rsp + 0x5c], eax
mov eax, dword [rsp + 0x5c]
mov dword [rsp + 0x60], eax
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x20], 0
jne 0x1800d39f7
mov eax, dword [rsp + 0x3c]
mov dword [rsp + 0x68], eax
jmp 0x1800d3a6c
mov eax, dword [rsp + 0x20]
dec eax
mov ecx, 1
mov dword [rsp + 0x94], ecx
movzx ecx, al
mov eax, dword [rsp + 0x94]
shl eax, cl
imul eax, dword [rsp + 0x34]
cmp dword [rsp + 0x3c], eax
ja 0x1800d3a2a
mov dword [rsp + 0x64], 0
jmp 0x1800d3a64
mov eax, dword [rsp + 0x20]
dec eax
mov ecx, 1
mov dword [rsp + 0x98], ecx
movzx ecx, al
mov eax, dword [rsp + 0x98]
shl eax, cl
imul eax, dword [rsp + 0x34]
mov ecx, dword [rsp + 0x3c]
sub ecx, eax
mov eax, ecx
mov edx, dword [rsp + 0x20]
mov ecx, eax
call fcn.1800d3f50
mov dword [rsp + 0x64], eax
mov eax, dword [rsp + 0x64]
mov dword [rsp + 0x68], eax
mov eax, dword [rsp + 0x68]
mov dword [rsp + 0x2c], eax
cmp dword [rsp + 0x20], 0
jne 0x1800d3a85
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x70], eax
jmp 0x1800d3afa
mov eax, dword [rsp + 0x20]
dec eax
mov ecx, 1
mov dword [rsp + 0x9c], ecx
movzx ecx, al
mov eax, dword [rsp + 0x9c]
shl eax, cl
imul eax, dword [rsp + 0x30]
cmp dword [rsp + 0x40], eax
ja 0x1800d3ab8
mov dword [rsp + 0x6c], 0
jmp 0x1800d3af2
mov eax, dword [rsp + 0x20]
dec eax
mov ecx, 1
mov dword [rsp + 0xa0], ecx
movzx ecx, al
mov eax, dword [rsp + 0xa0]
shl eax, cl
imul eax, dword [rsp + 0x30]
mov ecx, dword [rsp + 0x40]
sub ecx, eax
mov eax, ecx
mov edx, dword [rsp + 0x20]
mov ecx, eax
call fcn.1800d3f50
mov dword [rsp + 0x6c], eax
mov eax, dword [rsp + 0x6c]
mov dword [rsp + 0x70], eax
mov eax, dword [rsp + 0x70]
mov dword [rsp + 0x48], eax
cmp dword [rsp + 0x20], 0
jne 0x1800d3b13
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x78], eax
jmp 0x1800d3b88
mov eax, dword [rsp + 0x20]
dec eax
mov ecx, 1
mov dword [rsp + 0xa4], ecx
movzx ecx, al
mov eax, dword [rsp + 0xa4]
shl eax, cl
imul eax, dword [rsp + 0x34]
cmp dword [rsp + 0x44], eax
ja 0x1800d3b46
mov dword [rsp + 0x74], 0
jmp 0x1800d3b80
mov eax, dword [rsp + 0x20]
dec eax
mov ecx, 1
mov dword [rsp + 0xa8], ecx
movzx ecx, al
mov eax, dword [rsp + 0xa8]
shl eax, cl
imul eax, dword [rsp + 0x34]
mov ecx, dword [rsp + 0x44]
sub ecx, eax
mov eax, ecx
mov edx, dword [rsp + 0x20]
mov ecx, eax
call fcn.1800d3f50
mov dword [rsp + 0x74], eax
mov eax, dword [rsp + 0x74]
mov dword [rsp + 0x78], eax
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0x4c], eax
mov eax, dword [rsp + 0x24]
cmp dword [rsp + 0x28], eax
jae 0x1800d3ba4
mov dword [rsp + 0x28], 0
jmp 0x1800d3bb4
mov eax, dword [rsp + 0x24]
mov ecx, dword [rsp + 0x28]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x24]
cmp dword [rsp + 0x2c], eax
jae 0x1800d3bc8
mov dword [rsp + 0x2c], 0
jmp 0x1800d3bd8
mov eax, dword [rsp + 0x24]
mov ecx, dword [rsp + 0x2c]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x2c], eax
mov edx, dword [rsp + 0x24]
mov ecx, dword [rsp + 0x48]
call fcn.1800d3d60
mov dword [rsp + 0x48], eax
mov edx, dword [rsp + 0x24]
mov ecx, dword [rsp + 0x4c]
call fcn.1800d3d60
mov dword [rsp + 0x4c], eax
mov eax, dword [rsp + 0x48]
cmp dword [rsp + 0xf0], eax
jae 0x1800d3c38
mov eax, dword [rsp + 0x4c]
cmp dword [rsp + 0xf8], eax
jae 0x1800d3c38
mov eax, dword [rsp + 0x28]
cmp dword [rsp + 0x100], eax
jbe 0x1800d3c38
mov eax, dword [rsp + 0x2c]
cmp dword [rsp + 0x108], eax
jbe 0x1800d3c38
mov dword [rsp + 0x7c], 1
jmp 0x1800d3c40
mov dword [rsp + 0x7c], 0
mov eax, dword [rsp + 0x7c]
mov dword [rsp + 0xac], eax
mov eax, dword [rsp + 0xac]
add rsp, 0xc8
ret