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

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xf8
mov rax, qword [rsp + 0x108]
mov eax, dword [rax]
mov dword [rsp + 0x3c], eax
mov rax, qword [rsp + 0x100]
mov eax, dword [rax]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x18001e6f8
cmp dword [rsp + 0x30], 1
je 0x18001e2ca
cmp dword [rsp + 0x30], 2
je 0x18001e224
jmp 0x18001e9f3
mov eax, dword [rsp + 0x3c]
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
je 0x18001e2c3
cmp dword [rsp + 0x34], 1
je 0x18001e28c
cmp dword [rsp + 0x34], 2
je 0x18001e247
jmp 0x18001e2c5
mov rax, qword [rsp + 0x108]
mov rcx, qword [rsp + 0x100]
mov ecx, dword [rcx + 4]
cmp dword [rax + 4], ecx
jne 0x18001e283
mov rax, qword [rsp + 0x108]
mov rcx, qword [rsp + 0x100]
mov ecx, dword [rcx + 8]
cmp dword [rax + 8], ecx
je 0x18001e283
mov eax, 1
jmp 0x18001e9f5
xor eax, eax
jmp 0x18001e9f5
mov rax, qword [rsp + 0x100]
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0x108]
mov qword [rsp + 0x100], rax
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x108], rax
jmp 0x18001e1e6
jmp 0x18001e28c
jmp 0x18001e9f3
mov rax, qword [rsp + 0x100]
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x3c]
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0
je 0x18001e6ee
cmp dword [rsp + 0x38], 1
je 0x18001e56a
cmp dword [rsp + 0x38], 2
je 0x18001e301
jmp 0x18001e6f3
mov rax, qword [rsp + 0x108]
mov eax, dword [rax + 4]
mov dword [rsp + 0x88], eax
cmp dword [rsp + 0x88], 0xc
je 0x18001e322
jmp 0x18001e565
mov rax, qword [rsp + 0x108]
cmp dword [rax + 8], 0
jne 0x18001e434
mov rax, qword [rsp + 0x28]
cmp qword [rax + 0x28], 0
jne 0x18001e428
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 4]
and eax, 1
test eax, eax
jne 0x18001e428
mov dword [rsp + 0x20], 0
jmp 0x18001e36b
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0x100
jge 0x18001e41e
movsxd rax, dword [rsp + 0x20]
xor edx, edx
mov ecx, 8
div rcx
mov rcx, qword [rsp + 0x28]
movzx eax, byte [rcx + rax + 8]
mov dword [rsp + 0x90], eax
movsxd rcx, dword [rsp + 0x20]
xor edx, edx
mov rax, rcx
mov ecx, 8
div rcx
mov rax, rdx
mov ecx, 1
mov dword [rsp + 0x8c], ecx
movzx ecx, al
mov eax, dword [rsp + 0x8c]
shl eax, cl
mov ecx, dword [rsp + 0x90]
and ecx, eax
mov eax, ecx
test eax, eax
je 0x18001e419
cmp dword [rsp + 0x20], 0x80
jge 0x18001e419
mov rax, qword [rsp + 0x110]
mov rax, qword [rax + 0x40]
mov rax, qword [rax + 0x58]
mov qword [rsp + 0xb0], rax
mov edx, 0xc
mov ecx, dword [rsp + 0x20]
mov rax, qword [rsp + 0xb0]
call qword [0x180140010]
test eax, eax
je 0x18001e419
xor eax, eax
jmp 0x18001e9f5
jmp 0x18001e361
mov eax, 1
jmp 0x18001e9f5
xor eax, eax
jmp 0x18001e9f5
mov dword [rsp + 0x20], 0
jmp 0x18001e448
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0x100
jge 0x18001e55b
cmp dword [rsp + 0x20], 0x80
jge 0x18001e497
mov rax, qword [rsp + 0x110]
mov rax, qword [rax + 0x40]
mov rax, qword [rax + 0x58]
mov qword [rsp + 0xb8], rax
mov edx, 0xc
mov ecx, dword [rsp + 0x20]
mov rax, qword [rsp + 0xb8]
call qword [0x180140010]
test eax, eax
jne 0x18001e556
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 4]
and eax, 1
test eax, eax
jne 0x18001e4ff
movsxd rax, dword [rsp + 0x20]
xor edx, edx
mov ecx, 8
div rcx
mov rcx, qword [rsp + 0x28]
movzx eax, byte [rcx + rax + 8]
mov dword [rsp + 0x64], eax
movsxd rcx, dword [rsp + 0x20]
xor edx, edx
mov rax, rcx
mov ecx, 8
div rcx
mov rax, rdx
mov ecx, 1
mov dword [rsp + 0x60], ecx
movzx ecx, al
mov eax, dword [rsp + 0x60]
shl eax, cl
mov ecx, dword [rsp + 0x64]
and ecx, eax
mov eax, ecx
test eax, eax
je 0x18001e4fd
xor eax, eax
jmp 0x18001e9f5
jmp 0x18001e556
movsxd rax, dword [rsp + 0x20]
xor edx, edx
mov ecx, 8
div rcx
mov rcx, qword [rsp + 0x28]
movzx eax, byte [rcx + rax + 8]
mov dword [rsp + 0x6c], eax
movsxd rcx, dword [rsp + 0x20]
xor edx, edx
mov rax, rcx
mov ecx, 8
div rcx
mov rax, rdx
mov ecx, 1
mov dword [rsp + 0x68], ecx
movzx ecx, al
mov eax, dword [rsp + 0x68]
shl eax, cl
mov ecx, dword [rsp + 0x6c]
and ecx, eax
mov eax, ecx
test eax, eax
jne 0x18001e556
xor eax, eax
jmp 0x18001e9f5
jmp 0x18001e43e
mov eax, 1
jmp 0x18001e9f5
jmp 0x18001e6f3
mov rax, qword [rsp + 0x108]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x20], 0
jmp 0x18001e58b
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0x100
jge 0x18001e6a5
movsxd rax, dword [rsp + 0x20]
xor edx, edx
mov ecx, 8
div rcx
mov rcx, qword [rsp + 0x28]
movzx eax, byte [rcx + rax + 8]
mov dword [rsp + 0x74], eax
movsxd rcx, dword [rsp + 0x20]
xor edx, edx
mov rax, rcx
mov ecx, 8
div rcx
mov rax, rdx
mov ecx, 1
mov dword [rsp + 0x70], ecx
movzx ecx, al
mov eax, dword [rsp + 0x70]
shl eax, cl
mov ecx, dword [rsp + 0x74]
and ecx, eax
mov eax, ecx
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
je 0x18001e5ff
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 4]
and eax, 1
test eax, eax
je 0x18001e61d
cmp dword [rsp + 0x24], 0
jne 0x18001e6a0
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 4]
and eax, 1
test eax, eax
je 0x18001e6a0
movsxd rax, dword [rsp + 0x20]
xor edx, edx
mov ecx, 8
div rcx
mov rcx, qword [rsp + 0x50]
movzx eax, byte [rcx + rax + 8]
mov dword [rsp + 0x7c], eax
movsxd rcx, dword [rsp + 0x20]
xor edx, edx
mov rax, rcx
mov ecx, 8
div rcx
mov rax, rdx
mov ecx, 1
mov dword [rsp + 0x78], ecx
movzx ecx, al
mov eax, dword [rsp + 0x78]
shl eax, cl
mov ecx, dword [rsp + 0x7c]
and ecx, eax
mov eax, ecx
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
je 0x18001e683
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 4]
and eax, 1
test eax, eax
je 0x18001e699
cmp dword [rsp + 0x24], 0
jne 0x18001e6a0
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 4]
and eax, 1
test eax, eax
je 0x18001e6a0
xor eax, eax
jmp 0x18001e9f5
jmp 0x18001e581
mov rax, qword [rsp + 0x28]
cmp qword [rax + 0x28], 0
jne 0x18001e6c0
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 4]
and eax, 1
test eax, eax
je 0x18001e6db
mov rax, qword [rsp + 0x50]
cmp qword [rax + 0x28], 0
jne 0x18001e6e5
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 4]
and eax, 1
test eax, eax
jne 0x18001e6e5
mov eax, 1
jmp 0x18001e9f5
xor eax, eax
jmp 0x18001e9f5
jmp 0x18001e28c
jmp 0x18001e9f3
mov rax, qword [rsp + 0x100]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x100]
mov rcx, qword [rsp + 0x100]
mov rcx, qword [rcx + 8]
mov rax, qword [rax + 0x10]
sub rax, rcx
test rax, rax
jne 0x18001e72a
jmp 0x18001e9f3
mov eax, dword [rsp + 0x3c]
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
je 0x18001e8c4
cmp dword [rsp + 0x40], 1
je 0x18001e81e
cmp dword [rsp + 0x40], 2
je 0x18001e754
jmp 0x18001e9f3
mov rax, qword [rsp + 0x108]
mov eax, dword [rax + 4]
mov dword [rsp + 0x80], eax
cmp dword [rsp + 0x80], 0xc
je 0x18001e775
jmp 0x18001e819
mov rax, qword [rsp + 0x110]
mov rax, qword [rax + 0x40]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0x58]
mov rdx, qword [rax + 0x10]
mov rax, qword [rsp + 0x58]
mov rcx, qword [rax + 8]
mov rax, qword [rsp + 0xc0]
call qword [0x180140010]
mov rcx, qword [rsp + 0x110]
mov rcx, qword [rcx + 0x40]
mov rcx, qword [rcx + 0x58]
mov qword [rsp + 0xc8], rcx
mov edx, 0xc
mov ecx, eax
mov rax, qword [rsp + 0xc8]
call qword [0x180140010]
test eax, eax
je 0x18001e7f0
mov rax, qword [rsp + 0x108]
mov eax, dword [rax + 8]
jmp 0x18001e9f5
mov rax, qword [rsp + 0x108]
cmp dword [rax + 8], 0
jne 0x18001e808
mov dword [rsp + 0x48], 1
jmp 0x18001e810
mov dword [rsp + 0x48], 0
mov eax, dword [rsp + 0x48]
jmp 0x18001e9f5
jmp 0x18001e9f3
mov rax, qword [rsp + 0x108]
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0x110]
mov rax, qword [rax + 0x40]
movsxd rax, dword [rax + 0x10]
mov rcx, qword [rsp + 0x58]
add rax, qword [rcx + 8]
mov rcx, qword [rsp + 0x110]
mov rcx, qword [rcx + 0x40]
mov rcx, qword [rcx + 0x20]
mov qword [rsp + 0xd0], rcx
mov rdx, rax
mov rax, qword [rsp + 0x58]
mov rcx, qword [rax + 8]
mov rax, qword [rsp + 0xd0]
call qword [0x180140010]
mov dword [rsp + 0x84], eax
mov r8, qword [rsp + 0xd8]
mov edx, dword [rsp + 0x84]
mov rax, qword [rsp + 0x110]
mov rcx, qword [rax + 0x40]
call fcn.1800039b0
test eax, eax
je 0x18001e8ae
mov dword [rsp + 0x4c], 0
jmp 0x18001e8b6
mov dword [rsp + 0x4c], 1
mov eax, dword [rsp + 0x4c]
jmp 0x18001e9f5
mov rax, qword [rsp + 0x108]
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0x100]
mov rcx, qword [rsp + 0x100]
mov rcx, qword [rcx + 8]
mov rax, qword [rax + 0x10]
sub rax, rcx
mov dword [rsp + 0x44], eax
movsxd rax, dword [rsp + 0x44]
mov rcx, qword [rsp + 0x108]
mov rdx, qword [rsp + 0x108]
mov rdx, qword [rdx + 8]
mov rcx, qword [rcx + 0x10]
sub rcx, rdx
cmp rax, rcx
jle 0x18001e937
mov rax, qword [rsp + 0x108]
mov rcx, qword [rsp + 0x108]
mov rcx, qword [rcx + 8]
mov rax, qword [rax + 0x10]
sub rax, rcx
mov dword [rsp + 0x44], eax
mov rax, qword [rsp + 0x100]
mov eax, dword [rax + 0x18]
and eax, 2
test eax, eax
jne 0x18001e95b
mov rax, qword [rsp + 0x108]
mov eax, dword [rax + 0x18]
and eax, 2
test eax, eax
je 0x18001e967
xor eax, eax
jmp 0x18001e9f5
mov dword [rsp + 0x20], 0
mov rax, qword [rsp + 0xe0]
mov rax, qword [rax + 8]
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x58]
mov rax, qword [rax + 8]
mov qword [rsp + 0xa0], rax
jmp 0x18001e9c6
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x98]
inc rax
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0xa0]
inc rax
mov qword [rsp + 0xa0], rax
mov eax, dword [rsp + 0x44]
cmp dword [rsp + 0x20], eax
jge 0x18001e9f3
mov rax, qword [rsp + 0x98]
movzx eax, byte [rax]
mov rcx, qword [rsp + 0xa0]
movzx ecx, byte [rcx]
cmp eax, ecx
je 0x18001e9f1
mov eax, 1
jmp 0x18001e9f5
jmp 0x18001e996
xor eax, eax
add rsp, 0xf8
ret