Function at 0x14011c060
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, 0x168
mov qword [rsp + 0x48], 0
mov rax, qword [rsp + 0x170]
mov rax, qword [rax]
mov rax, qword [rax]
mov qword [rsp + 0xe0], rax
mov qword [rsp + 0x70], 0
movzx eax, word [rsp + 0x190]
test eax, eax
je 0x14011c0ca
mov rax, qword [rsp + 0xe0]
movzx eax, word [rax + 0x5c]
and eax, 0x40
test eax, eax
je 0x14011c0ca
xor al, al
jmp 0x14011cc9a
mov rax, qword [rsp + 0x178]
movzx eax, word [rax]
mov word [rsp + 0x44], ax
movzx eax, word [rsp + 0x44]
cmp eax, 0x3f
jle 0x14011c0eb
xor al, al
jmp 0x14011cc9a
mov byte [rsp + 0x30], 1
movzx eax, word [rsp + 0x44]
mov ecx, 1
mov qword [rsp + 0xe8], rcx
movzx ecx, al
mov rax, qword [rsp + 0xe8]
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 + 0x54], ax
movzx eax, word [rsp + 0x188]
and eax, 0x800
test eax, eax
je 0x14011c15b
movzx eax, word [rsp + 0x54]
or eax, 1
mov word [rsp + 0x54], ax
mov dword [rsp + 0x60], 0
jmp 0x14011c16f
mov eax, dword [rsp + 0x60]
inc eax
mov dword [rsp + 0x60], eax
movzx eax, byte [rsp + 0x30]
test eax, eax
je 0x14011cc07
mov rax, qword [rsp + 0xb0]
cmp qword [rsp + 0x70], rax
jae 0x14011cc07
movzx eax, word [rsp + 0x190]
cmp dword [rsp + 0x60], eax
jg 0x14011cc07
cmp dword [rsp + 0x60], 0
jle 0x14011c1c7
mov rax, qword [rsp + 0x48]
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 + 0x190]
cmp dword [rsp + 0x60], eax
jge 0x14011c207
movsxd rax, dword [rsp + 0x60]
mov rcx, qword [rsp + 0x180]
mov rcx, qword [rcx + 0x18]
mov rax, qword [rcx + rax*8]
mov qword [rsp + 0x48], rax
movzx eax, word [rsp + 0x188]
and eax, 0x800
test eax, eax
je 0x14011c205
jmp 0x14011c165
jmp 0x14011c214
mov rax, qword [rsp + 0x198]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 0x28]
and eax, 0x400
test eax, eax
je 0x14011c257
mov rax, qword [rsp + 0x48]
movsx eax, byte [rax + 0x1d]
test eax, eax
je 0x14011c250
movzx eax, word [rsp + 0x188]
and eax, 0x80
test eax, eax
jne 0x14011c250
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x70], rax
jmp 0x14011cc07
movzx eax, word [rsp + 0x188]
and eax, 0x80
test eax, eax
je 0x14011c273
xor eax, eax
mov rcx, qword [rsp + 0x48]
mov word [rcx + 0x1e], ax
mov rax, qword [rsp + 0x170]
mov rax, qword [rax + 8]
mov rcx, qword [rsp + 0x48]
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 0x14011c2ab
mov eax, dword [rsp + 0x34]
inc eax
mov dword [rsp + 0x34], eax
movzx eax, word [rsp + 0x44]
cmp dword [rsp + 0x34], eax
jge 0x14011c4fb
mov eax, dword [rsp + 0x34]
mov ecx, 1
mov qword [rsp + 0xf0], rcx
movzx ecx, al
mov rax, qword [rsp + 0xf0]
shl rax, cl
and rax, qword [rsp + 0x70]
test rax, rax
je 0x14011c2e5
jmp 0x14011c2a1
movsxd rax, dword [rsp + 0x34]
imul rax, rax, 0x20
mov rcx, qword [rsp + 0x178]
mov rcx, qword [rcx + rax + 8]
call fcn.1400a2ce0
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
movzx eax, byte [rax]
cmp eax, 0xa4
je 0x14011c31c
jmp 0x14011c2a1
mov rax, qword [rsp + 0x88]
mov ecx, dword [rsp + 0x80]
cmp dword [rax + 0x2c], ecx
je 0x14011c335
jmp 0x14011c2a1
movzx eax, word [rsp + 0x54]
mov rcx, qword [rsp + 0xa0]
not rcx
mov rdx, qword [rsp + 0x88]
movsx edx, word [rdx + 0x30]
mov r8, qword [rsp + 0x170]
add r8, 0x68
mov qword [rsp + 0xf8], 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 + 0xf8]
mov rcx, rax
call fcn.14010d7a0
mov qword [rsp + 0x98], rax
cmp qword [rsp + 0x98], 0
jne 0x14011c3a7
jmp 0x14011c2a1
mov rax, qword [rsp + 0x98]
movzx eax, word [rax + 0x14]
cmp eax, 1
jne 0x14011c40d
mov dword [rsp + 0x3c], 0
jmp 0x14011c3cc
mov eax, dword [rsp + 0x3c]
inc eax
mov dword [rsp + 0x3c], eax
mov rax, qword [rsp + 0x48]
movzx eax, word [rax + 0x2c]
cmp dword [rsp + 0x3c], eax
jge 0x14011c3f9
movsxd rax, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0x48]
mov rcx, qword [rcx + 0x38]
mov rax, qword [rcx + rax*8]
cmp qword [rsp + 0x98], rax
je 0x14011c3f9
jmp 0x14011c3c2
mov rax, qword [rsp + 0x48]
movzx eax, word [rax + 0x2c]
cmp dword [rsp + 0x3c], eax
jl 0x14011c40d
jmp 0x14011c2a1
mov rax, qword [rsp + 0x98]
movzx eax, word [rax + 0x14]
and eax, 0x82
test eax, eax
je 0x14011c4c7
mov rax, qword [rsp + 0x88]
movsx eax, word [rax + 0x30]
test eax, eax
jl 0x14011c4c7
mov rax, qword [rsp + 0x170]
mov rax, qword [rax]
mov qword [rsp + 0xb8], rax
movsxd rax, dword [rsp + 0x34]
imul rax, rax, 0x20
mov rcx, qword [rsp + 0x178]
mov rdx, qword [rcx + rax + 8]
mov rcx, qword [rsp + 0xb8]
call fcn.1400a2af0
mov qword [rsp + 0x100], rax
mov rax, qword [rsp + 0x98]
mov rdx, qword [rax]
mov rcx, qword [rsp + 0xb8]
call fcn.1400ab520
mov qword [rsp + 0xc0], rax
cmp qword [rsp + 0xc0], 0
je 0x14011c4c2
mov rax, qword [rsp + 0xc0]
mov rdx, qword [rax]
mov rax, qword [rsp + 0x100]
mov rcx, qword [rax]
call fcn.1400784b0
test eax, eax
je 0x14011c4c7
jmp 0x14011c2a1
mov eax, dword [rsp + 0x34]
mov ecx, 1
mov qword [rsp + 0x108], rcx
movzx ecx, al
mov rax, qword [rsp + 0x108]
shl rax, cl
mov rcx, qword [rsp + 0x70]
or rcx, rax
mov rax, rcx
mov qword [rsp + 0x70], rax
jmp 0x14011c2a1
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 0x28]
and eax, 0x1000
test eax, eax
jne 0x14011cad1
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 0x28]
and eax, 0x100
test eax, eax
je 0x14011c540
mov qword [rsp + 0x68], 0
xor eax, eax
mov word [rsp + 0x7c], ax
mov eax, 1
mov word [rsp + 0x78], ax
jmp 0x14011c5cf
mov rax, qword [rsp + 0x48]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
je 0x14011c568
mov rax, qword [rsp + 0x68]
mov eax, dword [rax + 0x64]
shr eax, 2
and eax, 1
test eax, eax
je 0x14011c571
xor al, al
jmp 0x14011cc9a
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 0x14011c5b8
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 0x28]
and eax, 0x8000
test eax, eax
jne 0x14011c5b8
mov dword [rsp + 0x90], 1
jmp 0x14011c5c3
mov dword [rsp + 0x90], 0
movzx eax, byte [rsp + 0x90]
mov byte [rsp + 0x30], al
mov byte [rsp + 0x43], 0
movzx eax, byte [rsp + 0x43]
mov byte [rsp + 0x42], al
mov byte [rsp + 0x50], 0
mov dword [rsp + 0x3c], 0
jmp 0x14011c5f6
mov eax, dword [rsp + 0x3c]
inc eax
mov dword [rsp + 0x3c], eax
movzx eax, word [rsp + 0x78]
cmp dword [rsp + 0x3c], eax
jge 0x14011cac3
mov byte [rsp + 0x40], 1
mov rax, qword [rsp + 0x48]
movzx eax, word [rax + 0x18]
cmp dword [rsp + 0x3c], eax
jge 0x14011c6eb
mov rax, qword [rsp + 0x48]
movzx eax, word [rax + 0x2e]
cmp dword [rsp + 0x3c], eax
jl 0x14011c6eb
movsxd rax, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0x48]
mov rcx, qword [rcx + 0x38]
mov rax, qword [rcx + rax*8]
movzx eax, word [rax + 0x14]
mov word [rsp + 0x5c], ax
movzx eax, word [rsp + 0x5c]
movzx ecx, word [rsp + 0x54]
and eax, ecx
test eax, eax
je 0x14011c675
movzx eax, word [rsp + 0x5c]
and eax, 0x180
test eax, eax
je 0x14011c66e
mov byte [rsp + 0x30], 0
jmp 0x14011c5ec
movzx eax, word [rsp + 0x5c]
and eax, 1
test eax, eax
je 0x14011c6eb
movsxd rax, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0x48]
mov rcx, qword [rcx + 0x38]
mov rax, qword [rcx + rax*8]
mov rax, qword [rax]
mov qword [rsp + 0x110], rax
mov eax, dword [rsp + 0x3c]
inc eax
mov dword [rsp + 0x34], eax
jmp 0x14011c6b4
mov eax, dword [rsp + 0x34]
inc eax
mov dword [rsp + 0x34], eax
mov rax, qword [rsp + 0x48]
movzx eax, word [rax + 0x18]
cmp dword [rsp + 0x34], eax
jge 0x14011c6eb
movsxd rax, dword [rsp + 0x34]
mov rcx, qword [rsp + 0x48]
mov rcx, qword [rcx + 0x38]
mov rax, qword [rcx + rax*8]
mov rcx, qword [rsp + 0x110]
cmp qword [rax], rcx
jne 0x14011c6e9
mov byte [rsp + 0x40], 0
jmp 0x14011c6eb
jmp 0x14011c6aa
cmp qword [rsp + 0x68], 0
je 0x14011c73f
movsxd rax, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0x68]
mov rcx, qword [rcx + 8]
movsx eax, word [rcx + rax*2]
mov dword [rsp + 0x58], eax
movsxd rax, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0x68]
mov rcx, qword [rcx + 0x38]
movzx eax, byte [rcx + rax]
and eax, 1
mov byte [rsp + 0x41], al
mov rax, qword [rsp + 0x68]
mov rax, qword [rax + 0x18]
movsx eax, word [rax + 0x44]
cmp dword [rsp + 0x58], eax
jne 0x14011c73d
mov dword [rsp + 0x58], 0xffffffff
jmp 0x14011c74c
mov dword [rsp + 0x58], 0xffffffff
mov byte [rsp + 0x41], 0
movzx eax, byte [rsp + 0x30]
test eax, eax
je 0x14011c78f
cmp dword [rsp + 0x58], 0
jl 0x14011c78f
mov rax, qword [rsp + 0x48]
movzx eax, word [rax + 0x18]
cmp dword [rsp + 0x3c], eax
jl 0x14011c78f
mov rax, qword [rsp + 0x68]
mov rax, qword [rax + 0x18]
movsxd rcx, dword [rsp + 0x58]
imul rcx, rcx, 0x20
mov rax, qword [rax + 8]
movzx eax, byte [rax + rcx + 0x18]
test eax, eax
jne 0x14011c78f
mov byte [rsp + 0x30], 0
mov byte [rsp + 0x38], 0
mov dword [rsp + 0x34], 0
jmp 0x14011c7a8
mov eax, dword [rsp + 0x34]
inc eax
mov dword [rsp + 0x34], eax
movzx eax, byte [rsp + 0x40]
test eax, eax
je 0x14011c949
movzx eax, word [rsp + 0x44]
cmp dword [rsp + 0x34], eax
jge 0x14011c949
mov eax, dword [rsp + 0x34]
mov ecx, 1
mov qword [rsp + 0x118], rcx
movzx ecx, al
mov rax, qword [rsp + 0x118]
shl rax, cl
and rax, qword [rsp + 0x70]
test rax, rax
je 0x14011c7ef
jmp 0x14011c79e
movsxd rax, dword [rsp + 0x34]
imul rax, rax, 0x20
mov rcx, qword [rsp + 0x178]
mov rcx, qword [rcx + rax + 8]
call fcn.1400a2ce0
mov qword [rsp + 0x88], rax
movzx eax, word [rsp + 0x188]
and eax, 0xc0
test eax, eax
jne 0x14011c828
mov byte [rsp + 0x40], 0
cmp dword [rsp + 0x58], 0xffffffff
jl 0x14011c878
mov rax, qword [rsp + 0x88]
movzx eax, byte [rax]
cmp eax, 0xa4
je 0x14011c846
jmp 0x14011c79e
mov rax, qword [rsp + 0x88]
mov ecx, dword [rsp + 0x80]
cmp dword [rax + 0x2c], ecx
je 0x14011c85f
jmp 0x14011c79e
mov rax, qword [rsp + 0x88]
movsx eax, word [rax + 0x30]
cmp eax, dword [rsp + 0x58]
je 0x14011c876
jmp 0x14011c79e
jmp 0x14011c8bd
mov rax, qword [rsp + 0x68]
mov rax, qword [rax + 0x50]
movsxd rcx, dword [rsp + 0x3c]
imul rcx, rcx, 0x20
mov rax, qword [rax + rcx + 8]
mov qword [rsp + 0x120], rax
mov r8d, dword [rsp + 0x80]
mov rdx, qword [rsp + 0x120]
mov rcx, qword [rsp + 0x88]
call fcn.140097630
test eax, eax
je 0x14011c8bd
jmp 0x14011c79e
cmp dword [rsp + 0x58], 0xffffffff
je 0x14011c91d
movsxd rax, dword [rsp + 0x34]
imul rax, rax, 0x20
mov rcx, qword [rsp + 0x178]
mov rdx, qword [rcx + rax + 8]
mov rax, qword [rsp + 0x170]
mov rcx, qword [rax]
call fcn.1400a2af0
mov qword [rsp + 0x128], rax
movsxd rax, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0x68]
mov rcx, qword [rcx + 0x40]
mov rdx, qword [rcx + rax*8]
mov rax, qword [rsp + 0x128]
mov rcx, qword [rax]
call fcn.1400784b0
test eax, eax
je 0x14011c91d
jmp 0x14011c79e
movzx eax, word [rsp + 0x188]
and eax, 0x80
test eax, eax
je 0x14011c93d
mov eax, dword [rsp + 0x3c]
inc eax
mov rcx, qword [rsp + 0x48]
mov word [rcx + 0x1e], ax
mov byte [rsp + 0x38], 1
jmp 0x14011c949
movzx eax, byte [rsp + 0x38]
test eax, eax
je 0x14011ca0f
movzx eax, word [rsp + 0x188]
and eax, 0x40
test eax, eax
jne 0x14011ca0f
movzx eax, byte [rsp + 0x43]
test eax, eax
je 0x14011c9a2
movzx eax, byte [rsp + 0x42]
movzx ecx, byte [rsp + 0x41]
xor eax, ecx
movsxd rcx, dword [rsp + 0x34]
imul rcx, rcx, 0x20
mov rdx, qword [rsp + 0x178]
movzx ecx, byte [rdx + rcx + 0x18]
and ecx, 1
cmp eax, ecx
je 0x14011c9a0
mov byte [rsp + 0x38], 0
jmp 0x14011ca0f
movzx eax, byte [rsp + 0x41]
movsxd rcx, dword [rsp + 0x34]
imul rcx, rcx, 0x20
mov rdx, qword [rsp + 0x178]
movzx ecx, byte [rdx + rcx + 0x18]
and ecx, 1
xor eax, ecx
mov byte [rsp + 0x42], al
movzx eax, byte [rsp + 0x42]
test eax, eax
je 0x14011ca0a
mov eax, dword [rsp + 0x60]
mov ecx, 1
mov qword [rsp + 0x130], rcx
movzx ecx, al
mov rax, qword [rsp + 0x130]
shl rax, cl
mov rcx, qword [rsp + 0x1a0]
mov rcx, qword [rcx]
or rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x1a0]
mov qword [rcx], rax
mov byte [rsp + 0x43], 1
movzx eax, byte [rsp + 0x38]
test eax, eax
je 0x14011ca5f
movsxd rax, dword [rsp + 0x34]
imul rax, rax, 0x20
mov rcx, qword [rsp + 0x178]
movzx eax, byte [rcx + rax + 0x18]
and eax, 2
test eax, eax
je 0x14011ca5f
mov rax, qword [rsp + 0x48]
movzx eax, word [rax + 0x18]
cmp dword [rsp + 0x3c], eax
jne 0x14011ca5a
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 0x28]
bts eax, 0x13
mov rcx, qword [rsp + 0x48]
mov dword [rcx + 0x28], eax
jmp 0x14011ca5f
mov byte [rsp + 0x38], 0
movzx eax, byte [rsp + 0x38]
test eax, eax
je 0x14011caa5
cmp dword [rsp + 0x58], 0xffffffff
jne 0x14011ca74
mov byte [rsp + 0x50], 1
mov eax, dword [rsp + 0x34]
mov ecx, 1
mov qword [rsp + 0x138], rcx
movzx ecx, al
mov rax, qword [rsp + 0x138]
shl rax, cl
mov rcx, qword [rsp + 0x70]
or rcx, rax
mov rax, rcx
mov qword [rsp + 0x70], rax
jmp 0x14011cabe
cmp dword [rsp + 0x3c], 0
je 0x14011cab7
movzx eax, word [rsp + 0x7c]
cmp dword [rsp + 0x3c], eax
jge 0x14011cabc
mov byte [rsp + 0x30], 0
jmp 0x14011cac3
jmp 0x14011c5ec
movzx eax, byte [rsp + 0x50]
test eax, eax
je 0x14011cad1
mov byte [rsp + 0x30], 1
movzx eax, byte [rsp + 0x30]
test eax, eax
je 0x14011cc02
mov rax, qword [rsp + 0x48]
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 0x14011cb11
mov eax, dword [rsp + 0x34]
inc eax
mov dword [rsp + 0x34], eax
movzx eax, word [rsp + 0x44]
cmp dword [rsp + 0x34], eax
jge 0x14011cc02
mov eax, dword [rsp + 0x34]
mov ecx, 1
mov qword [rsp + 0x140], rcx
movzx ecx, al
mov rax, qword [rsp + 0x140]
shl rax, cl
and rax, qword [rsp + 0x70]
test rax, rax
je 0x14011cb4b
jmp 0x14011cb07
movsxd rax, dword [rsp + 0x34]
imul rax, rax, 0x20
mov rcx, qword [rsp + 0x178]
mov rax, qword [rcx + rax + 8]
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0x170]
add rax, 0x290
mov rdx, qword [rsp + 0xc8]
mov rcx, rax
call fcn.140110f10
mov qword [rsp + 0xd0], rax
cmp qword [rsp + 0xd0], 0
jne 0x14011cbb0
mov rcx, qword [rsp + 0xc8]
call fcn.140098730
test eax, eax
jne 0x14011cbb0
jmp 0x14011cb07
mov rax, qword [rsp + 0xa8]
not rax
mov rcx, qword [rsp + 0xd0]
and rcx, rax
mov rax, rcx
test rax, rax
jne 0x14011cbfd
mov eax, dword [rsp + 0x34]
mov ecx, 1
mov qword [rsp + 0x148], rcx
movzx ecx, al
mov rax, qword [rsp + 0x148]
shl rax, cl
mov rcx, qword [rsp + 0x70]
or rcx, rax
mov rax, rcx
mov qword [rsp + 0x70], rax
jmp 0x14011cb07
jmp 0x14011c165
mov rax, qword [rsp + 0xb0]
cmp qword [rsp + 0x70], rax
jne 0x14011cc1d
movzx eax, byte [rsp + 0x44]
jmp 0x14011cc9a
movzx eax, byte [rsp + 0x30]
test eax, eax
jne 0x14011cc98
movzx eax, word [rsp + 0x44]
dec eax
mov dword [rsp + 0x34], eax
jmp 0x14011cc3d
mov eax, dword [rsp + 0x34]
dec eax
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
jle 0x14011cc94
mov eax, dword [rsp + 0x34]
mov ecx, 1
mov qword [rsp + 0x150], rcx
movzx ecx, al
mov rax, qword [rsp + 0x150]
shl rax, cl
dec rax
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0xd8]
mov rcx, qword [rsp + 0x70]
and rcx, rax
mov rax, rcx
cmp rax, qword [rsp + 0xd8]
jne 0x14011cc92
movzx eax, byte [rsp + 0x34]
jmp 0x14011cc9a
jmp 0x14011cc33
xor al, al
jmp 0x14011cc9a
mov al, 0xff
add rsp, 0x168
ret