Function at 0x1400b6a70
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, 0x158
mov qword [rsp + 0x78], 0
mov rax, qword [rsp + 0x160]
mov rax, qword [rax]
mov rax, qword [rax]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x88], 0
movzx eax, word [rsp + 0x180]
test eax, eax
je 0x1400b6ad9
mov rax, qword [rsp + 0x38]
movzx eax, word [rax + 0x50]
and eax, 0x80
test eax, eax
je 0x1400b6ad9
xor al, al
jmp 0x1400b76e0
mov rax, qword [rsp + 0x168]
movzx eax, word [rax]
mov word [rsp + 0xb8], ax
movzx eax, word [rsp + 0xb8]
cmp eax, 0x3f
jle 0x1400b6b00
xor al, al
jmp 0x1400b76e0
mov byte [rsp + 0x6e], 1
movzx eax, word [rsp + 0xb8]
mov ecx, 1
mov qword [rsp + 0xf8], rcx
movzx ecx, al
mov rax, qword [rsp + 0xf8]
shl rax, cl
dec rax
mov qword [rsp + 0xa0], rax
mov qword [rsp + 0x90], 0
mov qword [rsp + 0x50], 0
mov eax, 0x182
mov word [rsp + 0x68], ax
movzx eax, word [rsp + 0x178]
and eax, 0x800
test eax, eax
je 0x1400b6b70
movzx eax, word [rsp + 0x68]
or eax, 1
mov word [rsp + 0x68], ax
mov dword [rsp + 0x30], 0
jmp 0x1400b6b84
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
movzx eax, byte [rsp + 0x6e]
test eax, eax
je 0x1400b763e
mov rax, qword [rsp + 0xa0]
cmp qword [rsp + 0x88], rax
jae 0x1400b763e
movzx eax, word [rsp + 0x180]
cmp dword [rsp + 0x30], eax
jg 0x1400b763e
cmp dword [rsp + 0x30], 0
jle 0x1400b6bd9
mov rax, qword [rsp + 0x78]
mov rax, qword [rax + 8]
mov rcx, qword [rsp + 0x50]
or rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
movzx eax, word [rsp + 0x180]
cmp dword [rsp + 0x30], eax
jge 0x1400b6c19
movsxd rax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x170]
mov rcx, qword [rcx + 0x18]
mov rax, qword [rcx + rax*8]
mov qword [rsp + 0x78], rax
movzx eax, word [rsp + 0x178]
and eax, 0x800
test eax, eax
je 0x1400b6c17
jmp 0x1400b6b7a
jmp 0x1400b6c26
mov rax, qword [rsp + 0x188]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
mov eax, dword [rax + 0x28]
and eax, 0x400
test eax, eax
je 0x1400b6c59
mov rax, qword [rsp + 0x78]
movsx eax, byte [rax + 0x1d]
test eax, eax
je 0x1400b6c54
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x88], rax
jmp 0x1400b763e
mov rax, qword [rsp + 0x160]
mov rax, qword [rax + 8]
mov rcx, qword [rsp + 0x78]
movzx ecx, byte [rcx + 0x10]
imul rcx, rcx, 0x78
mov eax, dword [rax + rcx + 0x50]
mov dword [rsp + 0x80], eax
mov dword [rsp + 0x48], 0
jmp 0x1400b6c91
mov eax, dword [rsp + 0x48]
inc eax
mov dword [rsp + 0x48], eax
movzx eax, word [rsp + 0xb8]
cmp dword [rsp + 0x48], eax
jge 0x1400b6f1b
mov eax, dword [rsp + 0x48]
mov ecx, 1
mov qword [rsp + 0x100], rcx
movzx ecx, al
mov rax, qword [rsp + 0x100]
shl rax, cl
and rax, qword [rsp + 0x88]
test rax, rax
je 0x1400b6cd1
jmp 0x1400b6c87
movsxd rax, dword [rsp + 0x48]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x168]
mov rcx, qword [rcx + 8]
mov rcx, qword [rcx + rax]
call fcn.1400745c0
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0xa8]
movzx eax, byte [rax]
cmp eax, 0x98
je 0x1400b6d0e
jmp 0x1400b6c87
mov rax, qword [rsp + 0xa8]
mov ecx, dword [rsp + 0x80]
cmp dword [rax + 0x2c], ecx
je 0x1400b6d27
jmp 0x1400b6c87
movzx eax, word [rsp + 0x68]
mov rcx, qword [rsp + 0x50]
not rcx
mov rdx, qword [rsp + 0xa8]
movsx edx, word [rdx + 0x30]
mov r8, qword [rsp + 0x160]
add r8, 0x60
mov qword [rsp + 0x108], 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 + 0x108]
mov rcx, rax
call fcn.1400af820
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
jne 0x1400b6d90
jmp 0x1400b6c87
mov rax, qword [rsp + 0x60]
movzx eax, word [rax + 0x14]
cmp eax, 1
jne 0x1400b6e02
mov dword [rsp + 0xb4], 0
jmp 0x1400b6dbb
mov eax, dword [rsp + 0xb4]
inc eax
mov dword [rsp + 0xb4], eax
mov rax, qword [rsp + 0x78]
movzx eax, word [rax + 0x2c]
cmp dword [rsp + 0xb4], eax
jge 0x1400b6deb
movsxd rax, dword [rsp + 0xb4]
mov rcx, qword [rsp + 0x78]
mov rcx, qword [rcx + 0x38]
mov rax, qword [rcx + rax*8]
cmp qword [rsp + 0x60], rax
je 0x1400b6deb
jmp 0x1400b6dab
mov rax, qword [rsp + 0x78]
movzx eax, word [rax + 0x2c]
cmp dword [rsp + 0xb4], eax
jl 0x1400b6e02
jmp 0x1400b6c87
mov rax, qword [rsp + 0x60]
movzx eax, word [rax + 0x14]
and eax, 0x82
test eax, eax
je 0x1400b6ee1
mov rax, qword [rsp + 0xa8]
movsx eax, word [rax + 0x30]
test eax, eax
jl 0x1400b6ee1
movsxd rax, dword [rsp + 0x48]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x168]
mov rcx, qword [rcx + 8]
mov rdx, qword [rcx + rax]
mov rax, qword [rsp + 0x160]
mov rcx, qword [rax]
call fcn.1400740e0
mov qword [rsp + 0x70], rax
cmp qword [rsp + 0x70], 0
jne 0x1400b6e70
mov rax, qword [rsp + 0x38]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov rax, qword [rax]
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0x60]
mov rdx, qword [rax]
mov rax, qword [rsp + 0x160]
mov rcx, qword [rax]
call fcn.1400740e0
mov qword [rsp + 0x70], rax
cmp qword [rsp + 0x70], 0
jne 0x1400b6eb3
mov rax, qword [rsp + 0x38]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov rax, qword [rax]
mov qword [rsp + 0xc0], rax
mov rdx, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0xc8]
call fcn.1400160f0
test eax, eax
je 0x1400b6ee1
jmp 0x1400b6c87
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 + 0x88]
or rcx, rax
mov rax, rcx
mov qword [rsp + 0x88], rax
jmp 0x1400b6c87
mov rax, qword [rsp + 0x78]
mov eax, dword [rax + 0x28]
and eax, 0x1000
test eax, eax
jne 0x1400b74f9
mov rax, qword [rsp + 0x78]
mov eax, dword [rax + 0x28]
and eax, 0x100
test eax, eax
je 0x1400b6f66
mov qword [rsp + 0x58], 0
xor eax, eax
mov word [rsp + 0x98], ax
mov eax, 1
mov word [rsp + 0xb0], ax
jmp 0x1400b6fea
mov rax, qword [rsp + 0x78]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
je 0x1400b6f8e
mov rax, qword [rsp + 0x58]
mov eax, dword [rax + 0x64]
shr eax, 2
and eax, 1
test eax, eax
je 0x1400b6f97
xor al, al
jmp 0x1400b76e0
mov rax, qword [rsp + 0x58]
movzx eax, word [rax + 0x5e]
mov word [rsp + 0x98], ax
mov rax, qword [rsp + 0x58]
movzx eax, word [rax + 0x60]
mov word [rsp + 0xb0], ax
mov rax, qword [rsp + 0x58]
movzx eax, byte [rax + 0x62]
test eax, eax
je 0x1400b6fd3
mov dword [rsp + 0x118], 1
jmp 0x1400b6fde
mov dword [rsp + 0x118], 0
movzx eax, byte [rsp + 0x118]
mov byte [rsp + 0x6e], al
mov byte [rsp + 0x40], 0
movzx eax, byte [rsp + 0x40]
mov byte [rsp + 0x84], al
mov byte [rsp + 0x6d], 0
mov dword [rsp + 0xb4], 0
jmp 0x1400b701d
mov eax, dword [rsp + 0xb4]
inc eax
mov dword [rsp + 0xb4], eax
movzx eax, word [rsp + 0xb0]
cmp dword [rsp + 0xb4], eax
jge 0x1400b74eb
mov byte [rsp + 0xd0], 1
mov rax, qword [rsp + 0x78]
movzx eax, word [rax + 0x18]
cmp dword [rsp + 0xb4], eax
jge 0x1400b713c
mov rax, qword [rsp + 0x78]
movzx eax, word [rax + 0x2e]
cmp dword [rsp + 0xb4], eax
jl 0x1400b713c
movsxd rax, dword [rsp + 0xb4]
mov rcx, qword [rsp + 0x78]
mov rcx, qword [rcx + 0x38]
mov rax, qword [rcx + rax*8]
movzx eax, word [rax + 0x14]
mov word [rsp + 0xd4], ax
movzx eax, word [rsp + 0xd4]
movzx ecx, word [rsp + 0x68]
and eax, ecx
test eax, eax
je 0x1400b70ba
movzx eax, word [rsp + 0xd4]
and eax, 0x100
test eax, eax
je 0x1400b70b0
mov byte [rsp + 0x6e], 0
jmp 0x1400b700d
movzx eax, word [rsp + 0xd4]
and eax, 1
test eax, eax
je 0x1400b713c
movsxd rax, dword [rsp + 0xb4]
mov rcx, qword [rsp + 0x78]
mov rcx, qword [rcx + 0x38]
mov rax, qword [rcx + rax*8]
mov rax, qword [rax]
mov qword [rsp + 0xd8], rax
mov eax, dword [rsp + 0xb4]
inc eax
mov dword [rsp + 0x48], eax
jmp 0x1400b7102
mov eax, dword [rsp + 0x48]
inc eax
mov dword [rsp + 0x48], eax
mov rax, qword [rsp + 0x78]
movzx eax, word [rax + 0x18]
cmp dword [rsp + 0x48], eax
jge 0x1400b713c
movsxd rax, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x78]
mov rcx, qword [rcx + 0x38]
mov rax, qword [rcx + rax*8]
mov rcx, qword [rsp + 0xd8]
cmp qword [rax], rcx
jne 0x1400b713a
mov byte [rsp + 0xd0], 0
jmp 0x1400b713c
jmp 0x1400b70f8
cmp qword [rsp + 0x58], 0
je 0x1400b7196
movsxd rax, dword [rsp + 0xb4]
mov rcx, qword [rsp + 0x58]
mov rcx, qword [rcx + 8]
movsx eax, word [rcx + rax*2]
mov dword [rsp + 0x44], eax
movsxd rax, dword [rsp + 0xb4]
mov rcx, qword [rsp + 0x58]
mov rcx, qword [rcx + 0x38]
movzx eax, byte [rax + rcx]
mov byte [rsp + 0x9c], al
mov rax, qword [rsp + 0x58]
mov rax, qword [rax + 0x18]
movsx eax, word [rax + 0x3c]
cmp dword [rsp + 0x44], eax
jne 0x1400b7194
mov dword [rsp + 0x44], 0xffffffff
jmp 0x1400b71a6
mov dword [rsp + 0x44], 0xffffffff
mov byte [rsp + 0x9c], 0
movzx eax, byte [rsp + 0x6e]
test eax, eax
je 0x1400b71ec
cmp dword [rsp + 0x44], 0
jl 0x1400b71ec
mov rax, qword [rsp + 0x78]
movzx eax, word [rax + 0x18]
cmp dword [rsp + 0xb4], eax
jl 0x1400b71ec
mov rax, qword [rsp + 0x58]
mov rax, qword [rax + 0x18]
movsxd rcx, dword [rsp + 0x44]
imul rcx, rcx, 0x20
mov rax, qword [rax + 8]
movzx eax, byte [rax + rcx + 0x18]
test eax, eax
jne 0x1400b71ec
mov byte [rsp + 0x6e], 0
mov byte [rsp + 0x6c], 0
mov dword [rsp + 0x48], 0
jmp 0x1400b7205
mov eax, dword [rsp + 0x48]
inc eax
mov dword [rsp + 0x48], eax
movzx eax, byte [rsp + 0xd0]
test eax, eax
je 0x1400b73a1
movzx eax, word [rsp + 0xb8]
cmp dword [rsp + 0x48], eax
jge 0x1400b73a1
mov eax, dword [rsp + 0x48]
mov ecx, 1
mov qword [rsp + 0x120], rcx
movzx ecx, al
mov rax, qword [rsp + 0x120]
shl rax, cl
and rax, qword [rsp + 0x88]
test rax, rax
je 0x1400b7255
jmp 0x1400b71fb
movsxd rax, dword [rsp + 0x48]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x168]
mov rcx, qword [rcx + 8]
mov rcx, qword [rcx + rax]
call fcn.1400745c0
mov qword [rsp + 0xa8], rax
movzx eax, word [rsp + 0x178]
and eax, 0xc0
test eax, eax
jne 0x1400b7294
mov byte [rsp + 0xd0], 0
cmp dword [rsp + 0x44], 0xffffffff
jl 0x1400b72e4
mov rax, qword [rsp + 0xa8]
movzx eax, byte [rax]
cmp eax, 0x98
je 0x1400b72b2
jmp 0x1400b71fb
mov rax, qword [rsp + 0xa8]
mov ecx, dword [rsp + 0x80]
cmp dword [rax + 0x2c], ecx
je 0x1400b72cb
jmp 0x1400b71fb
mov rax, qword [rsp + 0xa8]
movsx eax, word [rax + 0x30]
cmp eax, dword [rsp + 0x44]
je 0x1400b72e2
jmp 0x1400b71fb
jmp 0x1400b731f
mov rax, qword [rsp + 0x58]
mov rax, qword [rax + 0x50]
movsxd rcx, dword [rsp + 0xb4]
imul rcx, rcx, 0x28
mov rax, qword [rax + 8]
mov r8d, dword [rsp + 0x80]
mov rdx, qword [rax + rcx]
mov rcx, qword [rsp + 0xa8]
call fcn.140079330
test eax, eax
je 0x1400b731f
jmp 0x1400b71fb
cmp dword [rsp + 0x44], 0
jl 0x1400b7395
movsxd rax, dword [rsp + 0x48]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x168]
mov rcx, qword [rcx + 8]
mov rdx, qword [rcx + rax]
mov rax, qword [rsp + 0x160]
mov rcx, qword [rax]
call fcn.1400740e0
mov qword [rsp + 0x70], rax
cmp qword [rsp + 0x70], 0
jne 0x1400b736a
mov rax, qword [rsp + 0x38]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x70], rax
movsxd rax, dword [rsp + 0xb4]
mov rcx, qword [rsp + 0x58]
mov rcx, qword [rcx + 0x40]
mov rdx, qword [rcx + rax*8]
mov rax, qword [rsp + 0x70]
mov rcx, qword [rax]
call fcn.1400160f0
test eax, eax
je 0x1400b7395
jmp 0x1400b71fb
mov byte [rsp + 0x6c], 1
jmp 0x1400b73a1
movzx eax, byte [rsp + 0x6c]
test eax, eax
je 0x1400b7478
movzx eax, word [rsp + 0x178]
and eax, 0x40
test eax, eax
jne 0x1400b7478
movzx eax, byte [rsp + 0x40]
test eax, eax
je 0x1400b7401
movzx eax, byte [rsp + 0x84]
movzx ecx, byte [rsp + 0x9c]
xor eax, ecx
movsxd rcx, dword [rsp + 0x48]
imul rcx, rcx, 0x28
mov rdx, qword [rsp + 0x168]
mov rdx, qword [rdx + 8]
movzx ecx, byte [rdx + rcx + 0x18]
cmp eax, ecx
je 0x1400b73ff
mov byte [rsp + 0x6c], 0
jmp 0x1400b7478
movzx eax, byte [rsp + 0x9c]
movsxd rcx, dword [rsp + 0x48]
imul rcx, rcx, 0x28
mov rdx, qword [rsp + 0x168]
mov rdx, qword [rdx + 8]
movzx ecx, byte [rdx + rcx + 0x18]
xor eax, ecx
mov byte [rsp + 0x84], al
movzx eax, byte [rsp + 0x84]
test eax, eax
je 0x1400b7473
mov eax, dword [rsp + 0x30]
mov ecx, 1
mov qword [rsp + 0x128], rcx
movzx ecx, al
mov rax, qword [rsp + 0x128]
shl rax, cl
mov rcx, qword [rsp + 0x190]
mov rcx, qword [rcx]
or rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x190]
mov qword [rcx], rax
mov byte [rsp + 0x40], 1
movzx eax, byte [rsp + 0x6c]
test eax, eax
je 0x1400b74c4
cmp dword [rsp + 0x44], 0xffffffff
jne 0x1400b748d
mov byte [rsp + 0x6d], 1
mov eax, dword [rsp + 0x48]
mov ecx, 1
mov qword [rsp + 0x130], rcx
movzx ecx, al
mov rax, qword [rsp + 0x130]
shl rax, cl
mov rcx, qword [rsp + 0x88]
or rcx, rax
mov rax, rcx
mov qword [rsp + 0x88], rax
jmp 0x1400b74e6
cmp dword [rsp + 0xb4], 0
je 0x1400b74df
movzx eax, word [rsp + 0x98]
cmp dword [rsp + 0xb4], eax
jge 0x1400b74e4
mov byte [rsp + 0x6e], 0
jmp 0x1400b74eb
jmp 0x1400b700d
movzx eax, byte [rsp + 0x6d]
test eax, eax
je 0x1400b74f9
mov byte [rsp + 0x6e], 1
movzx eax, byte [rsp + 0x6e]
test eax, eax
je 0x1400b7639
mov rax, qword [rsp + 0x78]
mov rax, qword [rax + 8]
mov rcx, qword [rsp + 0x90]
or rcx, rax
mov rax, rcx
mov qword [rsp + 0x90], rax
mov dword [rsp + 0x48], 0
jmp 0x1400b7539
mov eax, dword [rsp + 0x48]
inc eax
mov dword [rsp + 0x48], eax
movzx eax, word [rsp + 0xb8]
cmp dword [rsp + 0x48], eax
jge 0x1400b7639
mov eax, dword [rsp + 0x48]
mov ecx, 1
mov qword [rsp + 0x138], rcx
movzx ecx, al
mov rax, qword [rsp + 0x138]
shl rax, cl
and rax, qword [rsp + 0x88]
test rax, rax
je 0x1400b7579
jmp 0x1400b752f
movsxd rax, dword [rsp + 0x48]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x168]
mov rcx, qword [rcx + 8]
mov rax, qword [rax + rcx]
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0x160]
add rax, 0x288
mov rdx, qword [rsp + 0xe0]
mov rcx, rax
call fcn.1400ac850
mov qword [rsp + 0xe8], rax
cmp qword [rsp + 0xe8], 0
jne 0x1400b75e1
mov rcx, qword [rsp + 0xe0]
call fcn.140074c60
test eax, eax
jne 0x1400b75e1
jmp 0x1400b752f
mov rax, qword [rsp + 0x90]
not rax
mov rcx, qword [rsp + 0xe8]
and rcx, rax
mov rax, rcx
test rax, rax
jne 0x1400b7634
mov eax, dword [rsp + 0x48]
mov ecx, 1
mov qword [rsp + 0x140], rcx
movzx ecx, al
mov rax, qword [rsp + 0x140]
shl rax, cl
mov rcx, qword [rsp + 0x88]
or rcx, rax
mov rax, rcx
mov qword [rsp + 0x88], rax
jmp 0x1400b752f
jmp 0x1400b6b7a
mov rax, qword [rsp + 0xa0]
cmp qword [rsp + 0x88], rax
jne 0x1400b765d
movzx eax, byte [rsp + 0xb8]
jmp 0x1400b76e0
movzx eax, byte [rsp + 0x6e]
test eax, eax
jne 0x1400b76de
movzx eax, word [rsp + 0xb8]
dec eax
mov dword [rsp + 0x48], eax
jmp 0x1400b7680
mov eax, dword [rsp + 0x48]
dec eax
mov dword [rsp + 0x48], eax
cmp dword [rsp + 0x48], 0
jle 0x1400b76da
mov eax, dword [rsp + 0x48]
mov ecx, 1
mov qword [rsp + 0x148], rcx
movzx ecx, al
mov rax, qword [rsp + 0x148]
shl rax, cl
dec rax
mov qword [rsp + 0xf0], rax
mov rax, qword [rsp + 0xf0]
mov rcx, qword [rsp + 0x88]
and rcx, rax
mov rax, rcx
cmp rax, qword [rsp + 0xf0]
jne 0x1400b76d8
movzx eax, byte [rsp + 0x48]
jmp 0x1400b76e0
jmp 0x1400b7676
xor al, al
jmp 0x1400b76e0
mov al, 0xff
add rsp, 0x158
ret