Function at 0x14023b950
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
push rdi
sub rsp, 0x140
mov rdi, rsp
mov ecx, 0x50
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x150]
mov qword [rsp + 0x60], 0
mov rax, qword [rsp + 0x150]
mov rax, qword [rax]
mov rax, qword [rax]
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x90], 0
movzx eax, word [rsp + 0x170]
test eax, eax
je 0x14023b9d5
mov rax, qword [rsp + 0x88]
movzx eax, word [rax + 0x5c]
and eax, 0x40
test eax, eax
je 0x14023b9d5
xor al, al
jmp 0x14023c4d4
mov rax, qword [rsp + 0x158]
movzx eax, word [rax]
mov word [rsp + 0x44], ax
movzx eax, word [rsp + 0x44]
cmp eax, 0x3f
jle 0x14023b9f6
xor al, al
jmp 0x14023c4d4
mov byte [rsp + 0x33], 1
movzx eax, word [rsp + 0x44]
mov ecx, 1
mov qword [rsp + 0xe0], rcx
movzx ecx, al
mov rax, qword [rsp + 0xe0]
shl rax, cl
dec rax
mov qword [rsp + 0x98], rax
mov qword [rsp + 0xa0], 0
mov qword [rsp + 0xa8], 0
mov eax, 0x182
mov word [rsp + 0x38], ax
movzx eax, word [rsp + 0x168]
and eax, 0x800
test eax, eax
je 0x14023ba66
movzx eax, word [rsp + 0x38]
or eax, 1
mov word [rsp + 0x38], ax
mov dword [rsp + 0x48], 0
jmp 0x14023ba7a
mov eax, dword [rsp + 0x48]
inc eax
mov dword [rsp + 0x48], eax
movzx eax, byte [rsp + 0x33]
test eax, eax
je 0x14023c438
mov rax, qword [rsp + 0x98]
cmp qword [rsp + 0x90], rax
jae 0x14023c438
movzx eax, word [rsp + 0x170]
cmp dword [rsp + 0x48], eax
jg 0x14023c438
cmp dword [rsp + 0x48], 0
jle 0x14023bad5
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 8]
mov rcx, qword [rsp + 0xa8]
or rcx, rax
mov rax, rcx
mov qword [rsp + 0xa8], rax
movzx eax, word [rsp + 0x170]
cmp dword [rsp + 0x48], eax
jge 0x14023bb15
movsxd rax, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x160]
mov rcx, qword [rcx + 0x18]
mov rax, qword [rcx + rax*8]
mov qword [rsp + 0x60], rax
movzx eax, word [rsp + 0x168]
and eax, 0x800
test eax, eax
je 0x14023bb13
jmp 0x14023ba70
jmp 0x14023bb22
mov rax, qword [rsp + 0x178]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov eax, dword [rax + 0x28]
and eax, 0x400
test eax, eax
je 0x14023bb57
mov rax, qword [rsp + 0x60]
movsx eax, byte [rax + 0x1d]
test eax, eax
je 0x14023bb50
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x90], rax
jmp 0x14023c438
xor eax, eax
mov rcx, qword [rsp + 0x60]
mov word [rcx + 0x1e], ax
mov rax, qword [rsp + 0x150]
mov rax, qword [rax + 8]
mov rcx, qword [rsp + 0x60]
movzx ecx, byte [rcx + 0x10]
imul rcx, rcx, 0x78
mov eax, dword [rax + rcx + 0x50]
mov dword [rsp + 0x54], eax
mov dword [rsp + 0x4c], 0
jmp 0x14023bb97
mov eax, dword [rsp + 0x4c]
inc eax
mov dword [rsp + 0x4c], eax
movzx eax, word [rsp + 0x44]
cmp dword [rsp + 0x4c], eax
jge 0x14023bd6e
mov eax, dword [rsp + 0x4c]
mov ecx, 1
mov qword [rsp + 0xe8], rcx
movzx ecx, al
mov rax, qword [rsp + 0xe8]
shl rax, cl
and rax, qword [rsp + 0x90]
test rax, rax
je 0x14023bbd4
jmp 0x14023bb8d
movsxd rax, dword [rsp + 0x4c]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x158]
mov rcx, qword [rcx + rax + 8]
call fcn.1401e5f30
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
movzx eax, byte [rax]
cmp eax, 0x92
je 0x14023bc05
jmp 0x14023bb8d
mov rax, qword [rsp + 0x70]
mov ecx, dword [rsp + 0x54]
cmp dword [rax + 0x2c], ecx
je 0x14023bc18
jmp 0x14023bb8d
movzx eax, word [rsp + 0x38]
mov rcx, qword [rsp + 0xa8]
not rcx
mov rdx, qword [rsp + 0x70]
movsx edx, word [rdx + 0x30]
mov r8, qword [rsp + 0x150]
add r8, 0x68
mov qword [rsp + 0xf0], r8
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], eax
mov r9, rcx
mov r8d, edx
mov edx, dword [rsp + 0x54]
mov rax, qword [rsp + 0xf0]
mov rcx, rax
call fcn.140228340
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
jne 0x14023bc7e
jmp 0x14023bb8d
mov rax, qword [rsp + 0x68]
movzx eax, word [rax + 0x14]
cmp eax, 1
jne 0x14023bcde
mov dword [rsp + 0x50], 0
jmp 0x14023bca0
mov eax, dword [rsp + 0x50]
inc eax
mov dword [rsp + 0x50], eax
mov rax, qword [rsp + 0x60]
movzx eax, word [rax + 0x2c]
cmp dword [rsp + 0x50], eax
jge 0x14023bcca
movsxd rax, dword [rsp + 0x50]
mov rcx, qword [rsp + 0x60]
mov rcx, qword [rcx + 0x38]
mov rax, qword [rcx + rax*8]
cmp qword [rsp + 0x68], rax
je 0x14023bcca
jmp 0x14023bc96
mov rax, qword [rsp + 0x60]
movzx eax, word [rax + 0x2c]
cmp dword [rsp + 0x50], eax
jl 0x14023bcde
jmp 0x14023bb8d
mov rax, qword [rsp + 0x68]
movzx eax, word [rax + 0x14]
and eax, 0x82
test eax, eax
je 0x14023bd34
mov rax, qword [rsp + 0x70]
movsx eax, word [rax + 0x30]
test eax, eax
jl 0x14023bd34
movsxd rax, dword [rsp + 0x4c]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x68]
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.1401e3750
test eax, eax
jne 0x14023bd34
jmp 0x14023bb8d
mov eax, dword [rsp + 0x4c]
mov ecx, 1
mov qword [rsp + 0xf8], rcx
movzx ecx, al
mov rax, qword [rsp + 0xf8]
shl rax, cl
mov rcx, qword [rsp + 0x90]
or rcx, rax
mov rax, rcx
mov qword [rsp + 0x90], rax
jmp 0x14023bb8d
mov rax, qword [rsp + 0x60]
mov eax, dword [rax + 0x28]
and eax, 0x1000
test eax, eax
jne 0x14023c2f9
mov rax, qword [rsp + 0x60]
mov eax, dword [rax + 0x28]
and eax, 0x100
test eax, eax
je 0x14023bdb6
mov qword [rsp + 0x80], 0
xor eax, eax
mov word [rsp + 0x3c], ax
mov eax, 1
mov word [rsp + 0x40], ax
jmp 0x14023be46
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0x80], rax
cmp qword [rsp + 0x80], 0
je 0x14023bde7
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x64]
shr eax, 2
and eax, 1
test eax, eax
je 0x14023bdf0
xor al, al
jmp 0x14023c4d4
mov rax, qword [rsp + 0x80]
movzx eax, word [rax + 0x5e]
mov word [rsp + 0x3c], ax
mov rax, qword [rsp + 0x80]
movzx eax, word [rax + 0x60]
mov word [rsp + 0x40], ax
mov rax, qword [rsp + 0x80]
movzx eax, byte [rax + 0x62]
test eax, eax
je 0x14023be2f
mov dword [rsp + 0x100], 1
jmp 0x14023be3a
mov dword [rsp + 0x100], 0
movzx eax, byte [rsp + 0x100]
mov byte [rsp + 0x33], al
mov byte [rsp + 0x30], 0
movzx eax, byte [rsp + 0x30]
mov byte [rsp + 0x31], al
mov byte [rsp + 0x34], 0
mov dword [rsp + 0x50], 0
jmp 0x14023be6d
mov eax, dword [rsp + 0x50]
inc eax
mov dword [rsp + 0x50], eax
movzx eax, word [rsp + 0x40]
cmp dword [rsp + 0x50], eax
jge 0x14023c2eb
mov byte [rsp + 0xb0], 1
mov rax, qword [rsp + 0x60]
movzx eax, word [rax + 0x18]
cmp dword [rsp + 0x50], eax
jge 0x14023bf74
mov rax, qword [rsp + 0x60]
movzx eax, word [rax + 0x2e]
cmp dword [rsp + 0x50], eax
jl 0x14023bf74
movsxd rax, dword [rsp + 0x50]
mov rcx, qword [rsp + 0x60]
mov rcx, qword [rcx + 0x38]
mov rax, qword [rcx + rax*8]
movzx eax, word [rax + 0x14]
mov word [rsp + 0xb4], ax
movzx eax, word [rsp + 0xb4]
movzx ecx, word [rsp + 0x38]
and eax, ecx
test eax, eax
je 0x14023bef8
movzx eax, word [rsp + 0xb4]
and eax, 0x100
test eax, eax
je 0x14023bef1
mov byte [rsp + 0x33], 0
jmp 0x14023be63
movzx eax, word [rsp + 0xb4]
and eax, 1
test eax, eax
je 0x14023bf74
movsxd rax, dword [rsp + 0x50]
mov rcx, qword [rsp + 0x60]
mov rcx, qword [rcx + 0x38]
mov rax, qword [rcx + rax*8]
mov rax, qword [rax]
mov qword [rsp + 0xb8], rax
mov eax, dword [rsp + 0x50]
inc eax
mov dword [rsp + 0x4c], eax
jmp 0x14023bf3a
mov eax, dword [rsp + 0x4c]
inc eax
mov dword [rsp + 0x4c], eax
mov rax, qword [rsp + 0x60]
movzx eax, word [rax + 0x18]
cmp dword [rsp + 0x4c], eax
jge 0x14023bf74
movsxd rax, dword [rsp + 0x4c]
mov rcx, qword [rsp + 0x60]
mov rcx, qword [rcx + 0x38]
mov rax, qword [rcx + rax*8]
mov rcx, qword [rsp + 0xb8]
cmp qword [rax], rcx
jne 0x14023bf72
mov byte [rsp + 0xb0], 0
jmp 0x14023bf74
jmp 0x14023bf30
cmp qword [rsp + 0x80], 0
je 0x14023bfd1
movsxd rax, dword [rsp + 0x50]
mov rcx, qword [rsp + 0x80]
mov rcx, qword [rcx + 8]
movsx eax, word [rcx + rax*2]
mov dword [rsp + 0x58], eax
movsxd rax, dword [rsp + 0x50]
mov rcx, qword [rsp + 0x80]
mov rcx, qword [rcx + 0x38]
movzx eax, byte [rcx + rax]
mov byte [rsp + 0x32], al
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 0x18]
movsx eax, word [rax + 0x44]
cmp dword [rsp + 0x58], eax
jne 0x14023bfcf
mov dword [rsp + 0x58], 0xffffffff
jmp 0x14023bfde
mov dword [rsp + 0x58], 0xffffffff
mov byte [rsp + 0x32], 0
movzx eax, byte [rsp + 0x33]
test eax, eax
je 0x14023c024
cmp dword [rsp + 0x58], 0
jl 0x14023c024
mov rax, qword [rsp + 0x60]
movzx eax, word [rax + 0x18]
cmp dword [rsp + 0x50], eax
jl 0x14023c024
mov rax, qword [rsp + 0x80]
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 0x14023c024
mov byte [rsp + 0x33], 0
mov byte [rsp + 0x35], 0
mov dword [rsp + 0x4c], 0
jmp 0x14023c03d
mov eax, dword [rsp + 0x4c]
inc eax
mov dword [rsp + 0x4c], eax
movzx eax, byte [rsp + 0xb0]
test eax, eax
je 0x14023c1c1
movzx eax, word [rsp + 0x44]
cmp dword [rsp + 0x4c], eax
jge 0x14023c1c1
mov eax, dword [rsp + 0x4c]
mov ecx, 1
mov qword [rsp + 0x108], rcx
movzx ecx, al
mov rax, qword [rsp + 0x108]
shl rax, cl
and rax, qword [rsp + 0x90]
test rax, rax
je 0x14023c08a
jmp 0x14023c033
movsxd rax, dword [rsp + 0x4c]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x158]
mov rcx, qword [rcx + rax + 8]
call fcn.1401e5f30
mov qword [rsp + 0x70], rax
movzx eax, word [rsp + 0x168]
and eax, 0xc0
test eax, eax
jne 0x14023c0c3
mov byte [rsp + 0xb0], 0
cmp dword [rsp + 0x58], 0xffffffff
jl 0x14023c107
mov rax, qword [rsp + 0x70]
movzx eax, byte [rax]
cmp eax, 0x92
je 0x14023c0de
jmp 0x14023c033
mov rax, qword [rsp + 0x70]
mov ecx, dword [rsp + 0x54]
cmp dword [rax + 0x2c], ecx
je 0x14023c0f1
jmp 0x14023c033
mov rax, qword [rsp + 0x70]
movsx eax, word [rax + 0x30]
cmp eax, dword [rsp + 0x58]
je 0x14023c105
jmp 0x14023c033
jmp 0x14023c149
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 0x50]
movsxd rcx, dword [rsp + 0x50]
imul rcx, rcx, 0x28
mov rax, qword [rax + rcx + 8]
mov qword [rsp + 0xc0], rax
mov r8d, dword [rsp + 0x54]
mov rdx, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0x70]
call fcn.1401e3b80
test eax, eax
je 0x14023c149
jmp 0x14023c033
cmp dword [rsp + 0x58], 0xffffffff
je 0x14023c1a6
movsxd rax, dword [rsp + 0x4c]
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.1401e5ce0
mov qword [rsp + 0x78], rax
movsxd rax, dword [rsp + 0x50]
mov rcx, qword [rsp + 0x80]
mov rcx, qword [rcx + 0x40]
mov rdx, qword [rcx + rax*8]
mov rax, qword [rsp + 0x78]
mov rcx, qword [rax]
call fcn.140206590
test eax, eax
je 0x14023c1a6
jmp 0x14023c033
mov eax, dword [rsp + 0x50]
inc eax
mov rcx, qword [rsp + 0x60]
mov word [rcx + 0x1e], ax
mov byte [rsp + 0x35], 1
jmp 0x14023c1c1
movzx eax, byte [rsp + 0x35]
test eax, eax
je 0x14023c281
movzx eax, word [rsp + 0x168]
and eax, 0x40
test eax, eax
jne 0x14023c281
movzx eax, byte [rsp + 0x30]
test eax, eax
je 0x14023c217
movzx eax, byte [rsp + 0x31]
movzx ecx, byte [rsp + 0x32]
xor eax, ecx
movsxd rcx, dword [rsp + 0x4c]
imul rcx, rcx, 0x28
mov rdx, qword [rsp + 0x158]
movzx ecx, byte [rdx + rcx + 0x20]
cmp eax, ecx
je 0x14023c215
mov byte [rsp + 0x35], 0
jmp 0x14023c281
movzx eax, byte [rsp + 0x32]
movsxd rcx, dword [rsp + 0x4c]
imul rcx, rcx, 0x28
mov rdx, qword [rsp + 0x158]
movzx ecx, byte [rdx + rcx + 0x20]
xor eax, ecx
mov byte [rsp + 0x31], al
movzx eax, byte [rsp + 0x31]
test eax, eax
je 0x14023c27c
mov eax, dword [rsp + 0x48]
mov ecx, 1
mov qword [rsp + 0x110], rcx
movzx ecx, al
mov rax, qword [rsp + 0x110]
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 + 0x30], 1
movzx eax, byte [rsp + 0x35]
test eax, eax
je 0x14023c2cd
cmp dword [rsp + 0x58], 0xffffffff
jne 0x14023c296
mov byte [rsp + 0x34], 1
mov eax, dword [rsp + 0x4c]
mov ecx, 1
mov qword [rsp + 0x118], rcx
movzx ecx, al
mov rax, qword [rsp + 0x118]
shl rax, cl
mov rcx, qword [rsp + 0x90]
or rcx, rax
mov rax, rcx
mov qword [rsp + 0x90], rax
jmp 0x14023c2e6
cmp dword [rsp + 0x50], 0
je 0x14023c2df
movzx eax, word [rsp + 0x3c]
cmp dword [rsp + 0x50], eax
jge 0x14023c2e4
mov byte [rsp + 0x33], 0
jmp 0x14023c2eb
jmp 0x14023be63
movzx eax, byte [rsp + 0x34]
test eax, eax
je 0x14023c2f9
mov byte [rsp + 0x33], 1
movzx eax, byte [rsp + 0x33]
test eax, eax
je 0x14023c433
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 8]
mov rcx, qword [rsp + 0xa0]
or rcx, rax
mov rax, rcx
mov qword [rsp + 0xa0], rax
mov dword [rsp + 0x4c], 0
jmp 0x14023c339
mov eax, dword [rsp + 0x4c]
inc eax
mov dword [rsp + 0x4c], eax
movzx eax, word [rsp + 0x44]
cmp dword [rsp + 0x4c], eax
jge 0x14023c433
mov eax, dword [rsp + 0x4c]
mov ecx, 1
mov qword [rsp + 0x120], rcx
movzx ecx, al
mov rax, qword [rsp + 0x120]
shl rax, cl
and rax, qword [rsp + 0x90]
test rax, rax
je 0x14023c376
jmp 0x14023c32f
movsxd rax, dword [rsp + 0x4c]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x158]
mov rax, qword [rcx + rax + 8]
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0x150]
add rax, 0x290
mov rdx, qword [rsp + 0xc8]
mov rcx, rax
call fcn.1402281c0
mov qword [rsp + 0xd0], rax
cmp qword [rsp + 0xd0], 0
jne 0x14023c3db
mov rcx, qword [rsp + 0xc8]
call fcn.1401e5080
test eax, eax
jne 0x14023c3db
jmp 0x14023c32f
mov rax, qword [rsp + 0xa0]
not rax
mov rcx, qword [rsp + 0xd0]
and rcx, rax
mov rax, rcx
test rax, rax
jne 0x14023c42e
mov eax, dword [rsp + 0x4c]
mov ecx, 1
mov qword [rsp + 0x128], rcx
movzx ecx, al
mov rax, qword [rsp + 0x128]
shl rax, cl
mov rcx, qword [rsp + 0x90]
or rcx, rax
mov rax, rcx
mov qword [rsp + 0x90], rax
jmp 0x14023c32f
jmp 0x14023ba70
mov rax, qword [rsp + 0x98]
cmp qword [rsp + 0x90], rax
jne 0x14023c454
movzx eax, byte [rsp + 0x44]
jmp 0x14023c4d4
movzx eax, byte [rsp + 0x33]
test eax, eax
jne 0x14023c4d2
movzx eax, word [rsp + 0x44]
dec eax
mov dword [rsp + 0x4c], eax
jmp 0x14023c474
mov eax, dword [rsp + 0x4c]
dec eax
mov dword [rsp + 0x4c], eax
cmp dword [rsp + 0x4c], 0
jle 0x14023c4ce
mov eax, dword [rsp + 0x4c]
mov ecx, 1
mov qword [rsp + 0x130], rcx
movzx ecx, al
mov rax, qword [rsp + 0x130]
shl rax, cl
dec rax
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0xd8]
mov rcx, qword [rsp + 0x90]
and rcx, rax
mov rax, rcx
cmp rax, qword [rsp + 0xd8]
jne 0x14023c4cc
movzx eax, byte [rsp + 0x4c]
jmp 0x14023c4d4
jmp 0x14023c46a
xor al, al
jmp 0x14023c4d4
mov al, 0xff
add rsp, 0x140
pop rdi
ret