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

Disassembly:
mov word [rsp + 0x20], r9w
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x148
mov qword [rsp + 0x50], 0
mov rax, qword [rsp + 0x150]
mov rax, qword [rax]
mov rax, qword [rax]
mov qword [rsp + 0xd0], rax
mov qword [rsp + 0x70], 0
movzx eax, word [rsp + 0x170]
test eax, eax
je 0x1800c2f2a
mov rax, qword [rsp + 0xd0]
movzx eax, word [rax + 0x5c]
and eax, 0x40
test eax, eax
je 0x1800c2f2a
xor al, al
jmp 0x1800c39ff
mov rax, qword [rsp + 0x158]
movzx eax, word [rax]
mov word [rsp + 0x44], ax
movzx eax, word [rsp + 0x44]
cmp eax, 0x3f
jle 0x1800c2f4b
xor al, al
jmp 0x1800c39ff
mov byte [rsp + 0x30], 1
movzx eax, word [rsp + 0x44]
mov ecx, 1
mov qword [rsp + 0xd8], rcx
movzx ecx, al
mov rax, qword [rsp + 0xd8]
shl rax, cl
dec rax
mov qword [rsp + 0xb0], rax
mov qword [rsp + 0xa8], 0
mov qword [rsp + 0xa0], 0
mov eax, 0x182
mov word [rsp + 0x58], ax
movzx eax, word [rsp + 0x168]
and eax, 0x800
test eax, eax
je 0x1800c2fbb
movzx eax, word [rsp + 0x58]
or eax, 1
mov word [rsp + 0x58], ax
mov dword [rsp + 0x64], 0
jmp 0x1800c2fcf
mov eax, dword [rsp + 0x64]
inc eax
mov dword [rsp + 0x64], eax
movzx eax, byte [rsp + 0x30]
test eax, eax
je 0x1800c396c
mov rax, qword [rsp + 0xb0]
cmp qword [rsp + 0x70], rax
jae 0x1800c396c
movzx eax, word [rsp + 0x170]
cmp dword [rsp + 0x64], eax
jg 0x1800c396c
cmp dword [rsp + 0x64], 0
jle 0x1800c3027
mov rax, qword [rsp + 0x50]
mov rax, qword [rax + 8]
mov rcx, qword [rsp + 0xa0]
or rcx, rax
mov rax, rcx
mov qword [rsp + 0xa0], rax
movzx eax, word [rsp + 0x170]
cmp dword [rsp + 0x64], eax
jge 0x1800c3067
movsxd rax, dword [rsp + 0x64]
mov rcx, qword [rsp + 0x160]
mov rcx, qword [rcx + 0x18]
mov rax, qword [rcx + rax*8]
mov qword [rsp + 0x50], rax
movzx eax, word [rsp + 0x168]
and eax, 0x800
test eax, eax
je 0x1800c3065
jmp 0x1800c2fc5
jmp 0x1800c3074
mov rax, qword [rsp + 0x178]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 0x28]
and eax, 0x400
test eax, eax
je 0x1800c30a6
mov rax, qword [rsp + 0x50]
movsx eax, byte [rax + 0x1d]
test eax, eax
je 0x1800c309f
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x70], rax
jmp 0x1800c396c
xor eax, eax
mov rcx, qword [rsp + 0x50]
mov word [rcx + 0x1e], ax
mov rax, qword [rsp + 0x150]
mov rax, qword [rax + 8]
mov rcx, qword [rsp + 0x50]
movzx ecx, byte [rcx + 0x10]
imul rcx, rcx, 0x70
mov eax, dword [rax + rcx + 0x4c]
mov dword [rsp + 0x80], eax
mov dword [rsp + 0x34], 0
jmp 0x1800c30e9
mov eax, dword [rsp + 0x34]
inc eax
mov dword [rsp + 0x34], eax
movzx eax, word [rsp + 0x44]
cmp dword [rsp + 0x34], eax
jge 0x1800c32de
mov eax, dword [rsp + 0x34]
mov ecx, 1
mov qword [rsp + 0xe0], rcx
movzx ecx, al
mov rax, qword [rsp + 0xe0]
shl rax, cl
and rax, qword [rsp + 0x70]
test rax, rax
je 0x1800c3123
jmp 0x1800c30df
movsxd rax, dword [rsp + 0x34]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x158]
mov rcx, qword [rcx + rax + 8]
call fcn.180074160
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
movzx eax, byte [rax]
cmp eax, 0x9e
je 0x1800c315a
jmp 0x1800c30df
mov rax, qword [rsp + 0x88]
mov ecx, dword [rsp + 0x80]
cmp dword [rax + 0x2c], ecx
je 0x1800c3173
jmp 0x1800c30df
movzx eax, word [rsp + 0x58]
mov rcx, qword [rsp + 0xa0]
not rcx
mov rdx, qword [rsp + 0x88]
movsx edx, word [rdx + 0x30]
mov r8, qword [rsp + 0x150]
add r8, 0x68
mov qword [rsp + 0xe8], r8
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], eax
mov r9, rcx
mov r8d, edx
mov edx, dword [rsp + 0x80]
mov rax, qword [rsp + 0xe8]
mov rcx, rax
call fcn.1800b08d0
mov qword [rsp + 0x98], rax
cmp qword [rsp + 0x98], 0
jne 0x1800c31e5
jmp 0x1800c30df
mov rax, qword [rsp + 0x98]
movzx eax, word [rax + 0x14]
cmp eax, 1
jne 0x1800c324b
mov dword [rsp + 0x38], 0
jmp 0x1800c320a
mov eax, dword [rsp + 0x38]
inc eax
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0x50]
movzx eax, word [rax + 0x2c]
cmp dword [rsp + 0x38], eax
jge 0x1800c3237
movsxd rax, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x50]
mov rcx, qword [rcx + 0x38]
mov rax, qword [rcx + rax*8]
cmp qword [rsp + 0x98], rax
je 0x1800c3237
jmp 0x1800c3200
mov rax, qword [rsp + 0x50]
movzx eax, word [rax + 0x2c]
cmp dword [rsp + 0x38], eax
jl 0x1800c324b
jmp 0x1800c30df
mov rax, qword [rsp + 0x98]
movzx eax, word [rax + 0x14]
and eax, 0x82
test eax, eax
je 0x1800c32aa
mov rax, qword [rsp + 0x88]
movsx eax, word [rax + 0x30]
test eax, eax
jl 0x1800c32aa
movsxd rax, dword [rsp + 0x34]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x98]
mov r8, qword [rcx]
mov rcx, qword [rsp + 0x158]
mov rdx, qword [rcx + rax + 8]
mov rax, qword [rsp + 0x150]
mov rcx, qword [rax]
call fcn.180071d60
test eax, eax
jne 0x1800c32aa
jmp 0x1800c30df
mov eax, dword [rsp + 0x34]
mov ecx, 1
mov qword [rsp + 0xf0], rcx
movzx ecx, al
mov rax, qword [rsp + 0xf0]
shl rax, cl
mov rcx, qword [rsp + 0x70]
or rcx, rax
mov rax, rcx
mov qword [rsp + 0x70], rax
jmp 0x1800c30df
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 0x28]
and eax, 0x1000
test eax, eax
jne 0x1800c3836
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 0x28]
and eax, 0x100
test eax, eax
je 0x1800c3320
mov qword [rsp + 0x68], 0
xor eax, eax
mov word [rsp + 0x7c], ax
mov eax, 1
mov word [rsp + 0x78], ax
jmp 0x1800c339e
mov rax, qword [rsp + 0x50]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
je 0x1800c3348
mov rax, qword [rsp + 0x68]
mov eax, dword [rax + 0x64]
shr eax, 2
and eax, 1
test eax, eax
je 0x1800c3351
xor al, al
jmp 0x1800c39ff
mov rax, qword [rsp + 0x68]
movzx eax, word [rax + 0x5e]
mov word [rsp + 0x7c], ax
mov rax, qword [rsp + 0x68]
movzx eax, word [rax + 0x60]
mov word [rsp + 0x78], ax
mov rax, qword [rsp + 0x68]
movzx eax, byte [rax + 0x62]
test eax, eax
je 0x1800c3387
mov dword [rsp + 0x90], 1
jmp 0x1800c3392
mov dword [rsp + 0x90], 0
movzx eax, byte [rsp + 0x90]
mov byte [rsp + 0x30], al
mov byte [rsp + 0x40], 0
movzx eax, byte [rsp + 0x40]
mov byte [rsp + 0x3f], al
mov byte [rsp + 0x48], 0
mov dword [rsp + 0x38], 0
jmp 0x1800c33c5
mov eax, dword [rsp + 0x38]
inc eax
mov dword [rsp + 0x38], eax
movzx eax, word [rsp + 0x78]
cmp dword [rsp + 0x38], eax
jge 0x1800c3828
mov byte [rsp + 0x3d], 1
mov rax, qword [rsp + 0x50]
movzx eax, word [rax + 0x18]
cmp dword [rsp + 0x38], eax
jge 0x1800c34ba
mov rax, qword [rsp + 0x50]
movzx eax, word [rax + 0x2e]
cmp dword [rsp + 0x38], eax
jl 0x1800c34ba
movsxd rax, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x50]
mov rcx, qword [rcx + 0x38]
mov rax, qword [rcx + rax*8]
movzx eax, word [rax + 0x14]
mov word [rsp + 0x60], ax
movzx eax, word [rsp + 0x60]
movzx ecx, word [rsp + 0x58]
and eax, ecx
test eax, eax
je 0x1800c3444
movzx eax, word [rsp + 0x60]
and eax, 0x100
test eax, eax
je 0x1800c343d
mov byte [rsp + 0x30], 0
jmp 0x1800c33bb
movzx eax, word [rsp + 0x60]
and eax, 1
test eax, eax
je 0x1800c34ba
movsxd rax, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x50]
mov rcx, qword [rcx + 0x38]
mov rax, qword [rcx + rax*8]
mov rax, qword [rax]
mov qword [rsp + 0xf8], rax
mov eax, dword [rsp + 0x38]
inc eax
mov dword [rsp + 0x34], eax
jmp 0x1800c3483
mov eax, dword [rsp + 0x34]
inc eax
mov dword [rsp + 0x34], eax
mov rax, qword [rsp + 0x50]
movzx eax, word [rax + 0x18]
cmp dword [rsp + 0x34], eax
jge 0x1800c34ba
movsxd rax, dword [rsp + 0x34]
mov rcx, qword [rsp + 0x50]
mov rcx, qword [rcx + 0x38]
mov rax, qword [rcx + rax*8]
mov rcx, qword [rsp + 0xf8]
cmp qword [rax], rcx
jne 0x1800c34b8
mov byte [rsp + 0x3d], 0
jmp 0x1800c34ba
jmp 0x1800c3479
cmp qword [rsp + 0x68], 0
je 0x1800c350b
movsxd rax, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x68]
mov rcx, qword [rcx + 8]
movsx eax, word [rcx + rax*2]
mov dword [rsp + 0x5c], eax
movsxd rax, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x68]
mov rcx, qword [rcx + 0x38]
movzx eax, byte [rcx + rax]
mov byte [rsp + 0x3e], al
mov rax, qword [rsp + 0x68]
mov rax, qword [rax + 0x18]
movsx eax, word [rax + 0x44]
cmp dword [rsp + 0x5c], eax
jne 0x1800c3509
mov dword [rsp + 0x5c], 0xffffffff
jmp 0x1800c3518
mov dword [rsp + 0x5c], 0xffffffff
mov byte [rsp + 0x3e], 0
movzx eax, byte [rsp + 0x30]
test eax, eax
je 0x1800c355b
cmp dword [rsp + 0x5c], 0
jl 0x1800c355b
mov rax, qword [rsp + 0x50]
movzx eax, word [rax + 0x18]
cmp dword [rsp + 0x38], eax
jl 0x1800c355b
mov rax, qword [rsp + 0x68]
mov rax, qword [rax + 0x18]
movsxd rcx, dword [rsp + 0x5c]
imul rcx, rcx, 0x20
mov rax, qword [rax + 8]
movzx eax, byte [rax + rcx + 0x18]
test eax, eax
jne 0x1800c355b
mov byte [rsp + 0x30], 0
mov byte [rsp + 0x3c], 0
mov dword [rsp + 0x34], 0
jmp 0x1800c3574
mov eax, dword [rsp + 0x34]
inc eax
mov dword [rsp + 0x34], eax
movzx eax, byte [rsp + 0x3d]
test eax, eax
je 0x1800c3704
movzx eax, word [rsp + 0x44]
cmp dword [rsp + 0x34], eax
jge 0x1800c3704
mov eax, dword [rsp + 0x34]
mov ecx, 1
mov qword [rsp + 0x100], rcx
movzx ecx, al
mov rax, qword [rsp + 0x100]
shl rax, cl
and rax, qword [rsp + 0x70]
test rax, rax
je 0x1800c35bb
jmp 0x1800c356a
movsxd rax, dword [rsp + 0x34]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x158]
mov rcx, qword [rcx + rax + 8]
call fcn.180074160
mov qword [rsp + 0x88], rax
movzx eax, word [rsp + 0x168]
and eax, 0xc0
test eax, eax
jne 0x1800c35f4
mov byte [rsp + 0x3d], 0
cmp dword [rsp + 0x5c], 0xffffffff
jl 0x1800c3644
mov rax, qword [rsp + 0x88]
movzx eax, byte [rax]
cmp eax, 0x9e
je 0x1800c3612
jmp 0x1800c356a
mov rax, qword [rsp + 0x88]
mov ecx, dword [rsp + 0x80]
cmp dword [rax + 0x2c], ecx
je 0x1800c362b
jmp 0x1800c356a
mov rax, qword [rsp + 0x88]
movsx eax, word [rax + 0x30]
cmp eax, dword [rsp + 0x5c]
je 0x1800c3642
jmp 0x1800c356a
jmp 0x1800c3689
mov rax, qword [rsp + 0x68]
mov rax, qword [rax + 0x50]
movsxd rcx, dword [rsp + 0x38]
imul rcx, rcx, 0x28
mov rax, qword [rax + rcx + 8]
mov qword [rsp + 0x108], rax
mov r8d, dword [rsp + 0x80]
mov rdx, qword [rsp + 0x108]
mov rcx, qword [rsp + 0x88]
call fcn.1800721b0
test eax, eax
je 0x1800c3689
jmp 0x1800c356a
cmp dword [rsp + 0x5c], 0xffffffff
je 0x1800c36e9
movsxd rax, dword [rsp + 0x34]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x158]
mov rdx, qword [rcx + rax + 8]
mov rax, qword [rsp + 0x150]
mov rcx, qword [rax]
call fcn.180073ec0
mov qword [rsp + 0x110], rax
movsxd rax, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x68]
mov rcx, qword [rcx + 0x40]
mov rdx, qword [rcx + rax*8]
mov rax, qword [rsp + 0x110]
mov rcx, qword [rax]
call fcn.1800922f0
test eax, eax
je 0x1800c36e9
jmp 0x1800c356a
mov eax, dword [rsp + 0x38]
inc eax
mov rcx, qword [rsp + 0x50]
mov word [rcx + 0x1e], ax
mov byte [rsp + 0x3c], 1
jmp 0x1800c3704
movzx eax, byte [rsp + 0x3c]
test eax, eax
je 0x1800c37c4
movzx eax, word [rsp + 0x168]
and eax, 0x40
test eax, eax
jne 0x1800c37c4
movzx eax, byte [rsp + 0x40]
test eax, eax
je 0x1800c375a
movzx eax, byte [rsp + 0x3f]
movzx ecx, byte [rsp + 0x3e]
xor eax, ecx
movsxd rcx, dword [rsp + 0x34]
imul rcx, rcx, 0x28
mov rdx, qword [rsp + 0x158]
movzx ecx, byte [rdx + rcx + 0x20]
cmp eax, ecx
je 0x1800c3758
mov byte [rsp + 0x3c], 0
jmp 0x1800c37c4
movzx eax, byte [rsp + 0x3e]
movsxd rcx, dword [rsp + 0x34]
imul rcx, rcx, 0x28
mov rdx, qword [rsp + 0x158]
movzx ecx, byte [rdx + rcx + 0x20]
xor eax, ecx
mov byte [rsp + 0x3f], al
movzx eax, byte [rsp + 0x3f]
test eax, eax
je 0x1800c37bf
mov eax, dword [rsp + 0x64]
mov ecx, 1
mov qword [rsp + 0x118], rcx
movzx ecx, al
mov rax, qword [rsp + 0x118]
shl rax, cl
mov rcx, qword [rsp + 0x180]
mov rcx, qword [rcx]
or rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x180]
mov qword [rcx], rax
mov byte [rsp + 0x40], 1
movzx eax, byte [rsp + 0x3c]
test eax, eax
je 0x1800c380a
cmp dword [rsp + 0x5c], 0xffffffff
jne 0x1800c37d9
mov byte [rsp + 0x48], 1
mov eax, dword [rsp + 0x34]
mov ecx, 1
mov qword [rsp + 0x120], rcx
movzx ecx, al
mov rax, qword [rsp + 0x120]
shl rax, cl
mov rcx, qword [rsp + 0x70]
or rcx, rax
mov rax, rcx
mov qword [rsp + 0x70], rax
jmp 0x1800c3823
cmp dword [rsp + 0x38], 0
je 0x1800c381c
movzx eax, word [rsp + 0x7c]
cmp dword [rsp + 0x38], eax
jge 0x1800c3821
mov byte [rsp + 0x30], 0
jmp 0x1800c3828
jmp 0x1800c33bb
movzx eax, byte [rsp + 0x48]
test eax, eax
je 0x1800c3836
mov byte [rsp + 0x30], 1
movzx eax, byte [rsp + 0x30]
test eax, eax
je 0x1800c3967
mov rax, qword [rsp + 0x50]
mov rax, qword [rax + 8]
mov rcx, qword [rsp + 0xa8]
or rcx, rax
mov rax, rcx
mov qword [rsp + 0xa8], rax
mov dword [rsp + 0x34], 0
jmp 0x1800c3876
mov eax, dword [rsp + 0x34]
inc eax
mov dword [rsp + 0x34], eax
movzx eax, word [rsp + 0x44]
cmp dword [rsp + 0x34], eax
jge 0x1800c3967
mov eax, dword [rsp + 0x34]
mov ecx, 1
mov qword [rsp + 0x128], rcx
movzx ecx, al
mov rax, qword [rsp + 0x128]
shl rax, cl
and rax, qword [rsp + 0x70]
test rax, rax
je 0x1800c38b0
jmp 0x1800c386c
movsxd rax, dword [rsp + 0x34]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x158]
mov rax, qword [rcx + rax + 8]
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0x150]
add rax, 0x290
mov rdx, qword [rsp + 0xb8]
mov rcx, rax
call fcn.1800b0700
mov qword [rsp + 0xc0], rax
cmp qword [rsp + 0xc0], 0
jne 0x1800c3915
mov rcx, qword [rsp + 0xb8]
call fcn.1800733e0
test eax, eax
jne 0x1800c3915
jmp 0x1800c386c
mov rax, qword [rsp + 0xa8]
not rax
mov rcx, qword [rsp + 0xc0]
and rcx, rax
mov rax, rcx
test rax, rax
jne 0x1800c3962
mov eax, dword [rsp + 0x34]
mov ecx, 1
mov qword [rsp + 0x130], rcx
movzx ecx, al
mov rax, qword [rsp + 0x130]
shl rax, cl
mov rcx, qword [rsp + 0x70]
or rcx, rax
mov rax, rcx
mov qword [rsp + 0x70], rax
jmp 0x1800c386c
jmp 0x1800c2fc5
mov rax, qword [rsp + 0xb0]
cmp qword [rsp + 0x70], rax
jne 0x1800c3982
movzx eax, byte [rsp + 0x44]
jmp 0x1800c39ff
movzx eax, byte [rsp + 0x30]
test eax, eax
jne 0x1800c39fd
movzx eax, word [rsp + 0x44]
dec eax
mov dword [rsp + 0x34], eax
jmp 0x1800c39a2
mov eax, dword [rsp + 0x34]
dec eax
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
jle 0x1800c39f9
mov eax, dword [rsp + 0x34]
mov ecx, 1
mov qword [rsp + 0x138], rcx
movzx ecx, al
mov rax, qword [rsp + 0x138]
shl rax, cl
dec rax
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0x70]
and rcx, rax
mov rax, rcx
cmp rax, qword [rsp + 0xc8]
jne 0x1800c39f7
movzx eax, byte [rsp + 0x34]
jmp 0x1800c39ff
jmp 0x1800c3998
xor al, al
jmp 0x1800c39ff
mov al, 0xff
add rsp, 0x148
ret