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

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x70
lea rcx, [0x1805d77f6]
call fcn.18024f670
cmp qword [rsp + 0x80], 0
jne 0x18037bfc8
mov r8d, 0x1f
lea rdx, [0x18056a610]
lea rcx, [0x18056a690]
call fcn.18037ab90
xor eax, eax
test eax, eax
jne 0x18037bfa4
mov dword [rsp + 0x3c], 0
mov rax, qword [rsp + 0x90]
add rax, 8
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x90]
mov eax, dword [rax - 8]
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
jne 0x18037c005
jmp 0x18037c08f
mov rax, qword [rsp + 0x90]
add rax, 8
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x90]
mov eax, dword [rax - 8]
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0x90]
add rax, 8
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x90]
mov rax, qword [rax - 8]
mov qword [rsp + 0x40], rax
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x60], eax
cmp dword [rsp + 0x60], 0x13
ja case.default.0x18037c072
movsxd rax, dword [rsp + 0x60]
lea rcx, [0x180000000]
mov eax, dword [rcx + rax*4 + 0x37c29c]
add rax, rcx
jmp rax
mov eax, dword [rsp + 0x3c]
inc eax
mov dword [rsp + 0x3c], eax
jmp case.default.0x18037c072
mov eax, 0x10
jmp 0x18037c293
jmp 0x18037bfd6
cmp dword [rsp + 0x3c], 0
jne 0x18037c0a0
mov eax, 2
jmp 0x18037c293
mov eax, dword [rsp + 0x3c]
mov edx, eax
mov ecx, 0x50
call fcn.1802d0270
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jne 0x18037c0c7
mov eax, 0xd
jmp 0x18037c293
mov dword [rsp + 0x3c], 0
mov rax, qword [rsp + 0x98]
add rax, 8
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
mov eax, dword [rax - 8]
mov dword [rsp + 0x34], eax
mov rax, qword [rsp + 0x98]
add rax, 8
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
mov eax, dword [rax - 8]
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0x98]
add rax, 8
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
mov rax, qword [rax - 8]
mov qword [rsp + 0x40], rax
cmp dword [rsp + 0x34], 0
jne 0x18037c146
jmp 0x18037c258
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x64], eax
mov eax, dword [rsp + 0x64]
dec eax
mov dword [rsp + 0x64], eax
cmp dword [rsp + 0x64], 0x11
ja case.default.0x18037c179
movsxd rax, dword [rsp + 0x64]
lea rcx, [0x180000000]
mov eax, dword [rcx + rax*4 + 0x37c2ec]
add rax, rcx
jmp rax
mov eax, dword [rsp + 0x3c]
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x3c]
inc eax
mov dword [rsp + 0x3c], eax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x58], rax
movsxd rax, dword [rsp + 0x50]
imul rax, rax, 0x50
mov rcx, qword [rsp + 0x58]
mov edx, dword [rsp + 0x34]
mov dword [rcx + rax], edx
movsxd rax, dword [rsp + 0x50]
imul rax, rax, 0x50
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x40]
mov qword [rcx + rax + 8], rdx
movsxd rax, dword [rsp + 0x50]
imul rax, rax, 0x50
mov rcx, qword [rsp + 0x58]
mov edx, dword [rsp + 0x38]
mov dword [rcx + rax + 0x10], edx
movsxd rax, dword [rsp + 0x50]
imul rax, rax, 0x50
mov rcx, qword [rsp + 0x58]
mov dword [rcx + rax + 0x14], 0
movsxd rax, dword [rsp + 0x50]
imul rax, rax, 0x50
mov rcx, qword [rsp + 0x58]
mov dword [rcx + rax + 0x18], 0
movsxd rax, dword [rsp + 0x50]
imul rax, rax, 0x50
mov rcx, qword [rsp + 0x58]
mov dword [rcx + rax + 0x1c], 0
movsxd rax, dword [rsp + 0x50]
imul rax, rax, 0x50
mov rcx, qword [rsp + 0x58]
mov dword [rcx + rax + 0x20], 0
movsxd rax, dword [rsp + 0x50]
imul rax, rax, 0x50
mov rcx, qword [rsp + 0x58]
mov qword [rcx + rax + 0x28], 0
xor eax, eax
test eax, eax
jne case.0x18037c179.1
jmp 0x18037c0cf
mov eax, dword [rsp + 0xa0]
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0x3c]
mov r8, qword [rsp + 0x48]
mov edx, dword [rsp + 0x88]
mov rcx, qword [rsp + 0x80]
call fcn.18037e9d0
mov dword [rsp + 0x30], eax
mov rcx, qword [rsp + 0x48]
call fcn.1802701d0
mov eax, dword [rsp + 0x30]
add rsp, 0x70
pop rdi
ret