Function at 0x7a6a90
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x118
mov rax, qword [rsp + 0x120]
movsx eax, word [rax + 0xc]
and eax, 0x8000
test eax, eax
je 0x7a6e6d
mov rax, qword [rsp + 0x120]
movsx eax, word [rax + 0xc]
and eax, 0x40
test eax, eax
jne 0x7a6e6d
mov rax, qword [rsp + 0x120]
cmp dword [rax + 0xfe4], 0
je 0x7a6b1a
mov rax, qword [rsp + 0x120]
mov eax, dword [rax + 0xfe4]
dec eax
mov dword [rsp + 0x3c], eax
mov rax, qword [rsp + 0x120]
mov ecx, dword [rsp + 0x3c]
mov dword [rax + 0xfe4], ecx
cmp dword [rsp + 0x3c], 0
je 0x7a6b15
xor eax, eax
jmp 0x7a7c9f
jmp 0x7a6e6d
mov rax, qword [rsp + 0x120]
cmp dword [rax + 0xfe8], 0x20
jae 0x7a6e6d
mov rax, qword [rsp + 0x120]
cmp dword [rax + 0xfec], 0x20
jae 0x7a6e6d
mov dword [rsp + 0x38], 0
jmp 0x7a6b58
mov eax, dword [rsp + 0x38]
inc eax
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0x21
jge 0x7a6c85
mov rax, qword [rsp + 0x120]
cmp dword [rax + 0x64], 0
je 0x7a6ba0
mov rax, qword [rsp + 0x120]
mov eax, dword [rax + 0x64]
dec eax
mov rcx, qword [rsp + 0x120]
mov dword [rcx + 0x64], eax
mov rax, qword [rsp + 0x120]
mov eax, dword [rax + 0x50]
and eax, 1
mov dword [rsp + 0x40], eax
jmp 0x7a6c30
mov rax, qword [rsp + 0x120]
mov rax, qword [rax + 0x40]
inc rax
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x120]
mov rcx, qword [rsp + 0x48]
mov qword [rax + 0x40], rcx
mov rax, qword [rsp + 0x120]
mov rax, qword [rax + 0x38]
cmp qword [rsp + 0x48], rax
je 0x7a6bda
jmp 0x7a6bf4
mov rax, qword [rsp + 0x120]
add rax, 0x28
mov rcx, rax
mov rax, qword [rsp + 0x120]
call qword [rax + 0x28]
mov rax, qword [rsp + 0x120]
mov dword [rax + 0x64], 7
mov rax, qword [rsp + 0x120]
mov rax, qword [rax + 0x40]
movzx eax, byte [rax]
mov dword [rsp + 0x50], eax
mov rax, qword [rsp + 0x120]
mov ecx, dword [rsp + 0x50]
mov dword [rax + 0x50], ecx
mov eax, dword [rsp + 0x50]
and eax, 1
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
je 0x7a6c59
mov rax, qword [rsp + 0x120]
mov eax, dword [rax + 0x50]
shr eax, 1
mov rcx, qword [rsp + 0x120]
mov dword [rcx + 0x50], eax
mov dword [rsp + 0x54], 1
jmp 0x7a6c79
mov rax, qword [rsp + 0x120]
mov eax, dword [rax + 0x50]
shr eax, 1
mov rcx, qword [rsp + 0x120]
mov dword [rcx + 0x50], eax
mov dword [rsp + 0x54], 0
cmp dword [rsp + 0x54], 0
je 0x7a6c85
jmp 0x7a6b4e
cmp dword [rsp + 0x38], 0x21
jne 0x7a6c96
mov eax, 0x80000000
jmp 0x7a7c9f
cmp dword [rsp + 0x38], 2
jge 0x7a6cb4
mov rax, qword [rsp + 0x120]
mov ecx, dword [rsp + 0x38]
mov dword [rax + 0xfe4], ecx
jmp 0x7a6e55
mov dword [rsp + 0x34], 1
mov rax, qword [rsp + 0x120]
mov dword [rax + 0xfe4], 0
jmp 0x7a6cda
mov eax, dword [rsp + 0x34]
shl eax, 1
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x38]
dec eax
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0
je 0x7a6e33
mov rax, qword [rsp + 0x120]
cmp dword [rax + 0x64], 0
je 0x7a6d2c
mov rax, qword [rsp + 0x120]
mov eax, dword [rax + 0x64]
dec eax
mov rcx, qword [rsp + 0x120]
mov dword [rcx + 0x64], eax
mov rax, qword [rsp + 0x120]
mov eax, dword [rax + 0x50]
and eax, 1
mov dword [rsp + 0x58], eax
jmp 0x7a6dbc
mov rax, qword [rsp + 0x120]
mov rax, qword [rax + 0x40]
inc rax
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x120]
mov rcx, qword [rsp + 0x60]
mov qword [rax + 0x40], rcx
mov rax, qword [rsp + 0x120]
mov rax, qword [rax + 0x38]
cmp qword [rsp + 0x60], rax
je 0x7a6d66
jmp 0x7a6d80
mov rax, qword [rsp + 0x120]
add rax, 0x28
mov rcx, rax
mov rax, qword [rsp + 0x120]
call qword [rax + 0x28]
mov rax, qword [rsp + 0x120]
mov dword [rax + 0x64], 7
mov rax, qword [rsp + 0x120]
mov rax, qword [rax + 0x40]
movzx eax, byte [rax]
mov dword [rsp + 0x68], eax
mov rax, qword [rsp + 0x120]
mov ecx, dword [rsp + 0x68]
mov dword [rax + 0x50], ecx
mov eax, dword [rsp + 0x68]
and eax, 1
mov dword [rsp + 0x58], eax
cmp dword [rsp + 0x58], 0
je 0x7a6de5
mov rax, qword [rsp + 0x120]
mov eax, dword [rax + 0x50]
shr eax, 1
mov rcx, qword [rsp + 0x120]
mov dword [rcx + 0x50], eax
mov dword [rsp + 0x6c], 1
jmp 0x7a6e05
mov rax, qword [rsp + 0x120]
mov eax, dword [rax + 0x50]
shr eax, 1
mov rcx, qword [rsp + 0x120]
mov dword [rcx + 0x50], eax
mov dword [rsp + 0x6c], 0
cmp dword [rsp + 0x6c], 0
je 0x7a6e2e
mov rax, qword [rsp + 0x120]
mov ecx, dword [rsp + 0x34]
mov eax, dword [rax + 0xfe4]
or eax, ecx
mov rcx, qword [rsp + 0x120]
mov dword [rcx + 0xfe4], eax
jmp 0x7a6cd0
mov rax, qword [rsp + 0x120]
mov ecx, dword [rsp + 0x34]
mov eax, dword [rax + 0xfe4]
or eax, ecx
mov rcx, qword [rsp + 0x120]
mov dword [rcx + 0xfe4], eax
mov rax, qword [rsp + 0x120]
cmp dword [rax + 0xfe4], 0
je 0x7a6e6d
xor eax, eax
jmp 0x7a7c9f
mov dword [rsp + 0x28], 0
jmp 0x7a6e81
mov eax, dword [rsp + 0x28]
inc eax
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0x19
jae 0x7a6fc0
mov rax, qword [rsp + 0x120]
cmp dword [rax + 0x64], 0
je 0x7a6ec9
mov rax, qword [rsp + 0x120]
mov eax, dword [rax + 0x64]
dec eax
mov rcx, qword [rsp + 0x120]
mov dword [rcx + 0x64], eax
mov rax, qword [rsp + 0x120]
mov eax, dword [rax + 0x50]
and eax, 1
mov dword [rsp + 0x70], eax
jmp 0x7a6f62
mov rax, qword [rsp + 0x120]
mov rax, qword [rax + 0x40]
inc rax
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x120]
mov rcx, qword [rsp + 0x78]
mov qword [rax + 0x40], rcx
mov rax, qword [rsp + 0x120]
mov rax, qword [rax + 0x38]
cmp qword [rsp + 0x78], rax
je 0x7a6f03
jmp 0x7a6f1d
mov rax, qword [rsp + 0x120]
add rax, 0x28
mov rcx, rax
mov rax, qword [rsp + 0x120]
call qword [rax + 0x28]
mov rax, qword [rsp + 0x120]
mov dword [rax + 0x64], 7
mov rax, qword [rsp + 0x120]
mov rax, qword [rax + 0x40]
movzx eax, byte [rax]
mov dword [rsp + 0x80], eax
mov rax, qword [rsp + 0x120]
mov ecx, dword [rsp + 0x80]
mov dword [rax + 0x50], ecx
mov eax, dword [rsp + 0x80]
and eax, 1
mov dword [rsp + 0x70], eax
cmp dword [rsp + 0x70], 0
je 0x7a6f8e
mov rax, qword [rsp + 0x120]
mov eax, dword [rax + 0x50]
shr eax, 1
mov rcx, qword [rsp + 0x120]
mov dword [rcx + 0x50], eax
mov dword [rsp + 0x84], 1
jmp 0x7a6fb1
mov rax, qword [rsp + 0x120]
mov eax, dword [rax + 0x50]
shr eax, 1
mov rcx, qword [rsp + 0x120]
mov dword [rcx + 0x50], eax
mov dword [rsp + 0x84], 0
cmp dword [rsp + 0x84], 0
je 0x7a6fc0
jmp 0x7a6e77
cmp dword [rsp + 0x28], 0x19
jne 0x7a6fd1
mov eax, 0x80000000
jmp 0x7a7c9f
movsxd rax, dword [rsp + 0x128]
movsxd rcx, dword [rsp + 0x128]
mov rdx, qword [rsp + 0x120]
mov ecx, dword [rdx + rcx*4 + 0xfe8]
shr ecx, 3
mov rdx, qword [rsp + 0x120]
mov eax, dword [rdx + rax*4 + 0xfe8]
lea eax, [rax + rcx + 0x40]
shr eax, 7
mov dword [rsp + 0x2c], eax
cmp dword [rsp + 0x2c], 0x100
jge 0x7a7033
movsxd rax, dword [rsp + 0x2c]
lea rcx, [0x008c1e00]
movsx eax, byte [rcx + rax]
mov dword [rsp + 0x88], eax
jmp 0x7a70c1
cmp dword [rsp + 0x2c], 0x10000
jge 0x7a705d
mov eax, dword [rsp + 0x2c]
sar eax, 8
cdqe
lea rcx, [0x008c1e00]
movsx eax, byte [rcx + rax]
add eax, 8
mov dword [rsp + 0x8c], eax
jmp 0x7a70b3
cmp dword [rsp + 0x2c], 0x1000000
jge 0x7a7087
mov eax, dword [rsp + 0x2c]
sar eax, 0x10
cdqe
lea rcx, [0x008c1e00]
movsx eax, byte [rcx + rax]
add eax, 0x10
mov dword [rsp + 0x90], eax
jmp 0x7a70a5
mov eax, dword [rsp + 0x2c]
sar eax, 0x18
cdqe
lea rcx, [0x008c1e00]
movsx eax, byte [rcx + rax]
add eax, 0x18
mov dword [rsp + 0x90], eax
mov eax, dword [rsp + 0x90]
mov dword [rsp + 0x8c], eax
mov eax, dword [rsp + 0x8c]
mov dword [rsp + 0x88], eax
mov eax, dword [rsp + 0x88]
mov dword [rsp + 0x2c], eax
mov eax, dword [rsp + 0x2c]
and eax, 0xffffffe0
test eax, eax
je 0x7a70e1
mov eax, 0x80000000
jmp 0x7a7c9f
cmp dword [rsp + 0x28], 0
jne 0x7a728b
mov rax, qword [rsp + 0x120]
mov eax, dword [rax + 0x64]
cmp dword [rsp + 0x2c], eax
jle 0x7a71b2
mov rax, qword [rsp + 0x120]
mov rax, qword [rax + 0x40]
inc rax
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x120]
mov rcx, qword [rsp + 0x98]
mov qword [rax + 0x40], rcx
mov rax, qword [rsp + 0x120]
mov rax, qword [rax + 0x38]
cmp qword [rsp + 0x98], rax
jne 0x7a715c
mov rax, qword [rsp + 0x120]
add rax, 0x28
mov rcx, rax
mov rax, qword [rsp + 0x120]
call qword [rax + 0x28]
mov rax, qword [rsp + 0x120]
mov rax, qword [rax + 0x40]
movzx eax, byte [rax]
mov rcx, qword [rsp + 0x120]
mov ecx, dword [rcx + 0x64]
shl eax, cl
mov rcx, qword [rsp + 0x120]
mov ecx, dword [rcx + 0x50]
or ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x120]
mov dword [rcx + 0x50], eax
mov rax, qword [rsp + 0x120]
movsxd rax, dword [rax + 0x64]
add rax, 8
mov rcx, qword [rsp + 0x120]
mov dword [rcx + 0x64], eax
jmp 0x7a70ec
mov rax, qword [rsp + 0x120]
mov eax, dword [rax + 0x50]
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x120]
cmp dword [rax + 0x64], 0x20
jle 0x7a7220
mov rax, qword [rsp + 0x120]
mov ecx, dword [rsp + 0x2c]
mov eax, dword [rax + 0x64]
sub eax, ecx
mov rcx, qword [rsp + 0x120]
mov dword [rcx + 0x64], eax
mov rax, qword [rsp + 0x120]
mov rax, qword [rax + 0x40]
movzx eax, byte [rax]
mov rcx, qword [rsp + 0x120]
movsxd rcx, dword [rcx + 0x64]
mov edx, 8
sub rdx, rcx
mov rcx, rdx
sar eax, cl
mov rcx, qword [rsp + 0x120]
mov dword [rcx + 0x50], eax
jmp 0x7a726b
mov rax, qword [rsp + 0x120]
mov ecx, dword [rsp + 0x2c]
mov eax, dword [rax + 0x64]
sub eax, ecx
mov rcx, qword [rsp + 0x120]
mov dword [rcx + 0x64], eax
mov eax, dword [rsp + 0x2c]
mov rcx, qword [rsp + 0x120]
mov qword [rsp + 0xa0], rcx
movzx ecx, al
mov rax, qword [rsp + 0xa0]
mov eax, dword [rax + 0x50]
shr eax, cl
mov rcx, qword [rsp + 0x120]
mov dword [rcx + 0x50], eax
movsxd rax, dword [rsp + 0x2c]
lea rcx, [0x008c1d80]
mov eax, dword [rcx + rax*4]
mov ecx, dword [rsp + 0x20]
and ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
jmp 0x7a7ab3
movsxd rax, dword [rsp + 0x2c]
lea rcx, [0x008c1d00]
mov eax, dword [rcx + rax*4]
mov dword [rsp + 0x30], eax
movsxd rax, dword [rsp + 0x128]
movsxd rcx, dword [rsp + 0x128]
mov rdx, qword [rsp + 0x120]
mov ecx, dword [rdx + rcx*4 + 0xff0]
shr ecx, 4
mov rdx, qword [rsp + 0x120]
mov eax, dword [rdx + rax*4 + 0xff0]
lea eax, [rax + rcx + 0x20]
shr eax, 6
mov dword [rsp + 0x2c], eax
cmp dword [rsp + 0x2c], 0x100
jge 0x7a7300
movsxd rax, dword [rsp + 0x2c]
lea rcx, [0x008c1e00]
movsx eax, byte [rcx + rax]
mov dword [rsp + 0xa8], eax
jmp 0x7a738e
cmp dword [rsp + 0x2c], 0x10000
jge 0x7a732a
mov eax, dword [rsp + 0x2c]
sar eax, 8
cdqe
lea rcx, [0x008c1e00]
movsx eax, byte [rcx + rax]
add eax, 8
mov dword [rsp + 0xac], eax
jmp 0x7a7380
cmp dword [rsp + 0x2c], 0x1000000
jge 0x7a7354
mov eax, dword [rsp + 0x2c]
sar eax, 0x10
cdqe
lea rcx, [0x008c1e00]
movsx eax, byte [rcx + rax]
add eax, 0x10
mov dword [rsp + 0xb0], eax
jmp 0x7a7372
mov eax, dword [rsp + 0x2c]
sar eax, 0x18
cdqe
lea rcx, [0x008c1e00]
movsx eax, byte [rcx + rax]
add eax, 0x18
mov dword [rsp + 0xb0], eax
mov eax, dword [rsp + 0xb0]
mov dword [rsp + 0xac], eax
mov eax, dword [rsp + 0xac]
mov dword [rsp + 0xa8], eax
mov eax, dword [rsp + 0xa8]
mov dword [rsp + 0x2c], eax
mov eax, dword [rsp + 0x2c]
and eax, 0xffffffe0
test eax, eax
je 0x7a73ae
mov eax, 0x80000000
jmp 0x7a7c9f
cmp dword [rsp + 0x28], 1
jne 0x7a7558
mov rax, qword [rsp + 0x120]
mov eax, dword [rax + 0x64]
cmp dword [rsp + 0x2c], eax
jle 0x7a747f
mov rax, qword [rsp + 0x120]
mov rax, qword [rax + 0x40]
inc rax
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0x120]
mov rcx, qword [rsp + 0xb8]
mov qword [rax + 0x40], rcx
mov rax, qword [rsp + 0x120]
mov rax, qword [rax + 0x38]
cmp qword [rsp + 0xb8], rax
jne 0x7a7429
mov rax, qword [rsp + 0x120]
add rax, 0x28
mov rcx, rax
mov rax, qword [rsp + 0x120]
call qword [rax + 0x28]
mov rax, qword [rsp + 0x120]
mov rax, qword [rax + 0x40]
movzx eax, byte [rax]
mov rcx, qword [rsp + 0x120]
mov ecx, dword [rcx + 0x64]
shl eax, cl
mov rcx, qword [rsp + 0x120]
mov ecx, dword [rcx + 0x50]
or ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x120]
mov dword [rcx + 0x50], eax
mov rax, qword [rsp + 0x120]
movsxd rax, dword [rax + 0x64]
add rax, 8
mov rcx, qword [rsp + 0x120]
mov dword [rcx + 0x64], eax
jmp 0x7a73b9
mov rax, qword [rsp + 0x120]
mov eax, dword [rax + 0x50]
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x120]
cmp dword [rax + 0x64], 0x20
jle 0x7a74ed
mov rax, qword [rsp + 0x120]
mov ecx, dword [rsp + 0x2c]
mov eax, dword [rax + 0x64]
sub eax, ecx
mov rcx, qword [rsp + 0x120]
mov dword [rcx + 0x64], eax
mov rax, qword [rsp + 0x120]
mov rax, qword [rax + 0x40]
movzx eax, byte [rax]
mov rcx, qword [rsp + 0x120]
movsxd rcx, dword [rcx + 0x64]
mov edx, 8
sub rdx, rcx
mov rcx, rdx
sar eax, cl
mov rcx, qword [rsp + 0x120]
mov dword [rcx + 0x50], eax
jmp 0x7a7538
mov rax, qword [rsp + 0x120]
mov ecx, dword [rsp + 0x2c]
mov eax, dword [rax + 0x64]
sub eax, ecx
mov rcx, qword [rsp + 0x120]
mov dword [rcx + 0x64], eax
mov eax, dword [rsp + 0x2c]
mov rcx, qword [rsp + 0x120]
mov qword [rsp + 0xc0], rcx
movzx ecx, al
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax + 0x50]
shr eax, cl
mov rcx, qword [rsp + 0x120]
mov dword [rcx + 0x50], eax
movsxd rax, dword [rsp + 0x2c]
lea rcx, [0x008c1d80]
mov eax, dword [rcx + rax*4]
mov ecx, dword [rsp + 0x20]
and ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
jmp 0x7a7a24
movsxd rax, dword [rsp + 0x2c]
lea rcx, [0x008c1d00]
mov eax, dword [rcx + rax*4]
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x28], 0x18
jne 0x7a76e8
mov rax, qword [rsp + 0x120]
cmp dword [rax + 0x64], 0x18
jge 0x7a7639
mov rax, qword [rsp + 0x120]
mov rax, qword [rax + 0x40]
inc rax
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0x120]
mov rcx, qword [rsp + 0xc8]
mov qword [rax + 0x40], rcx
mov rax, qword [rsp + 0x120]
mov rax, qword [rax + 0x38]
cmp qword [rsp + 0xc8], rax
jne 0x7a75e3
mov rax, qword [rsp + 0x120]
add rax, 0x28
mov rcx, rax
mov rax, qword [rsp + 0x120]
call qword [rax + 0x28]
mov rax, qword [rsp + 0x120]
mov rax, qword [rax + 0x40]
movzx eax, byte [rax]
mov rcx, qword [rsp + 0x120]
mov ecx, dword [rcx + 0x64]
shl eax, cl
mov rcx, qword [rsp + 0x120]
mov ecx, dword [rcx + 0x50]
or ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x120]
mov dword [rcx + 0x50], eax
mov rax, qword [rsp + 0x120]
movsxd rax, dword [rax + 0x64]
add rax, 8
mov rcx, qword [rsp + 0x120]
mov dword [rcx + 0x64], eax
jmp 0x7a7576
mov rax, qword [rsp + 0x120]
mov eax, dword [rax + 0x50]
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x120]
cmp dword [rax + 0x64], 0x20
jle 0x7a76a4
mov rax, qword [rsp + 0x120]
mov eax, dword [rax + 0x64]
sub eax, 0x18
mov rcx, qword [rsp + 0x120]
mov dword [rcx + 0x64], eax
mov rax, qword [rsp + 0x120]
mov rax, qword [rax + 0x40]
movzx eax, byte [rax]
mov rcx, qword [rsp + 0x120]
movsxd rcx, dword [rcx + 0x64]
mov edx, 8
sub rdx, rcx
mov rcx, rdx
sar eax, cl
mov rcx, qword [rsp + 0x120]
mov dword [rcx + 0x50], eax
jmp 0x7a76d6
mov rax, qword [rsp + 0x120]
mov eax, dword [rax + 0x64]
sub eax, 0x18
mov rcx, qword [rsp + 0x120]
mov dword [rcx + 0x64], eax
mov rax, qword [rsp + 0x120]
mov eax, dword [rax + 0x50]
shr eax, 0x18
mov rcx, qword [rsp + 0x120]
mov dword [rcx + 0x50], eax
mov eax, dword [rsp + 0x20]
and eax, 0xffffff
mov dword [rsp + 0x20], eax
jmp 0x7a7995
movsxd rax, dword [rsp + 0x128]
mov rcx, qword [rsp + 0x120]
mov eax, dword [rcx + rax*4 + 0xff8]
add eax, 0x10
shr eax, 5
mov dword [rsp + 0x2c], eax
cmp dword [rsp + 0x2c], 0x100
jge 0x7a772f
movsxd rax, dword [rsp + 0x2c]
lea rcx, [0x008c1e00]
movsx eax, byte [rcx + rax]
mov dword [rsp + 0xd0], eax
jmp 0x7a77bd
cmp dword [rsp + 0x2c], 0x10000
jge 0x7a7759
mov eax, dword [rsp + 0x2c]
sar eax, 8
cdqe
lea rcx, [0x008c1e00]
movsx eax, byte [rcx + rax]
add eax, 8
mov dword [rsp + 0xd4], eax
jmp 0x7a77af
cmp dword [rsp + 0x2c], 0x1000000
jge 0x7a7783
mov eax, dword [rsp + 0x2c]
sar eax, 0x10
cdqe
lea rcx, [0x008c1e00]
movsx eax, byte [rcx + rax]
add eax, 0x10
mov dword [rsp + 0xd8], eax
jmp 0x7a77a1
mov eax, dword [rsp + 0x2c]
sar eax, 0x18
cdqe
lea rcx, [0x008c1e00]
movsx eax, byte [rcx + rax]
add eax, 0x18
mov dword [rsp + 0xd8], eax
mov eax, dword [rsp + 0xd8]
mov dword [rsp + 0xd4], eax
mov eax, dword [rsp + 0xd4]
mov dword [rsp + 0xd0], eax
mov eax, dword [rsp + 0xd0]
mov dword [rsp + 0x2c], eax
mov eax, dword [rsp + 0x2c]
and eax, 0xffffffe0
test eax, eax
je 0x7a77dd
mov eax, 0x80000000
jmp 0x7a7c9f
mov rax, qword [rsp + 0x120]
mov eax, dword [rax + 0x64]
cmp dword [rsp + 0x2c], eax
jle 0x7a78a3
mov rax, qword [rsp + 0x120]
mov rax, qword [rax + 0x40]
inc rax
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0x120]
mov rcx, qword [rsp + 0xe0]
mov qword [rax + 0x40], rcx
mov rax, qword [rsp + 0x120]
mov rax, qword [rax + 0x38]
cmp qword [rsp + 0xe0], rax
jne 0x7a784d
mov rax, qword [rsp + 0x120]
add rax, 0x28
mov rcx, rax
mov rax, qword [rsp + 0x120]
call qword [rax + 0x28]
mov rax, qword [rsp + 0x120]
mov rax, qword [rax + 0x40]
movzx eax, byte [rax]
mov rcx, qword [rsp + 0x120]
mov ecx, dword [rcx + 0x64]
shl eax, cl
mov rcx, qword [rsp + 0x120]
mov ecx, dword [rcx + 0x50]
or ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x120]
mov dword [rcx + 0x50], eax
mov rax, qword [rsp + 0x120]
movsxd rax, dword [rax + 0x64]
add rax, 8
mov rcx, qword [rsp + 0x120]
mov dword [rcx + 0x64], eax
jmp 0x7a77dd
mov rax, qword [rsp + 0x120]
mov eax, dword [rax + 0x50]
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x120]
cmp dword [rax + 0x64], 0x20
jle 0x7a7911
mov rax, qword [rsp + 0x120]
mov ecx, dword [rsp + 0x2c]
mov eax, dword [rax + 0x64]
sub eax, ecx
mov rcx, qword [rsp + 0x120]
mov dword [rcx + 0x64], eax
mov rax, qword [rsp + 0x120]
mov rax, qword [rax + 0x40]
movzx eax, byte [rax]
mov rcx, qword [rsp + 0x120]
movsxd rcx, dword [rcx + 0x64]
mov edx, 8
sub rdx, rcx
mov rcx, rdx
sar eax, cl
mov rcx, qword [rsp + 0x120]
mov dword [rcx + 0x50], eax
jmp 0x7a795c
mov rax, qword [rsp + 0x120]
mov ecx, dword [rsp + 0x2c]
mov eax, dword [rax + 0x64]
sub eax, ecx
mov rcx, qword [rsp + 0x120]
mov dword [rcx + 0x64], eax
mov eax, dword [rsp + 0x2c]
mov rcx, qword [rsp + 0x120]
mov qword [rsp + 0xe8], rcx
movzx ecx, al
mov rax, qword [rsp + 0xe8]
mov eax, dword [rax + 0x50]
shr eax, cl
mov rcx, qword [rsp + 0x120]
mov dword [rcx + 0x50], eax
movsxd rax, dword [rsp + 0x2c]
lea rcx, [0x008c1d80]
mov eax, dword [rcx + rax*4]
mov ecx, dword [rsp + 0x20]
and ecx, eax
mov eax, ecx
movsxd rcx, dword [rsp + 0x2c]
lea rdx, [0x008c1d00]
mov r8d, dword [rsp + 0x28]
sub r8d, 2
mov ecx, dword [rdx + rcx*4]
imul ecx, r8d
add eax, ecx
mov dword [rsp + 0x20], eax
movsxd rax, dword [rsp + 0x128]
movsxd rcx, dword [rsp + 0x128]
mov rdx, qword [rsp + 0x120]
mov ecx, dword [rdx + rcx*4 + 0xff8]
add ecx, 8
shr ecx, 4
mov rdx, qword [rsp + 0x120]
mov eax, dword [rdx + rax*4 + 0xff8]
sub eax, ecx
movsxd rcx, dword [rsp + 0x128]
mov rdx, qword [rsp + 0x120]
mov dword [rdx + rcx*4 + 0xff8], eax
movsxd rax, dword [rsp + 0x128]
mov rcx, qword [rsp + 0x120]
mov eax, dword [rcx + rax*4 + 0xff8]
add eax, dword [rsp + 0x20]
movsxd rcx, dword [rsp + 0x128]
mov rdx, qword [rsp + 0x120]
mov dword [rdx + rcx*4 + 0xff8], eax
mov eax, dword [rsp + 0x24]
mov ecx, dword [rsp + 0x20]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
movsxd rax, dword [rsp + 0x128]
movsxd rcx, dword [rsp + 0x128]
mov rdx, qword [rsp + 0x120]
mov ecx, dword [rdx + rcx*4 + 0xff0]
add ecx, 0x10
shr ecx, 5
mov rdx, qword [rsp + 0x120]
mov eax, dword [rdx + rax*4 + 0xff0]
sub eax, ecx
movsxd rcx, dword [rsp + 0x128]
mov rdx, qword [rsp + 0x120]
mov dword [rdx + rcx*4 + 0xff0], eax
movsxd rax, dword [rsp + 0x128]
mov rcx, qword [rsp + 0x120]
mov eax, dword [rcx + rax*4 + 0xff0]
add eax, dword [rsp + 0x20]
movsxd rcx, dword [rsp + 0x128]
mov rdx, qword [rsp + 0x120]
mov dword [rdx + rcx*4 + 0xff0], eax
mov eax, dword [rsp + 0x30]
mov ecx, dword [rsp + 0x20]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
movsxd rax, dword [rsp + 0x128]
movsxd rcx, dword [rsp + 0x128]
mov rdx, qword [rsp + 0x120]
mov ecx, dword [rdx + rcx*4 + 0xfe8]
add ecx, 0x20
shr ecx, 6
mov rdx, qword [rsp + 0x120]
mov eax, dword [rdx + rax*4 + 0xfe8]
sub eax, ecx
movsxd rcx, dword [rsp + 0x128]
mov rdx, qword [rsp + 0x120]
mov dword [rdx + rcx*4 + 0xfe8], eax
movsxd rax, dword [rsp + 0x128]
mov rcx, qword [rsp + 0x120]
mov eax, dword [rcx + rax*4 + 0xfe8]
add eax, dword [rsp + 0x20]
movsxd rcx, dword [rsp + 0x128]
mov rdx, qword [rsp + 0x120]
mov dword [rdx + rcx*4 + 0xfe8], eax
cmp dword [rsp + 0x20], 0
je 0x7a7c8d
mov rax, qword [rsp + 0x120]
cmp dword [rax + 0x64], 0
je 0x7a7b7d
mov rax, qword [rsp + 0x120]
mov eax, dword [rax + 0x64]
dec eax
mov rcx, qword [rsp + 0x120]
mov dword [rcx + 0x64], eax
mov rax, qword [rsp + 0x120]
mov eax, dword [rax + 0x50]
and eax, 1
mov dword [rsp + 0xf0], eax
jmp 0x7a7c22
mov rax, qword [rsp + 0x120]
mov rax, qword [rax + 0x40]
inc rax
mov qword [rsp + 0xf8], rax
mov rax, qword [rsp + 0x120]
mov rcx, qword [rsp + 0xf8]
mov qword [rax + 0x40], rcx
mov rax, qword [rsp + 0x120]
mov rax, qword [rax + 0x38]
cmp qword [rsp + 0xf8], rax
je 0x7a7bc0
jmp 0x7a7bda
mov rax, qword [rsp + 0x120]
add rax, 0x28
mov rcx, rax
mov rax, qword [rsp + 0x120]
call qword [rax + 0x28]
mov rax, qword [rsp + 0x120]
mov dword [rax + 0x64], 7
mov rax, qword [rsp + 0x120]
mov rax, qword [rax + 0x40]
movzx eax, byte [rax]
mov dword [rsp + 0x100], eax
mov rax, qword [rsp + 0x120]
mov ecx, dword [rsp + 0x100]
mov dword [rax + 0x50], ecx
mov eax, dword [rsp + 0x100]
and eax, 1
mov dword [rsp + 0xf0], eax
cmp dword [rsp + 0xf0], 0
je 0x7a7c51
mov rax, qword [rsp + 0x120]
mov eax, dword [rax + 0x50]
shr eax, 1
mov rcx, qword [rsp + 0x120]
mov dword [rcx + 0x50], eax
mov dword [rsp + 0x104], 1
jmp 0x7a7c74
mov rax, qword [rsp + 0x120]
mov eax, dword [rax + 0x50]
shr eax, 1
mov rcx, qword [rsp + 0x120]
mov dword [rcx + 0x50], eax
mov dword [rsp + 0x104], 0
cmp dword [rsp + 0x104], 0
je 0x7a7c8d
mov eax, dword [rsp + 0x20]
neg eax
mov dword [rsp + 0x108], eax
jmp 0x7a7c98
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x108], eax
mov eax, dword [rsp + 0x108]
add rsp, 0x118
ret