Function at 0x1400a07b4
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 + 0x48], 0
mov rax, qword [rsp + 0x150]
mov rax, qword [rax]
mov rax, qword [rax]
mov qword [rsp + 0x98], rax
mov qword [rsp + 0x68], 0
movzx eax, word [rsp + 0x170]
test eax, eax
je 0x1400a0820
mov rax, qword [rsp + 0x98]
movzx eax, word [rax + 0x50]
and eax, 0x80
test eax, eax
je 0x1400a0820
xor al, al
jmp 0x1400a1371
mov rax, qword [rsp + 0x158]
movzx eax, word [rax]
mov word [rsp + 0x40], ax
movzx eax, word [rsp + 0x40]
cmp eax, 0x3f
jle 0x1400a0841
xor al, al
jmp 0x1400a1371
mov byte [rsp + 0x30], 1
movzx eax, word [rsp + 0x40]
mov ecx, 1
mov qword [rsp + 0x118], rcx
mov cl, al
mov rax, qword [rsp + 0x118]
shl rax, cl
dec rax
mov qword [rsp + 0xb0], rax
mov qword [rsp + 0xa0], 0
mov qword [rsp + 0xa8], 0
mov eax, 0x182
mov word [rsp + 0x50], ax
movzx eax, word [rsp + 0x168]
and eax, 0x800
test eax, eax
je 0x1400a08b0
movzx eax, word [rsp + 0x50]
or eax, 1
mov word [rsp + 0x50], ax
mov dword [rsp + 0x5c], 0
jmp 0x1400a08c4
mov eax, dword [rsp + 0x5c]
inc eax
mov dword [rsp + 0x5c], eax
movzx eax, byte [rsp + 0x30]
test eax, eax
je 0x1400a12e1
mov rax, qword [rsp + 0xb0]
cmp qword [rsp + 0x68], rax
jae 0x1400a12e1
movzx eax, word [rsp + 0x170]
cmp dword [rsp + 0x5c], eax
jg 0x1400a12e1
cmp dword [rsp + 0x5c], 0
jle 0x1400a091c
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
movzx eax, word [rsp + 0x170]
cmp dword [rsp + 0x5c], eax
jge 0x1400a095c
movsxd rax, dword [rsp + 0x5c]
mov rcx, qword [rsp + 0x160]
mov rcx, qword [rcx + 0x18]
mov rax, qword [rcx + rax*8]
mov qword [rsp + 0x48], rax
movzx eax, word [rsp + 0x168]
and eax, 0x800
test eax, eax
je 0x1400a095a
jmp 0x1400a08ba
jmp 0x1400a0969
mov rax, qword [rsp + 0x178]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 0x28]
and eax, 0x400
test eax, eax
je 0x1400a0999
mov rax, qword [rsp + 0x48]
movsx eax, byte [rax + 0x1d]
test eax, eax
je 0x1400a0994
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x68], rax
jmp 0x1400a12e1
mov rax, qword [rsp + 0x150]
mov rax, qword [rax + 8]
mov rcx, qword [rsp + 0x48]
movzx ecx, byte [rcx + 0x10]
imul rcx, rcx, 0x78
mov eax, dword [rax + rcx + 0x50]
mov dword [rsp + 0x88], eax
mov dword [rsp + 0x34], 0
jmp 0x1400a09d1
mov eax, dword [rsp + 0x34]
inc eax
mov dword [rsp + 0x34], eax
movzx eax, word [rsp + 0x40]
cmp dword [rsp + 0x34], eax
jge 0x1400a0c53
mov eax, dword [rsp + 0x34]
mov ecx, 1
mov qword [rsp + 0x108], rcx
mov cl, al
mov rax, qword [rsp + 0x108]
shl rax, cl
and rax, qword [rsp + 0x68]
test rax, rax
je 0x1400a0a0a
jmp 0x1400a09c7
movsxd rax, dword [rsp + 0x34]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x158]
mov rcx, qword [rcx + 8]
mov rcx, qword [rcx + rax]
call fcn.1400549cc
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
movzx eax, byte [rax]
cmp eax, 0x98
je 0x1400a0a44
jmp 0x1400a09c7
mov rax, qword [rsp + 0x80]
mov ecx, dword [rsp + 0x88]
cmp dword [rax + 0x2c], ecx
je 0x1400a0a5d
jmp 0x1400a09c7
movzx eax, word [rsp + 0x50]
mov rcx, qword [rsp + 0xa8]
not rcx
mov rdx, qword [rsp + 0x80]
movsx edx, word [rdx + 0x30]
mov r8, qword [rsp + 0x150]
add r8, 0x60
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 + 0x88]
mov rax, qword [rsp + 0xe8]
mov rcx, rax
call fcn.14009b64c
mov qword [rsp + 0x90], rax
cmp qword [rsp + 0x90], 0
jne 0x1400a0acf
jmp 0x1400a09c7
mov rax, qword [rsp + 0x90]
movzx eax, word [rax + 0x14]
cmp eax, 1
jne 0x1400a0b35
mov dword [rsp + 0x38], 0
jmp 0x1400a0af4
mov eax, dword [rsp + 0x38]
inc eax
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0x48]
movzx eax, word [rax + 0x2c]
cmp dword [rsp + 0x38], eax
jge 0x1400a0b21
movsxd rax, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x48]
mov rcx, qword [rcx + 0x38]
mov rax, qword [rcx + rax*8]
cmp qword [rsp + 0x90], rax
je 0x1400a0b21
jmp 0x1400a0aea
mov rax, qword [rsp + 0x48]
movzx eax, word [rax + 0x2c]
cmp dword [rsp + 0x38], eax
jl 0x1400a0b35
jmp 0x1400a09c7
mov rax, qword [rsp + 0x90]
movzx eax, word [rax + 0x14]
and eax, 0x82
test eax, eax
je 0x1400a0c20
mov rax, qword [rsp + 0x80]
movsx eax, word [rax + 0x30]
test eax, eax
jl 0x1400a0c20
movsxd rax, dword [rsp + 0x34]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x158]
mov rcx, qword [rcx + 8]
mov rdx, qword [rcx + rax]
mov rax, qword [rsp + 0x150]
mov rcx, qword [rax]
call fcn.140054a34
mov qword [rsp + 0x70], rax
cmp qword [rsp + 0x70], 0
jne 0x1400a0ba9
mov rax, qword [rsp + 0x98]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov rax, qword [rax]
mov qword [rsp + 0xf8], rax
mov rax, qword [rsp + 0x90]
mov rdx, qword [rax]
mov rax, qword [rsp + 0x150]
mov rcx, qword [rax]
call fcn.140054a34
mov qword [rsp + 0x70], rax
cmp qword [rsp + 0x70], 0
jne 0x1400a0bf2
mov rax, qword [rsp + 0x98]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov rax, qword [rax]
mov qword [rsp + 0x128], rax
mov rdx, qword [rsp + 0x128]
mov rcx, qword [rsp + 0xf8]
call fcn.14000d664
test eax, eax
je 0x1400a0c20
jmp 0x1400a09c7
mov eax, dword [rsp + 0x34]
mov ecx, 1
mov qword [rsp + 0xd0], rcx
mov cl, al
mov rax, qword [rsp + 0xd0]
shl rax, cl
mov rcx, qword [rsp + 0x68]
or rcx, rax
mov rax, rcx
mov qword [rsp + 0x68], rax
jmp 0x1400a09c7
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 0x28]
and eax, 0x1000
test eax, eax
jne 0x1400a11aa
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 0x28]
and eax, 0x100
test eax, eax
je 0x1400a0c95
mov qword [rsp + 0x60], 0
xor eax, eax
mov word [rsp + 0x7c], ax
mov eax, 1
mov word [rsp + 0x78], ax
jmp 0x1400a0d12
mov rax, qword [rsp + 0x48]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
je 0x1400a0cbd
mov rax, qword [rsp + 0x60]
mov eax, dword [rax + 0x64]
shr eax, 2
and eax, 1
test eax, eax
je 0x1400a0cc6
xor al, al
jmp 0x1400a1371
mov rax, qword [rsp + 0x60]
movzx eax, word [rax + 0x5e]
mov word [rsp + 0x7c], ax
mov rax, qword [rsp + 0x60]
movzx eax, word [rax + 0x60]
mov word [rsp + 0x78], ax
mov rax, qword [rsp + 0x60]
movzx eax, byte [rax + 0x62]
test eax, eax
je 0x1400a0cfc
mov dword [rsp + 0x8c], 1
jmp 0x1400a0d07
mov dword [rsp + 0x8c], 0
mov al, byte [rsp + 0x8c]
mov byte [rsp + 0x30], al
mov byte [rsp + 0x3d], 0
mov al, byte [rsp + 0x3d]
mov byte [rsp + 0x45], al
mov byte [rsp + 0x47], 0
mov dword [rsp + 0x38], 0
jmp 0x1400a0d38
mov eax, dword [rsp + 0x38]
inc eax
mov dword [rsp + 0x38], eax
movzx eax, word [rsp + 0x78]
cmp dword [rsp + 0x38], eax
jge 0x1400a119c
mov byte [rsp + 0x44], 1
mov rax, qword [rsp + 0x48]
movzx eax, word [rax + 0x18]
cmp dword [rsp + 0x38], eax
jge 0x1400a0e2d
mov rax, qword [rsp + 0x48]
movzx eax, word [rax + 0x2e]
cmp dword [rsp + 0x38], eax
jl 0x1400a0e2d
movsxd rax, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x48]
mov rcx, qword [rcx + 0x38]
mov rax, qword [rcx + rax*8]
movzx eax, word [rax + 0x14]
mov word [rsp + 0x58], ax
movzx eax, word [rsp + 0x58]
movzx ecx, word [rsp + 0x50]
and eax, ecx
test eax, eax
je 0x1400a0db7
movzx eax, word [rsp + 0x58]
and eax, 0x100
test eax, eax
je 0x1400a0db0
mov byte [rsp + 0x30], 0
jmp 0x1400a0d2e
movzx eax, word [rsp + 0x58]
and eax, 1
test eax, eax
je 0x1400a0e2d
movsxd rax, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x48]
mov rcx, qword [rcx + 0x38]
mov rax, qword [rcx + rax*8]
mov rax, qword [rax]
mov qword [rsp + 0xd8], rax
mov eax, dword [rsp + 0x38]
inc eax
mov dword [rsp + 0x34], eax
jmp 0x1400a0df6
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 0x1400a0e2d
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 + 0xd8]
cmp qword [rax], rcx
jne 0x1400a0e2b
mov byte [rsp + 0x44], 0
jmp 0x1400a0e2d
jmp 0x1400a0dec
cmp qword [rsp + 0x60], 0
je 0x1400a0e7d
movsxd rax, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x60]
mov rcx, qword [rcx + 8]
movsx eax, word [rcx + rax*2]
mov dword [rsp + 0x54], eax
movsxd rax, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x60]
mov rcx, qword [rcx + 0x38]
mov al, byte [rcx + rax]
mov byte [rsp + 0x46], al
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 0x18]
movsx eax, word [rax + 0x3c]
cmp dword [rsp + 0x54], eax
jne 0x1400a0e7b
mov dword [rsp + 0x54], 0xffffffff
jmp 0x1400a0e8a
mov dword [rsp + 0x54], 0xffffffff
mov byte [rsp + 0x46], 0
movzx eax, byte [rsp + 0x30]
test eax, eax
je 0x1400a0ecd
cmp dword [rsp + 0x54], 0
jl 0x1400a0ecd
mov rax, qword [rsp + 0x48]
movzx eax, word [rax + 0x18]
cmp dword [rsp + 0x38], eax
jl 0x1400a0ecd
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 0x18]
movsxd rcx, dword [rsp + 0x54]
imul rcx, rcx, 0x20
mov rax, qword [rax + 8]
movzx eax, byte [rax + rcx + 0x18]
test eax, eax
jne 0x1400a0ecd
mov byte [rsp + 0x30], 0
mov byte [rsp + 0x3c], 0
mov dword [rsp + 0x34], 0
jmp 0x1400a0ee6
mov eax, dword [rsp + 0x34]
inc eax
mov dword [rsp + 0x34], eax
movzx eax, byte [rsp + 0x44]
test eax, eax
je 0x1400a1072
movzx eax, word [rsp + 0x40]
cmp dword [rsp + 0x34], eax
jge 0x1400a1072
mov eax, dword [rsp + 0x34]
mov ecx, 1
mov qword [rsp + 0xe0], rcx
mov cl, al
mov rax, qword [rsp + 0xe0]
shl rax, cl
and rax, qword [rsp + 0x68]
test rax, rax
je 0x1400a0f2c
jmp 0x1400a0edc
movsxd rax, dword [rsp + 0x34]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x158]
mov rcx, qword [rcx + 8]
mov rcx, qword [rcx + rax]
call fcn.1400549cc
mov qword [rsp + 0x80], rax
movzx eax, word [rsp + 0x168]
and eax, 0xc0
test eax, eax
jne 0x1400a0f68
mov byte [rsp + 0x44], 0
cmp dword [rsp + 0x54], 0xffffffff
jl 0x1400a0fb8
mov rax, qword [rsp + 0x80]
movzx eax, byte [rax]
cmp eax, 0x98
je 0x1400a0f86
jmp 0x1400a0edc
mov rax, qword [rsp + 0x80]
mov ecx, dword [rsp + 0x88]
cmp dword [rax + 0x2c], ecx
je 0x1400a0f9f
jmp 0x1400a0edc
mov rax, qword [rsp + 0x80]
movsx eax, word [rax + 0x30]
cmp eax, dword [rsp + 0x54]
je 0x1400a0fb6
jmp 0x1400a0edc
jmp 0x1400a0ff0
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 0x50]
movsxd rcx, dword [rsp + 0x38]
imul rcx, rcx, 0x28
mov rax, qword [rax + 8]
mov r8d, dword [rsp + 0x88]
mov rdx, qword [rax + rcx]
mov rcx, qword [rsp + 0x80]
call fcn.14005d194
test eax, eax
je 0x1400a0ff0
jmp 0x1400a0edc
cmp dword [rsp + 0x54], 0
jl 0x1400a1066
movsxd rax, dword [rsp + 0x34]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x158]
mov rcx, qword [rcx + 8]
mov rdx, qword [rcx + rax]
mov rax, qword [rsp + 0x150]
mov rcx, qword [rax]
call fcn.140054a34
mov qword [rsp + 0x70], rax
cmp qword [rsp + 0x70], 0
jne 0x1400a103e
mov rax, qword [rsp + 0x98]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x70], rax
movsxd rax, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x60]
mov rcx, qword [rcx + 0x40]
mov rdx, qword [rcx + rax*8]
mov rax, qword [rsp + 0x70]
mov rcx, qword [rax]
call fcn.14000d664
test eax, eax
je 0x1400a1066
jmp 0x1400a0edc
mov byte [rsp + 0x3c], 1
jmp 0x1400a1072
movzx eax, byte [rsp + 0x3c]
test eax, eax
je 0x1400a1139
movzx eax, word [rsp + 0x168]
and eax, 0x40
test eax, eax
jne 0x1400a1139
movzx eax, byte [rsp + 0x3d]
test eax, eax
je 0x1400a10cc
movzx eax, byte [rsp + 0x45]
movzx ecx, byte [rsp + 0x46]
xor eax, ecx
movsxd rcx, dword [rsp + 0x34]
imul rcx, rcx, 0x28
mov rdx, qword [rsp + 0x158]
mov rdx, qword [rdx + 8]
movzx ecx, byte [rdx + rcx + 0x18]
cmp eax, ecx
je 0x1400a10ca
mov byte [rsp + 0x3c], 0
jmp 0x1400a1139
movzx eax, byte [rsp + 0x46]
movsxd rcx, dword [rsp + 0x34]
imul rcx, rcx, 0x28
mov rdx, qword [rsp + 0x158]
mov rdx, qword [rdx + 8]
movzx ecx, byte [rdx + rcx + 0x18]
xor eax, ecx
mov byte [rsp + 0x45], al
movzx eax, byte [rsp + 0x45]
test eax, eax
je 0x1400a1134
mov eax, dword [rsp + 0x5c]
mov ecx, 1
mov qword [rsp + 0xf0], rcx
mov cl, al
mov rax, qword [rsp + 0xf0]
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 + 0x3d], 1
movzx eax, byte [rsp + 0x3c]
test eax, eax
je 0x1400a117e
cmp dword [rsp + 0x54], 0xffffffff
jne 0x1400a114e
mov byte [rsp + 0x47], 1
mov eax, dword [rsp + 0x34]
mov ecx, 1
mov qword [rsp + 0x100], rcx
mov cl, al
mov rax, qword [rsp + 0x100]
shl rax, cl
mov rcx, qword [rsp + 0x68]
or rcx, rax
mov rax, rcx
mov qword [rsp + 0x68], rax
jmp 0x1400a1197
cmp dword [rsp + 0x38], 0
je 0x1400a1190
movzx eax, word [rsp + 0x7c]
cmp dword [rsp + 0x38], eax
jge 0x1400a1195
mov byte [rsp + 0x30], 0
jmp 0x1400a119c
jmp 0x1400a0d2e
movzx eax, byte [rsp + 0x47]
test eax, eax
je 0x1400a11aa
mov byte [rsp + 0x30], 1
movzx eax, byte [rsp + 0x30]
test eax, eax
je 0x1400a12dc
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
mov dword [rsp + 0x34], 0
jmp 0x1400a11ea
mov eax, dword [rsp + 0x34]
inc eax
mov dword [rsp + 0x34], eax
movzx eax, word [rsp + 0x40]
cmp dword [rsp + 0x34], eax
jge 0x1400a12dc
mov eax, dword [rsp + 0x34]
mov ecx, 1
mov qword [rsp + 0x110], rcx
mov cl, al
mov rax, qword [rsp + 0x110]
shl rax, cl
and rax, qword [rsp + 0x68]
test rax, rax
je 0x1400a1223
jmp 0x1400a11e0
movsxd rax, dword [rsp + 0x34]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x158]
mov rcx, qword [rcx + 8]
mov rax, qword [rcx + rax]
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0x150]
add rax, 0x288
mov rdx, qword [rsp + 0xc8]
mov rcx, rax
call fcn.14009a9bc
mov qword [rsp + 0xc0], rax
cmp qword [rsp + 0xc0], 0
jne 0x1400a128b
mov rcx, qword [rsp + 0xc8]
call fcn.140057a18
test eax, eax
jne 0x1400a128b
jmp 0x1400a11e0
mov rax, qword [rsp + 0xa0]
not rax
mov rcx, qword [rsp + 0xc0]
and rcx, rax
mov rax, rcx
test rax, rax
jne 0x1400a12d7
mov eax, dword [rsp + 0x34]
mov ecx, 1
mov qword [rsp + 0x120], rcx
mov cl, al
mov rax, qword [rsp + 0x120]
shl rax, cl
mov rcx, qword [rsp + 0x68]
or rcx, rax
mov rax, rcx
mov qword [rsp + 0x68], rax
jmp 0x1400a11e0
jmp 0x1400a08ba
mov rax, qword [rsp + 0xb0]
cmp qword [rsp + 0x68], rax
jne 0x1400a12f6
mov al, byte [rsp + 0x40]
jmp 0x1400a1371
movzx eax, byte [rsp + 0x30]
test eax, eax
jne 0x1400a136f
movzx eax, word [rsp + 0x40]
dec eax
mov dword [rsp + 0x34], eax
jmp 0x1400a1316
mov eax, dword [rsp + 0x34]
dec eax
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
jle 0x1400a136b
mov eax, dword [rsp + 0x34]
mov ecx, 1
mov qword [rsp + 0x130], rcx
mov cl, al
mov rax, qword [rsp + 0x130]
shl rax, cl
dec rax
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0x68]
and rcx, rax
mov rax, rcx
cmp rax, qword [rsp + 0xb8]
jne 0x1400a1369
mov al, byte [rsp + 0x34]
jmp 0x1400a1371
jmp 0x1400a130c
xor al, al
jmp 0x1400a1371
mov al, 0xff
add rsp, 0x148
ret