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

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov rax, qword [rsp + 0x80]
cmp dword [rax + 8], 2
jne 0x18001c386
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x80]
call fcn.18001c1c0
jmp 0x18001c659
mov rax, qword [rsp + 0x80]
cmp qword [rax + 0x18], 0
je 0x18001c3c4
mov rdx, qword [rsp + 0x88]
mov rax, qword [rsp + 0x80]
mov rcx, qword [rax + 0x18]
call fcn.180019f40
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jge 0x18001c3c2
mov eax, dword [rsp + 0x20]
jmp 0x18001c659
jmp 0x18001c3cc
mov dword [rsp + 0x20], 0
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 8]
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 1
je 0x18001c3f2
cmp dword [rsp + 0x28], 4
je 0x18001c5d6
jmp 0x18001c64e
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 4]
and eax, 0x100
test eax, eax
je 0x18001c4e3
movsxd rax, dword [rsp + 0x20]
add rax, 0xe
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x80]
cmp dword [rax + 0xc], 0x20
jge 0x18001c457
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0xc]
mov ecx, 1
mov dword [rsp + 0x38], ecx
movzx ecx, al
mov eax, dword [rsp + 0x38]
shl eax, cl
mov rcx, qword [rsp + 0x88]
mov ecx, dword [rcx + 0x2c]
and ecx, eax
mov eax, ecx
mov dword [rsp + 0x2c], eax
jmp 0x18001c469
mov rax, qword [rsp + 0x88]
mov eax, dword [rax + 0x2c]
and eax, 1
mov dword [rsp + 0x2c], eax
cmp dword [rsp + 0x2c], 0
je 0x18001c4a8
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 4]
and eax, 0x80
test eax, eax
je 0x18001c48f
mov qword [rsp + 0x48], 3
jmp 0x18001c498
mov qword [rsp + 0x48], 3
movsxd rax, dword [rsp + 0x24]
add rax, qword [rsp + 0x48]
mov dword [rsp + 0x24], eax
jmp 0x18001c4de
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 4]
and eax, 0x80
test eax, eax
je 0x18001c4c7
mov qword [rsp + 0x50], 3
jmp 0x18001c4d0
mov qword [rsp + 0x50], 3
movsxd rax, dword [rsp + 0x24]
add rax, qword [rsp + 0x50]
mov dword [rsp + 0x24], eax
jmp 0x18001c5d4
mov rax, qword [rsp + 0x80]
cmp dword [rax + 0xc], 0x20
jge 0x18001c523
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0xc]
mov ecx, 1
mov dword [rsp + 0x3c], ecx
movzx ecx, al
mov eax, dword [rsp + 0x3c]
shl eax, cl
mov rcx, qword [rsp + 0x88]
mov ecx, dword [rcx + 0x28]
and ecx, eax
mov eax, ecx
mov dword [rsp + 0x30], eax
jmp 0x18001c535
mov rax, qword [rsp + 0x88]
mov eax, dword [rax + 0x28]
and eax, 1
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x18001c546
mov dword [rsp + 0x24], 3
jmp 0x18001c54e
mov dword [rsp + 0x24], 3
mov rax, qword [rsp + 0x80]
cmp dword [rax + 0xc], 0x20
jge 0x18001c58e
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0xc]
mov ecx, 1
mov dword [rsp + 0x40], ecx
movzx ecx, al
mov eax, dword [rsp + 0x40]
shl eax, cl
mov rcx, qword [rsp + 0x88]
mov ecx, dword [rcx + 0x2c]
and ecx, eax
mov eax, ecx
mov dword [rsp + 0x34], eax
jmp 0x18001c5a0
mov rax, qword [rsp + 0x88]
mov eax, dword [rax + 0x2c]
and eax, 1
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
je 0x18001c5b2
mov qword [rsp + 0x58], 3
jmp 0x18001c5bb
mov qword [rsp + 0x58], 3
movsxd rax, dword [rsp + 0x20]
add rax, qword [rsp + 0x58]
movsxd rcx, dword [rsp + 0x24]
add rcx, rax
mov rax, rcx
mov dword [rsp + 0x24], eax
jmp 0x18001c655
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 4]
and eax, 0x40
test eax, eax
je 0x18001c641
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x60], rax
mov rdx, qword [rsp + 0x88]
mov rax, qword [rsp + 0x60]
mov rcx, qword [rax + 8]
call fcn.180019f40
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jge 0x18001c620
mov eax, dword [rsp + 0x20]
jmp 0x18001c659
mov rax, qword [rsp + 0x60]
mov ecx, dword [rsp + 0x20]
imul ecx, dword [rax + 0x10]
mov eax, ecx
cdqe
movsxd rcx, dword [rsp + 0x20]
lea rax, [rax + rcx + 0xb]
mov dword [rsp + 0x24], eax
jmp 0x18001c64c
mov eax, dword [rsp + 0x20]
add eax, 2
mov dword [rsp + 0x24], eax
jmp 0x18001c655
mov eax, 0xfffffffa
jmp 0x18001c659
mov eax, dword [rsp + 0x24]
add rsp, 0x78
ret