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

Disassembly:
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x128
movsxd rax, dword [rsp + 0x138]
imul rax, rax, 0x14
mov rcx, qword [rsp + 0x130]
lea rax, [rcx + rax + 0x44]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x140], 0
je 0x7ae5cc
mov rax, qword [rsp + 0x140]
mov dword [rax], 0
mov rax, qword [rsp + 0x130]
mov eax, dword [rax + 0x44]
and eax, 0xfffffffe
test eax, eax
jne 0x7aea63
mov rax, qword [rsp + 0x130]
cmp dword [rax + 0x3c], 0
jne 0x7aea63
mov rax, qword [rsp + 0x130]
cmp dword [rax + 0x34], 0
jne 0x7aea63
mov rax, qword [rsp + 0x130]
mov eax, dword [rax + 0x58]
and eax, 0xfffffffe
test eax, eax
jne 0x7aea63
mov rax, qword [rsp + 0x130]
cmp dword [rax + 0x38], 0
je 0x7ae681
mov rax, qword [rsp + 0x130]
mov eax, dword [rax + 0x38]
dec eax
mov dword [rsp + 0x58], eax
mov rax, qword [rsp + 0x130]
mov ecx, dword [rsp + 0x58]
mov dword [rax + 0x38], ecx
cmp dword [rsp + 0x58], 0
je 0x7ae67c
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0xc]
add eax, 0x80
shr eax, 8
mov rcx, qword [rsp + 0x40]
mov ecx, dword [rcx + 0xc]
sub ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x40]
mov dword [rcx + 0xc], eax
xor eax, eax
jmp 0x7af890
jmp 0x7aea63
mov dword [rsp + 0x4c], 0
jmp 0x7ae695
mov eax, dword [rsp + 0x4c]
inc eax
mov dword [rsp + 0x4c], eax
cmp dword [rsp + 0x4c], 0x21
jge 0x7ae7f2
mov rax, qword [rsp + 0x130]
cmp dword [rax + 0xf4], 0
je 0x7ae6e9
mov rax, qword [rsp + 0x130]
mov eax, dword [rax + 0xf4]
dec eax
mov rcx, qword [rsp + 0x130]
mov dword [rcx + 0xf4], eax
mov rax, qword [rsp + 0x130]
mov eax, dword [rax + 0xf8]
and eax, 1
mov dword [rsp + 0x5c], eax
jmp 0x7ae791
mov rax, qword [rsp + 0x130]
mov rax, qword [rax + 0xe0]
add rax, 2
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x130]
mov rcx, qword [rsp + 0x60]
mov qword [rax + 0xe0], rcx
mov rax, qword [rsp + 0x130]
mov rax, qword [rax + 0xd8]
cmp qword [rsp + 0x60], rax
je 0x7ae72d
jmp 0x7ae74c
mov rax, qword [rsp + 0x130]
add rax, 0xd0
mov rcx, rax
mov rax, qword [rsp + 0x130]
call qword [rax + 0xe8]
mov rax, qword [rsp + 0x130]
mov dword [rax + 0xf4], 0xf
mov rax, qword [rsp + 0x130]
mov rax, qword [rax + 0xe0]
movzx eax, word [rax]
mov dword [rsp + 0x68], eax
mov rax, qword [rsp + 0x130]
mov ecx, dword [rsp + 0x68]
mov dword [rax + 0xf8], ecx
mov eax, dword [rsp + 0x68]
and eax, 1
mov dword [rsp + 0x5c], eax
cmp dword [rsp + 0x5c], 0
je 0x7ae7c0
mov rax, qword [rsp + 0x130]
mov eax, dword [rax + 0xf8]
shr eax, 1
mov rcx, qword [rsp + 0x130]
mov dword [rcx + 0xf8], eax
mov dword [rsp + 0x6c], 1
jmp 0x7ae7e6
mov rax, qword [rsp + 0x130]
mov eax, dword [rax + 0xf8]
shr eax, 1
mov rcx, qword [rsp + 0x130]
mov dword [rcx + 0xf8], eax
mov dword [rsp + 0x6c], 0
cmp dword [rsp + 0x6c], 0
je 0x7ae7f2
jmp 0x7ae68b
cmp dword [rsp + 0x4c], 0x21
jne 0x7ae803
mov eax, 0x80000000
jmp 0x7af890
cmp dword [rsp + 0x4c], 2
jge 0x7ae81e
mov rax, qword [rsp + 0x130]
mov ecx, dword [rsp + 0x4c]
mov dword [rax + 0x38], ecx
jmp 0x7ae9f2
mov dword [rsp + 0x48], 1
mov rax, qword [rsp + 0x130]
mov dword [rax + 0x38], 0
jmp 0x7ae841
mov eax, dword [rsp + 0x48]
shl eax, 1
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x4c]
dec eax
mov dword [rsp + 0x4c], eax
cmp dword [rsp + 0x4c], 0
je 0x7ae9d6
mov rax, qword [rsp + 0x130]
cmp dword [rax + 0xf4], 0
je 0x7ae89f
mov rax, qword [rsp + 0x130]
mov eax, dword [rax + 0xf4]
dec eax
mov rcx, qword [rsp + 0x130]
mov dword [rcx + 0xf4], eax
mov rax, qword [rsp + 0x130]
mov eax, dword [rax + 0xf8]
and eax, 1
mov dword [rsp + 0x70], eax
jmp 0x7ae950
mov rax, qword [rsp + 0x130]
mov rax, qword [rax + 0xe0]
add rax, 2
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x130]
mov rcx, qword [rsp + 0x78]
mov qword [rax + 0xe0], rcx
mov rax, qword [rsp + 0x130]
mov rax, qword [rax + 0xd8]
cmp qword [rsp + 0x78], rax
je 0x7ae8e3
jmp 0x7ae902
mov rax, qword [rsp + 0x130]
add rax, 0xd0
mov rcx, rax
mov rax, qword [rsp + 0x130]
call qword [rax + 0xe8]
mov rax, qword [rsp + 0x130]
mov dword [rax + 0xf4], 0xf
mov rax, qword [rsp + 0x130]
mov rax, qword [rax + 0xe0]
movzx eax, word [rax]
mov dword [rsp + 0x80], eax
mov rax, qword [rsp + 0x130]
mov ecx, dword [rsp + 0x80]
mov dword [rax + 0xf8], ecx
mov eax, dword [rsp + 0x80]
and eax, 1
mov dword [rsp + 0x70], eax
cmp dword [rsp + 0x70], 0
je 0x7ae982
mov rax, qword [rsp + 0x130]
mov eax, dword [rax + 0xf8]
shr eax, 1
mov rcx, qword [rsp + 0x130]
mov dword [rcx + 0xf8], eax
mov dword [rsp + 0x84], 1
jmp 0x7ae9ab
mov rax, qword [rsp + 0x130]
mov eax, dword [rax + 0xf8]
shr eax, 1
mov rcx, qword [rsp + 0x130]
mov dword [rcx + 0xf8], eax
mov dword [rsp + 0x84], 0
cmp dword [rsp + 0x84], 0
je 0x7ae9d1
mov rax, qword [rsp + 0x130]
mov ecx, dword [rsp + 0x48]
mov eax, dword [rax + 0x38]
or eax, ecx
mov rcx, qword [rsp + 0x130]
mov dword [rcx + 0x38], eax
jmp 0x7ae837
mov rax, qword [rsp + 0x130]
mov ecx, dword [rsp + 0x48]
mov eax, dword [rax + 0x38]
or eax, ecx
mov rcx, qword [rsp + 0x130]
mov dword [rcx + 0x38], eax
mov rax, qword [rsp + 0x130]
cmp dword [rax + 0x38], 0
je 0x7aea63
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0xc]
add eax, 0x80
shr eax, 8
mov rcx, qword [rsp + 0x40]
mov ecx, dword [rcx + 0xc]
sub ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x40]
mov dword [rcx + 0xc], eax
mov rax, qword [rsp + 0x130]
add rax, 0x44
mov r8d, 0xc
xor edx, edx
mov rcx, rax
call fcn.00778460
mov rax, qword [rsp + 0x130]
add rax, 0x58
mov r8d, 0xc
xor edx, edx
mov rcx, rax
call fcn.00778460
xor eax, eax
jmp 0x7af890
mov rax, qword [rsp + 0x130]
cmp dword [rax + 0x3c], 0
je 0x7aea8d
mov rax, qword [rsp + 0x130]
mov dword [rax + 0x3c], 0
mov dword [rsp + 0x30], 0
jmp 0x7af205
mov rax, qword [rsp + 0x130]
cmp dword [rax + 0xf4], 8
jge 0x7aeb8d
mov rax, qword [rsp + 0x130]
mov rax, qword [rax + 0xe0]
add rax, 2
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x130]
mov rcx, qword [rsp + 0x88]
mov qword [rax + 0xe0], rcx
mov rax, qword [rsp + 0x130]
mov rax, qword [rax + 0xd8]
cmp qword [rsp + 0x88], rax
jne 0x7aeb0c
mov rax, qword [rsp + 0x130]
add rax, 0xd0
mov rcx, rax
mov rax, qword [rsp + 0x130]
call qword [rax + 0xe8]
mov rax, qword [rsp + 0x130]
mov rax, qword [rax + 0xe0]
movzx eax, word [rax]
mov rcx, qword [rsp + 0x130]
mov ecx, dword [rcx + 0xf4]
shl eax, cl
mov rcx, qword [rsp + 0x130]
mov ecx, dword [rcx + 0xf8]
or ecx, eax
mov dword [rsp + 0x90], ecx
mov rax, qword [rsp + 0x130]
mov ecx, dword [rsp + 0x90]
mov dword [rax + 0xf8], ecx
mov eax, dword [rsp + 0x90]
and eax, 0xff
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x130]
movsxd rax, dword [rax + 0xf4]
add rax, 0x10
mov rcx, qword [rsp + 0x130]
mov dword [rcx + 0xf4], eax
jmp 0x7aeba4
mov rax, qword [rsp + 0x130]
mov eax, dword [rax + 0xf8]
and eax, 0xff
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0xff
jne 0x7af12f
mov rax, qword [rsp + 0x130]
mov eax, dword [rax + 0xf4]
sub eax, 8
mov rcx, qword [rsp + 0x130]
mov dword [rcx + 0xf4], eax
mov rax, qword [rsp + 0x130]
mov eax, dword [rax + 0xf8]
shr eax, 8
mov rcx, qword [rsp + 0x130]
mov dword [rcx + 0xf8], eax
mov dword [rsp + 0x30], 8
jmp 0x7aec04
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0x11
jae 0x7aed85
mov rax, qword [rsp + 0x130]
cmp dword [rax + 0xf4], 0
je 0x7aec5b
mov rax, qword [rsp + 0x130]
mov eax, dword [rax + 0xf4]
dec eax
mov rcx, qword [rsp + 0x130]
mov dword [rcx + 0xf4], eax
mov rax, qword [rsp + 0x130]
mov eax, dword [rax + 0xf8]
and eax, 1
mov dword [rsp + 0x94], eax
jmp 0x7aed18
mov rax, qword [rsp + 0x130]
mov rax, qword [rax + 0xe0]
add rax, 2
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x130]
mov rcx, qword [rsp + 0x98]
mov qword [rax + 0xe0], rcx
mov rax, qword [rsp + 0x130]
mov rax, qword [rax + 0xd8]
cmp qword [rsp + 0x98], rax
je 0x7aeca8
jmp 0x7aecc7
mov rax, qword [rsp + 0x130]
add rax, 0xd0
mov rcx, rax
mov rax, qword [rsp + 0x130]
call qword [rax + 0xe8]
mov rax, qword [rsp + 0x130]
mov dword [rax + 0xf4], 0xf
mov rax, qword [rsp + 0x130]
mov rax, qword [rax + 0xe0]
movzx eax, word [rax]
mov dword [rsp + 0xa0], eax
mov rax, qword [rsp + 0x130]
mov ecx, dword [rsp + 0xa0]
mov dword [rax + 0xf8], ecx
mov eax, dword [rsp + 0xa0]
and eax, 1
mov dword [rsp + 0x94], eax
cmp dword [rsp + 0x94], 0
je 0x7aed4d
mov rax, qword [rsp + 0x130]
mov eax, dword [rax + 0xf8]
shr eax, 1
mov rcx, qword [rsp + 0x130]
mov dword [rcx + 0xf8], eax
mov dword [rsp + 0xa4], 1
jmp 0x7aed76
mov rax, qword [rsp + 0x130]
mov eax, dword [rax + 0xf8]
shr eax, 1
mov rcx, qword [rsp + 0x130]
mov dword [rcx + 0xf8], eax
mov dword [rsp + 0xa4], 0
cmp dword [rsp + 0xa4], 0
je 0x7aed85
jmp 0x7aebfa
cmp dword [rsp + 0x30], 0x11
jne 0x7aed96
mov eax, 0x80000000
jmp 0x7af890
cmp dword [rsp + 0x30], 0x10
jne 0x7af12d
mov dword [rsp + 0x54], 0
jmp 0x7aedb5
mov eax, dword [rsp + 0x54]
inc eax
mov dword [rsp + 0x54], eax
cmp dword [rsp + 0x54], 0x21
jge 0x7aef36
mov rax, qword [rsp + 0x130]
cmp dword [rax + 0xf4], 0
je 0x7aee0c
mov rax, qword [rsp + 0x130]
mov eax, dword [rax + 0xf4]
dec eax
mov rcx, qword [rsp + 0x130]
mov dword [rcx + 0xf4], eax
mov rax, qword [rsp + 0x130]
mov eax, dword [rax + 0xf8]
and eax, 1
mov dword [rsp + 0xa8], eax
jmp 0x7aeec9
mov rax, qword [rsp + 0x130]
mov rax, qword [rax + 0xe0]
add rax, 2
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0x130]
mov rcx, qword [rsp + 0xb0]
mov qword [rax + 0xe0], rcx
mov rax, qword [rsp + 0x130]
mov rax, qword [rax + 0xd8]
cmp qword [rsp + 0xb0], rax
je 0x7aee59
jmp 0x7aee78
mov rax, qword [rsp + 0x130]
add rax, 0xd0
mov rcx, rax
mov rax, qword [rsp + 0x130]
call qword [rax + 0xe8]
mov rax, qword [rsp + 0x130]
mov dword [rax + 0xf4], 0xf
mov rax, qword [rsp + 0x130]
mov rax, qword [rax + 0xe0]
movzx eax, word [rax]
mov dword [rsp + 0xb8], eax
mov rax, qword [rsp + 0x130]
mov ecx, dword [rsp + 0xb8]
mov dword [rax + 0xf8], ecx
mov eax, dword [rsp + 0xb8]
and eax, 1
mov dword [rsp + 0xa8], eax
cmp dword [rsp + 0xa8], 0
je 0x7aeefe
mov rax, qword [rsp + 0x130]
mov eax, dword [rax + 0xf8]
shr eax, 1
mov rcx, qword [rsp + 0x130]
mov dword [rcx + 0xf8], eax
mov dword [rsp + 0xbc], 1
jmp 0x7aef27
mov rax, qword [rsp + 0x130]
mov eax, dword [rax + 0xf8]
shr eax, 1
mov rcx, qword [rsp + 0x130]
mov dword [rcx + 0xf8], eax
mov dword [rsp + 0xbc], 0
cmp dword [rsp + 0xbc], 0
je 0x7aef36
jmp 0x7aedab
cmp dword [rsp + 0x54], 0x21
jne 0x7aef47
mov eax, 0x80000000
jmp 0x7af890
cmp dword [rsp + 0x54], 2
jge 0x7aef5b
mov eax, dword [rsp + 0x54]
mov dword [rsp + 0x30], eax
jmp 0x7af122
mov dword [rsp + 0x50], 1
mov dword [rsp + 0x30], 0
jmp 0x7aef77
mov eax, dword [rsp + 0x50]
shl eax, 1
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x54]
dec eax
mov dword [rsp + 0x54], eax
cmp dword [rsp + 0x54], 0
je 0x7af112
mov rax, qword [rsp + 0x130]
cmp dword [rax + 0xf4], 0
je 0x7aefd8
mov rax, qword [rsp + 0x130]
mov eax, dword [rax + 0xf4]
dec eax
mov rcx, qword [rsp + 0x130]
mov dword [rcx + 0xf4], eax
mov rax, qword [rsp + 0x130]
mov eax, dword [rax + 0xf8]
and eax, 1
mov dword [rsp + 0xc0], eax
jmp 0x7af095
mov rax, qword [rsp + 0x130]
mov rax, qword [rax + 0xe0]
add rax, 2
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0x130]
mov rcx, qword [rsp + 0xc8]
mov qword [rax + 0xe0], rcx
mov rax, qword [rsp + 0x130]
mov rax, qword [rax + 0xd8]
cmp qword [rsp + 0xc8], rax
je 0x7af025
jmp 0x7af044
mov rax, qword [rsp + 0x130]
add rax, 0xd0
mov rcx, rax
mov rax, qword [rsp + 0x130]
call qword [rax + 0xe8]
mov rax, qword [rsp + 0x130]
mov dword [rax + 0xf4], 0xf
mov rax, qword [rsp + 0x130]
mov rax, qword [rax + 0xe0]
movzx eax, word [rax]
mov dword [rsp + 0xd0], eax
mov rax, qword [rsp + 0x130]
mov ecx, dword [rsp + 0xd0]
mov dword [rax + 0xf8], ecx
mov eax, dword [rsp + 0xd0]
and eax, 1
mov dword [rsp + 0xc0], eax
cmp dword [rsp + 0xc0], 0
je 0x7af0ca
mov rax, qword [rsp + 0x130]
mov eax, dword [rax + 0xf8]
shr eax, 1
mov rcx, qword [rsp + 0x130]
mov dword [rcx + 0xf8], eax
mov dword [rsp + 0xd4], 1
jmp 0x7af0f3
mov rax, qword [rsp + 0x130]
mov eax, dword [rax + 0xf8]
shr eax, 1
mov rcx, qword [rsp + 0x130]
mov dword [rcx + 0xf8], eax
mov dword [rsp + 0xd4], 0
cmp dword [rsp + 0xd4], 0
je 0x7af10d
mov eax, dword [rsp + 0x50]
mov ecx, dword [rsp + 0x30]
or ecx, eax
mov eax, ecx
mov dword [rsp + 0x30], eax
jmp 0x7aef6d
mov eax, dword [rsp + 0x50]
mov ecx, dword [rsp + 0x30]
or ecx, eax
mov eax, ecx
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x30]
add eax, 0x10
mov dword [rsp + 0x30], eax
jmp 0x7af1a0
movsxd rax, dword [rsp + 0x20]
lea rcx, [0x008c2100]
movsx eax, byte [rcx + rax]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x30]
inc eax
mov rcx, qword [rsp + 0x130]
mov ecx, dword [rcx + 0xf4]
sub ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x130]
mov dword [rcx + 0xf4], eax
mov eax, dword [rsp + 0x30]
inc eax
mov rcx, qword [rsp + 0x130]
mov qword [rsp + 0xd8], rcx
movzx ecx, al
mov rax, qword [rsp + 0xd8]
mov eax, dword [rax + 0xf8]
shr eax, cl
mov rcx, qword [rsp + 0x130]
mov dword [rcx + 0xf8], eax
mov rax, qword [rsp + 0x130]
cmp dword [rax + 0x34], 0
je 0x7af1ce
mov eax, dword [rsp + 0x30]
and eax, 1
mov rcx, qword [rsp + 0x130]
mov dword [rcx + 0x34], eax
mov eax, dword [rsp + 0x30]
shr eax, 1
inc eax
mov dword [rsp + 0x30], eax
jmp 0x7af1ea
mov eax, dword [rsp + 0x30]
and eax, 1
mov rcx, qword [rsp + 0x130]
mov dword [rcx + 0x34], eax
mov eax, dword [rsp + 0x30]
shr eax, 1
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x130]
mov eax, dword [rax + 0x34]
not eax
and eax, 1
mov rcx, qword [rsp + 0x130]
mov dword [rcx + 0x3c], eax
mov rax, qword [rsp + 0x130]
mov eax, dword [rax + 0x18]
and eax, 8
test eax, eax
je 0x7af22e
cmp dword [rsp + 0x138], 0
jne 0x7af22e
mov rcx, qword [rsp + 0x130]
call fcn.007ac290
cmp dword [rsp + 0x30], 0
jne 0x7af277
mov dword [rsp + 0x38], 0
mov rax, qword [rsp + 0x40]
mov eax, dword [rax]
shr eax, 4
mov dword [rsp + 0x2c], eax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax]
add eax, 0x7e
xor edx, edx
mov ecx, 0x80
div ecx
shl eax, 1
mov rcx, qword [rsp + 0x40]
mov ecx, dword [rcx]
sub ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x40]
mov dword [rcx], eax
jmp 0x7af3e3
mov rax, qword [rsp + 0x40]
mov eax, dword [rax]
shr eax, 4
inc eax
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax]
add eax, 0x80
xor edx, edx
mov ecx, 0x80
div ecx
imul eax, eax, 5
mov rcx, qword [rsp + 0x40]
add eax, dword [rcx]
mov rcx, qword [rsp + 0x40]
mov dword [rcx], eax
cmp dword [rsp + 0x30], 1
jne 0x7af2fa
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 4]
shr eax, 4
mov ecx, dword [rsp + 0x38]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x2c], eax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 4]
add eax, 0x3e
xor edx, edx
mov ecx, 0x40
div ecx
shl eax, 1
mov rcx, qword [rsp + 0x40]
mov ecx, dword [rcx + 4]
sub ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x40]
mov dword [rcx + 4], eax
jmp 0x7af3e3
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 4]
shr eax, 4
mov ecx, dword [rsp + 0x38]
lea eax, [rcx + rax + 1]
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 4]
add eax, 0x40
xor edx, edx
mov ecx, 0x40
div ecx
imul eax, eax, 5
mov rcx, qword [rsp + 0x40]
add eax, dword [rcx + 4]
mov rcx, qword [rsp + 0x40]
mov dword [rcx + 4], eax
cmp dword [rsp + 0x30], 2
jne 0x7af382
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 8]
shr eax, 4
mov ecx, dword [rsp + 0x38]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x2c], eax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 8]
add eax, 0x1e
xor edx, edx
mov ecx, 0x20
div ecx
shl eax, 1
mov rcx, qword [rsp + 0x40]
mov ecx, dword [rcx + 8]
sub ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x40]
mov dword [rcx + 8], eax
jmp 0x7af3e3
mov eax, dword [rsp + 0x30]
sub eax, 2
mov rcx, qword [rsp + 0x40]
mov ecx, dword [rcx + 8]
shr ecx, 4
inc ecx
imul eax, ecx
mov ecx, dword [rsp + 0x38]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 8]
shr eax, 4
mov ecx, dword [rsp + 0x38]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x2c], eax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 8]
add eax, 0x20
xor edx, edx
mov ecx, 0x20
div ecx
imul eax, eax, 5
mov rcx, qword [rsp + 0x40]
add eax, dword [rcx + 8]
mov rcx, qword [rsp + 0x40]
mov dword [rcx + 8], eax
mov eax, dword [rsp + 0x38]
btr eax, 0x1f
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x2c]
btr eax, 0x1f
mov dword [rsp + 0x2c], eax
mov eax, dword [rsp + 0x2c]
mov ecx, dword [rsp + 0x38]
lea eax, [rax + rcx + 1]
shr eax, 1
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x40]
cmp dword [rax + 0x10], 0
jne 0x7af447
mov eax, dword [rsp + 0x38]
mov ecx, dword [rsp + 0x2c]
sub ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x130]
add rcx, 0xd0
mov edx, eax
call fcn.007b0660
add eax, dword [rsp + 0x38]
mov dword [rsp + 0x24], eax
jmp 0x7af60f
mov eax, dword [rsp + 0x38]
mov ecx, dword [rsp + 0x2c]
sub ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x40]
cmp eax, dword [rcx + 0x10]
jbe 0x7af60f
mov rax, qword [rsp + 0x130]
cmp dword [rax + 0xf4], 0
je 0x7af4ad
mov rax, qword [rsp + 0x130]
mov eax, dword [rax + 0xf4]
dec eax
mov rcx, qword [rsp + 0x130]
mov dword [rcx + 0xf4], eax
mov rax, qword [rsp + 0x130]
mov eax, dword [rax + 0xf8]
and eax, 1
mov dword [rsp + 0xe0], eax
jmp 0x7af56a
mov rax, qword [rsp + 0x130]
mov rax, qword [rax + 0xe0]
add rax, 2
mov qword [rsp + 0xe8], rax
mov rax, qword [rsp + 0x130]
mov rcx, qword [rsp + 0xe8]
mov qword [rax + 0xe0], rcx
mov rax, qword [rsp + 0x130]
mov rax, qword [rax + 0xd8]
cmp qword [rsp + 0xe8], rax
je 0x7af4fa
jmp 0x7af519
mov rax, qword [rsp + 0x130]
add rax, 0xd0
mov rcx, rax
mov rax, qword [rsp + 0x130]
call qword [rax + 0xe8]
mov rax, qword [rsp + 0x130]
mov dword [rax + 0xf4], 0xf
mov rax, qword [rsp + 0x130]
mov rax, qword [rax + 0xe0]
movzx eax, word [rax]
mov dword [rsp + 0xf0], eax
mov rax, qword [rsp + 0x130]
mov ecx, dword [rsp + 0xf0]
mov dword [rax + 0xf8], ecx
mov eax, dword [rsp + 0xf0]
and eax, 1
mov dword [rsp + 0xe0], eax
cmp dword [rsp + 0xe0], 0
je 0x7af59f
mov rax, qword [rsp + 0x130]
mov eax, dword [rax + 0xf8]
shr eax, 1
mov rcx, qword [rsp + 0x130]
mov dword [rcx + 0xf8], eax
mov dword [rsp + 0xf4], 1
jmp 0x7af5c8
mov rax, qword [rsp + 0x130]
mov eax, dword [rax + 0xf8]
shr eax, 1
mov rcx, qword [rsp + 0x130]
mov dword [rcx + 0xf8], eax
mov dword [rsp + 0xf4], 0
cmp dword [rsp + 0xf4], 0
je 0x7af5ee
mov eax, dword [rsp + 0x24]
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x2c]
mov ecx, dword [rsp + 0x38]
lea eax, [rax + rcx + 1]
shr eax, 1
mov dword [rsp + 0x24], eax
jmp 0x7af60a
mov eax, dword [rsp + 0x24]
dec eax
mov dword [rsp + 0x2c], eax
mov eax, dword [rsp + 0x2c]
mov ecx, dword [rsp + 0x38]
lea eax, [rax + rcx + 1]
shr eax, 1
mov dword [rsp + 0x24], eax
jmp 0x7af447
mov rax, qword [rsp + 0x130]
cmp dword [rax + 0xf4], 0
je 0x7af65b
mov rax, qword [rsp + 0x130]
mov eax, dword [rax + 0xf4]
dec eax
mov rcx, qword [rsp + 0x130]
mov dword [rcx + 0xf4], eax
mov rax, qword [rsp + 0x130]
mov eax, dword [rax + 0xf8]
and eax, 1
mov dword [rsp + 0xf8], eax
jmp 0x7af718
mov rax, qword [rsp + 0x130]
mov rax, qword [rax + 0xe0]
add rax, 2
mov qword [rsp + 0x100], rax
mov rax, qword [rsp + 0x130]
mov rcx, qword [rsp + 0x100]
mov qword [rax + 0xe0], rcx
mov rax, qword [rsp + 0x130]
mov rax, qword [rax + 0xd8]
cmp qword [rsp + 0x100], rax
je 0x7af6a8
jmp 0x7af6c7
mov rax, qword [rsp + 0x130]
add rax, 0xd0
mov rcx, rax
mov rax, qword [rsp + 0x130]
call qword [rax + 0xe8]
mov rax, qword [rsp + 0x130]
mov dword [rax + 0xf4], 0xf
mov rax, qword [rsp + 0x130]
mov rax, qword [rax + 0xe0]
movzx eax, word [rax]
mov dword [rsp + 0x108], eax
mov rax, qword [rsp + 0x130]
mov ecx, dword [rsp + 0x108]
mov dword [rax + 0xf8], ecx
mov eax, dword [rsp + 0x108]
and eax, 1
mov dword [rsp + 0xf8], eax
cmp dword [rsp + 0xf8], 0
je 0x7af74d
mov rax, qword [rsp + 0x130]
mov eax, dword [rax + 0xf8]
shr eax, 1
mov rcx, qword [rsp + 0x130]
mov dword [rcx + 0xf8], eax
mov dword [rsp + 0x10c], 1
jmp 0x7af776
mov rax, qword [rsp + 0x130]
mov eax, dword [rax + 0xf8]
shr eax, 1
mov rcx, qword [rsp + 0x130]
mov dword [rcx + 0xf8], eax
mov dword [rsp + 0x10c], 0
mov eax, dword [rsp + 0x10c]
mov dword [rsp + 0x34], eax
mov rax, qword [rsp + 0x130]
cmp qword [rax + 0x110], 0
je 0x7af817
mov rax, qword [rsp + 0x40]
cmp dword [rax + 0x10], 0
je 0x7af817
mov eax, dword [rsp + 0x38]
mov ecx, dword [rsp + 0x2c]
sub ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x130]
add rcx, 0x100
mov edx, eax
call fcn.007b0660
add eax, dword [rsp + 0x38]
mov dword [rsp + 0x28], eax
cmp qword [rsp + 0x140], 0
je 0x7af817
cmp dword [rsp + 0x34], 0
je 0x7af7f3
mov eax, dword [rsp + 0x28]
mov ecx, dword [rsp + 0x24]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x110], eax
jmp 0x7af806
mov eax, dword [rsp + 0x24]
mov ecx, dword [rsp + 0x28]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x110], eax
mov rax, qword [rsp + 0x140]
mov ecx, dword [rsp + 0x110]
mov dword [rax], ecx
mov rax, qword [rsp + 0x130]
mov eax, dword [rax + 0x18]
and eax, 0x200
test eax, eax
je 0x7af868
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0xc]
add eax, 0x80
shr eax, 8
mov rcx, qword [rsp + 0x40]
mov ecx, dword [rcx + 0xc]
sub ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x40]
mov dword [rcx + 0xc], eax
mov ecx, dword [rsp + 0x24]
call fcn.007b09c0
mov rcx, qword [rsp + 0x40]
add eax, dword [rcx + 0xc]
mov rcx, qword [rsp + 0x40]
mov dword [rcx + 0xc], eax
cmp dword [rsp + 0x34], 0
je 0x7af87e
mov eax, dword [rsp + 0x24]
not eax
mov dword [rsp + 0x114], eax
jmp 0x7af889
mov eax, dword [rsp + 0x24]
mov dword [rsp + 0x114], eax
mov eax, dword [rsp + 0x114]
add rsp, 0x128
ret