Function at 0x1400a25c0
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 rax, qword [rsp + 0x160]
mov rax, qword [rax]
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0xc8]
mov rax, qword [rax]
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0xb8]
mov rax, qword [rax]
mov qword [rsp + 0x98], rax
mov dword [rsp + 0x70], 0
mov qword [rsp + 0xa0], 0
mov qword [rsp + 0xa8], 0
mov rax, qword [rsp + 0x160]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x98]
movzx eax, byte [rax + 0x50]
test eax, eax
je 0x1400a2660
mov eax, 7
jmp 0x1400a3006
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x28]
and eax, 0x20
test eax, eax
je 0x1400a2679
mov dword [rsp + 0x6c], 0x18
jmp 0x1400a26ac
mov rax, qword [rsp + 0x170]
cmp dword [rax + 0x58], 0
jle 0x1400a269a
mov rax, qword [rsp + 0x168]
movzx eax, byte [rax + 0x3c]
and eax, 8
test eax, eax
je 0x1400a26a4
mov dword [rsp + 0x6c], 0x3f
jmp 0x1400a26ac
mov dword [rsp + 0x6c], 0xbf
mov rax, qword [rsp + 0x170]
mov eax, dword [rax + 0x64]
shr eax, 2
and eax, 1
test eax, eax
je 0x1400a26cc
mov eax, dword [rsp + 0x6c]
and eax, 0xffffffc3
mov dword [rsp + 0x6c], eax
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 0x18]
mov rcx, qword [rsp + 0x170]
mov rcx, qword [rcx + 8]
movsx eax, word [rcx + rax*2]
mov dword [rsp + 0x4c], eax
mov rax, qword [rsp + 0x170]
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x6c]
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0x4c]
mov rax, qword [rsp + 0x168]
mov r8d, dword [rax + 0x48]
mov rax, qword [rsp + 0x160]
mov rdx, qword [rax + 8]
lea rcx, [rsp + 0xd0]
call fcn.1400a6260
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 0x18]
mov word [rsp + 0x38], ax
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 0x1a]
mov word [rsp + 0x48], ax
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 0x2c]
mov word [rsp + 0x68], ax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x28]
mov dword [rsp + 0x84], eax
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 0x16]
mov word [rsp + 0x44], ax
xor eax, eax
mov rcx, qword [rsp + 0x30]
mov word [rcx + 0x12], ax
mov eax, 2
imul rax, rax, 0
mov rcx, qword [rsp + 0x170]
mov rcx, qword [rcx + 0x10]
movzx eax, word [rax + rcx]
mov word [rsp + 0x64], ax
movzx ecx, word [rsp + 0x64]
call fcn.14002de60
mov word [rsp + 0x78], ax
movzx eax, word [rsp + 0x38]
movzx ecx, word [rsp + 0x48]
cmp eax, ecx
jne 0x1400a2974
movzx eax, word [rsp + 0x38]
inc eax
mov rcx, qword [rsp + 0x170]
movzx ecx, word [rcx + 0x5e]
cmp eax, ecx
jge 0x1400a2974
movzx eax, word [rsp + 0x38]
inc eax
cdqe
mov rcx, qword [rsp + 0x170]
mov rcx, qword [rcx + 0x10]
movsx eax, word [rcx + rax*2]
cmp eax, 0x2a
jl 0x1400a2974
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 0x2c]
inc eax
mov r8d, eax
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x98]
call fcn.1400a45a0
mov dword [rsp + 0x70], eax
cmp dword [rsp + 0x70], 0
jne 0x1400a2974
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 0x18]
inc ax
mov rcx, qword [rsp + 0x30]
mov word [rcx + 0x18], ax
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 0x1a]
inc ax
mov rcx, qword [rsp + 0x30]
mov word [rcx + 0x1a], ax
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 0x2c]
mov rcx, qword [rsp + 0x30]
mov rcx, qword [rcx + 0x30]
mov qword [rcx + rax*8], 0
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 0x2c]
inc ax
mov rcx, qword [rsp + 0x30]
mov word [rcx + 0x2c], ax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x28]
bts eax, 0xf
mov rcx, qword [rsp + 0x30]
mov dword [rcx + 0x28], eax
movzx eax, word [rsp + 0x38]
mov rcx, qword [rsp + 0x170]
mov rcx, qword [rcx + 0x10]
movsx eax, word [rcx + rax*2]
movzx ecx, word [rsp + 0x38]
inc ecx
movsxd rcx, ecx
mov rdx, qword [rsp + 0x170]
mov rdx, qword [rdx + 0x10]
movsx ecx, word [rdx + rcx*2]
sub eax, ecx
mov word [rsp + 0x3c], ax
cmp qword [rsp + 0x58], 0
je 0x1400a28f2
movsx eax, word [rsp + 0x3c]
add eax, 0xa
mov word [rsp + 0x3c], ax
movsx eax, word [rsp + 0x3c]
mov rcx, qword [rsp + 0x30]
movsx ecx, word [rcx + 0x16]
sub ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x30]
mov word [rcx + 0x16], ax
movsx eax, word [rsp + 0x3c]
add eax, 5
mov word [rsp + 0x3c], ax
movsx eax, word [rsp + 0x3c]
movsx ecx, word [rsp + 0x178]
add eax, ecx
movzx r9d, ax
mov r8, qword [rsp + 0x170]
mov rdx, qword [rsp + 0x168]
mov rcx, qword [rsp + 0x160]
call fcn.1400a25c0
mov rax, qword [rsp + 0x30]
movzx ecx, word [rsp + 0x44]
mov word [rax + 0x16], cx
mov rax, qword [rsp + 0x30]
movzx ecx, word [rsp + 0x38]
mov word [rax + 0x18], cx
mov rax, qword [rsp + 0x30]
movzx ecx, word [rsp + 0x48]
mov word [rax + 0x1a], cx
jmp 0x1400a2988
lea rcx, [rsp + 0xd0]
call fcn.1400a63b0
mov qword [rsp + 0x58], rax
cmp dword [rsp + 0x70], 0
jne 0x1400a2fab
cmp qword [rsp + 0x58], 0
je 0x1400a2fab
mov rax, qword [rsp + 0x58]
movzx eax, word [rax + 0x1a]
mov word [rsp + 0x40], ax
mov dword [rsp + 0x50], 0
movzx eax, word [rsp + 0x40]
cmp eax, 0x80
je 0x1400a29d1
mov rax, qword [rsp + 0x58]
movzx eax, byte [rax + 0x1c]
and eax, 0
test eax, eax
je 0x1400a29ff
cmp dword [rsp + 0x4c], 0
jl 0x1400a29fa
mov rax, qword [rsp + 0x168]
mov rax, qword [rax + 0x20]
movsxd rcx, dword [rsp + 0x4c]
imul rcx, rcx, 0x30
mov rax, qword [rax + 8]
movzx eax, byte [rax + rcx + 0x28]
test eax, eax
je 0x1400a29ff
jmp 0x1400a2976
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x30]
mov rcx, qword [rcx + 8]
mov rax, qword [rax + 0x28]
and rax, rcx
test rax, rax
je 0x1400a2a1e
jmp 0x1400a2976
mov rax, qword [rsp + 0x30]
mov ecx, dword [rsp + 0x84]
mov dword [rax + 0x28], ecx
mov rax, qword [rsp + 0x30]
movzx ecx, word [rsp + 0x38]
mov word [rax + 0x18], cx
mov rax, qword [rsp + 0x30]
movzx ecx, word [rsp + 0x68]
mov word [rax + 0x2c], cx
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 0x2c]
inc eax
mov r8d, eax
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x98]
call fcn.1400a45a0
test eax, eax
je 0x1400a2a72
jmp 0x1400a2fab
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 0x2c]
mov rcx, qword [rsp + 0x30]
mov rcx, qword [rcx + 0x30]
mov rdx, qword [rsp + 0x58]
mov qword [rcx + rax*8], rdx
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 0x2c]
inc ax
mov rcx, qword [rsp + 0x30]
mov word [rcx + 0x2c], ax
mov rax, qword [rsp + 0x58]
mov rax, qword [rax + 0x28]
mov rcx, qword [rsp + 0xc0]
or rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x30]
mov rcx, qword [rcx + 8]
not rcx
and rax, rcx
mov rcx, qword [rsp + 0x30]
mov qword [rcx], rax
movzx eax, word [rsp + 0x40]
and eax, 1
test eax, eax
je 0x1400a2b62
mov rax, qword [rsp + 0x58]
mov rax, qword [rax]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x28]
or eax, 4
mov rcx, qword [rsp + 0x30]
mov dword [rcx + 0x28], eax
mov rax, qword [rsp + 0x88]
mov eax, dword [rax + 4]
and eax, 0x800
test eax, eax
je 0x1400a2b21
mov dword [rsp + 0x50], 0x2e
jmp 0x1400a2b5d
mov rax, qword [rsp + 0x88]
cmp qword [rax + 0x20], 0
je 0x1400a2b5d
mov rax, qword [rsp + 0x88]
mov rax, qword [rax + 0x20]
cmp dword [rax], 0
je 0x1400a2b5d
mov rax, qword [rsp + 0x88]
mov rax, qword [rax + 0x20]
movsxd rax, dword [rax]
mov rcx, rax
call fcn.14006a160
cwde
mov dword [rsp + 0x50], eax
jmp 0x1400a2cc9
movzx eax, word [rsp + 0x40]
and eax, 2
test eax, eax
je 0x1400a2bf9
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x28]
or eax, 1
mov rcx, qword [rsp + 0x30]
mov dword [rcx + 0x28], eax
cmp dword [rsp + 0x4c], 0
jl 0x1400a2bb3
movsx eax, word [rsp + 0x178]
test eax, eax
jne 0x1400a2bf4
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 0x18]
mov rcx, qword [rsp + 0x170]
movzx ecx, word [rcx + 0x5e]
dec ecx
cmp eax, ecx
jne 0x1400a2bf4
cmp dword [rsp + 0x4c], 0
jl 0x1400a2be0
mov rax, qword [rsp + 0x170]
movzx eax, byte [rax + 0x62]
test eax, eax
jne 0x1400a2be0
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x28]
bts eax, 0x10
mov rcx, qword [rsp + 0x30]
mov dword [rcx + 0x28], eax
jmp 0x1400a2bf4
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x28]
bts eax, 0xc
mov rcx, qword [rsp + 0x30]
mov dword [rcx + 0x28], eax
jmp 0x1400a2cc9
movzx eax, word [rsp + 0x40]
and eax, 0x80
test eax, eax
je 0x1400a2c1f
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x28]
or eax, 8
mov rcx, qword [rsp + 0x30]
mov dword [rcx + 0x28], eax
jmp 0x1400a2cc9
movzx eax, word [rsp + 0x40]
and eax, 0x24
test eax, eax
je 0x1400a2c59
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x28]
or eax, 0x22
mov rcx, qword [rsp + 0x30]
mov dword [rcx + 0x28], eax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0xa8], rax
mov qword [rsp + 0xa0], 0
jmp 0x1400a2cc9
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x28]
or eax, 0x12
mov rcx, qword [rsp + 0x30]
mov dword [rcx + 0x28], eax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x28]
and eax, 0x20
test eax, eax
je 0x1400a2cad
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 0x2c]
sub eax, 2
cdqe
mov rcx, qword [rsp + 0x30]
mov rcx, qword [rcx + 0x30]
mov rax, qword [rcx + rax*8]
mov qword [rsp + 0xb0], rax
jmp 0x1400a2cb9
mov qword [rsp + 0xb0], 0
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x28]
and eax, 2
test eax, eax
je 0x1400a2d0c
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0xa0]
mov r8, qword [rsp + 0xa8]
mov rdx, qword [rsp + 0x160]
mov rcx, qword [rsp + 0xb8]
call fcn.1400a6160
jmp 0x1400a2df1
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 0x18]
inc ax
mov word [rsp + 0x60], ax
mov rax, qword [rsp + 0x30]
movzx ecx, word [rsp + 0x60]
mov word [rax + 0x18], cx
movzx eax, word [rsp + 0x60]
mov dword [rsp + 0x80], eax
mov rax, qword [rsp + 0x58]
movsx eax, word [rax + 0x18]
test eax, eax
jg 0x1400a2d82
cmp dword [rsp + 0x4c], 0
jl 0x1400a2d82
mov rax, qword [rsp + 0x58]
movsx eax, word [rax + 0x18]
mov rcx, qword [rsp + 0x30]
movsx ecx, word [rcx + 0x16]
add ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x30]
mov word [rcx + 0x16], ax
mov rax, qword [rsp + 0x30]
movsx eax, word [rax + 0x16]
sub eax, dword [rsp + 0x50]
mov rcx, qword [rsp + 0x30]
mov word [rcx + 0x16], ax
jmp 0x1400a2df1
movsxd rax, dword [rsp + 0x80]
mov rcx, qword [rsp + 0x170]
mov rcx, qword [rcx + 0x10]
movsx eax, word [rcx + rax*2]
mov ecx, dword [rsp + 0x80]
dec ecx
movsxd rcx, ecx
mov rdx, qword [rsp + 0x170]
mov rdx, qword [rdx + 0x10]
movsx ecx, word [rdx + rcx*2]
sub eax, ecx
mov rcx, qword [rsp + 0x30]
movsx ecx, word [rcx + 0x16]
add ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x30]
mov word [rcx + 0x16], ax
movzx eax, word [rsp + 0x40]
and eax, 0x80
test eax, eax
je 0x1400a2df1
mov rax, qword [rsp + 0x30]
movsx eax, word [rax + 0x16]
add eax, 0xa
mov rcx, qword [rsp + 0x30]
mov word [rcx + 0x16], ax
mov rax, qword [rsp + 0x30]
movsx eax, word [rax + 0x16]
mov dword [rsp + 0x94], eax
mov rcx, qword [rsp + 0x170]
movsx ecx, word [rcx + 0x5c]
imul ecx, ecx, 0xf
mov rdx, qword [rsp + 0x168]
mov rdx, qword [rdx + 0x20]
movsx edx, word [rdx + 0x46]
mov dword [rsp + 0x90], edx
mov eax, ecx
cdq
mov ecx, dword [rsp + 0x90]
idiv ecx
mov ecx, dword [rsp + 0x94]
lea eax, [rcx + rax + 1]
mov word [rsp + 0x74], ax
movzx edx, word [rsp + 0x74]
movzx ecx, word [rsp + 0x78]
call fcn.14006a220
mov rcx, qword [rsp + 0x30]
mov word [rcx + 0x14], ax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x28]
and eax, 0x140
test eax, eax
jne 0x1400a2e92
mov rax, qword [rsp + 0x30]
movsx eax, word [rax + 0x16]
add eax, 0x10
movzx edx, ax
mov rax, qword [rsp + 0x30]
movzx ecx, word [rax + 0x14]
call fcn.14006a220
mov rcx, qword [rsp + 0x30]
mov word [rcx + 0x14], ax
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 0x16]
mov word [rsp + 0x7c], ax
movsx eax, word [rsp + 0x178]
add eax, dword [rsp + 0x50]
mov rcx, qword [rsp + 0x30]
movsx ecx, word [rcx + 0x14]
add ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x30]
mov word [rcx + 0x14], ax
movsx eax, word [rsp + 0x178]
add eax, dword [rsp + 0x50]
mov rcx, qword [rsp + 0x30]
movsx ecx, word [rcx + 0x16]
add ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x30]
mov word [rcx + 0x16], ax
movzx r8d, word [rsp + 0x64]
mov rdx, qword [rsp + 0x30]
mov rax, qword [rsp + 0x160]
mov rcx, qword [rax + 8]
call fcn.1400a43c0
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x160]
call fcn.1400a41e0
mov dword [rsp + 0x70], eax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x28]
and eax, 2
test eax, eax
je 0x1400a2f35
mov rax, qword [rsp + 0x30]
movzx ecx, word [rsp + 0x44]
mov word [rax + 0x16], cx
jmp 0x1400a2f43
mov rax, qword [rsp + 0x30]
movzx ecx, word [rsp + 0x7c]
mov word [rax + 0x16], cx
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x28]
and eax, 0x10
test eax, eax
jne 0x1400a2f98
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 0x18]
mov rcx, qword [rsp + 0x170]
movzx ecx, word [rcx + 0x60]
cmp eax, ecx
jge 0x1400a2f98
movsx eax, word [rsp + 0x178]
add eax, dword [rsp + 0x50]
movzx r9d, ax
mov r8, qword [rsp + 0x170]
mov rdx, qword [rsp + 0x168]
mov rcx, qword [rsp + 0x160]
call fcn.1400a25c0
mov rax, qword [rsp + 0x30]
movzx ecx, word [rsp + 0x44]
mov word [rax + 0x16], cx
jmp 0x1400a2976
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0xc0]
mov qword [rax], rcx
mov rax, qword [rsp + 0x30]
movzx ecx, word [rsp + 0x38]
mov word [rax + 0x18], cx
mov rax, qword [rsp + 0x30]
movzx ecx, word [rsp + 0x48]
mov word [rax + 0x1a], cx
mov rax, qword [rsp + 0x30]
mov ecx, dword [rsp + 0x84]
mov dword [rax + 0x28], ecx
mov rax, qword [rsp + 0x30]
movzx ecx, word [rsp + 0x44]
mov word [rax + 0x16], cx
mov rax, qword [rsp + 0x30]
movzx ecx, word [rsp + 0x68]
mov word [rax + 0x2c], cx
mov eax, dword [rsp + 0x70]
add rsp, 0x158
ret