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

Disassembly:
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbx
sub rsp, 0xb0
mov dword [rsp + 0x34], 0
jmp 0x18009facb
mov eax, dword [rsp + 0x34]
add eax, 1
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0x19
jae 0x18009fbf3
mov rax, qword [rsp + 0xc0]
cmp dword [rax + 0x64], 0
je 0x18009fb14
mov rax, qword [rsp + 0xc0]
mov ecx, dword [rax + 0x64]
sub ecx, 1
mov rax, qword [rsp + 0xc0]
mov dword [rax + 0x64], ecx
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax + 0x50]
and eax, 1
mov dword [rsp + 0x60], eax
jmp 0x18009fb9e
mov rcx, qword [rsp + 0xc0]
mov rcx, qword [rcx + 0x40]
add rcx, 1
mov rax, qword [rsp + 0xc0]
mov qword [rax + 0x40], rcx
mov rcx, qword [rsp + 0xc0]
mov rax, qword [rsp + 0xc0]
mov rax, qword [rax + 0x38]
cmp qword [rcx + 0x40], rax
je 0x18009fb4c
jmp 0x18009fb63
mov rcx, qword [rsp + 0xc0]
add rcx, 0x28
mov rax, qword [rsp + 0xc0]
call qword [rax + 0x28]
mov rax, qword [rsp + 0xc0]
mov dword [rax + 0x64], 7
mov rax, qword [rsp + 0xc0]
mov rax, qword [rax + 0x40]
movzx ecx, byte [rax]
mov rax, qword [rsp + 0xc0]
mov dword [rax + 0x50], ecx
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax + 0x50]
and eax, 1
mov dword [rsp + 0x60], eax
cmp dword [rsp + 0x60], 0
je 0x18009fbc7
mov rax, qword [rsp + 0xc0]
mov ecx, dword [rax + 0x50]
shr ecx, 1
mov rax, qword [rsp + 0xc0]
mov dword [rax + 0x50], ecx
mov dword [rsp + 0x64], 1
jmp 0x18009fbe7
mov rax, qword [rsp + 0xc0]
mov ecx, dword [rax + 0x50]
shr ecx, 1
mov rax, qword [rsp + 0xc0]
mov dword [rax + 0x50], ecx
mov dword [rsp + 0x64], 0
cmp dword [rsp + 0x64], 0
je 0x18009fbf3
jmp 0x18009fac0
cmp dword [rsp + 0x34], 0x19
jne 0x18009fc04
mov eax, 0x80000000
jmp 0x1800a0c4c
cmp dword [rsp + 0x34], 0x18
jne 0x18009fee7
mov dword [rsp + 0x44], 0
jmp 0x18009fc24
mov eax, dword [rsp + 0x44]
add eax, 1
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0x21
jge 0x18009fd4c
mov rax, qword [rsp + 0xc0]
cmp dword [rax + 0x64], 0
je 0x18009fc6d
mov rax, qword [rsp + 0xc0]
mov ecx, dword [rax + 0x64]
sub ecx, 1
mov rax, qword [rsp + 0xc0]
mov dword [rax + 0x64], ecx
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax + 0x50]
and eax, 1
mov dword [rsp + 0x68], eax
jmp 0x18009fcf7
mov rcx, qword [rsp + 0xc0]
mov rcx, qword [rcx + 0x40]
add rcx, 1
mov rax, qword [rsp + 0xc0]
mov qword [rax + 0x40], rcx
mov rcx, qword [rsp + 0xc0]
mov rax, qword [rsp + 0xc0]
mov rax, qword [rax + 0x38]
cmp qword [rcx + 0x40], rax
je 0x18009fca5
jmp 0x18009fcbc
mov rcx, qword [rsp + 0xc0]
add rcx, 0x28
mov rax, qword [rsp + 0xc0]
call qword [rax + 0x28]
mov rax, qword [rsp + 0xc0]
mov dword [rax + 0x64], 7
mov rax, qword [rsp + 0xc0]
mov rax, qword [rax + 0x40]
movzx ecx, byte [rax]
mov rax, qword [rsp + 0xc0]
mov dword [rax + 0x50], ecx
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax + 0x50]
and eax, 1
mov dword [rsp + 0x68], eax
cmp dword [rsp + 0x68], 0
je 0x18009fd20
mov rax, qword [rsp + 0xc0]
mov ecx, dword [rax + 0x50]
shr ecx, 1
mov rax, qword [rsp + 0xc0]
mov dword [rax + 0x50], ecx
mov dword [rsp + 0x6c], 1
jmp 0x18009fd40
mov rax, qword [rsp + 0xc0]
mov ecx, dword [rax + 0x50]
shr ecx, 1
mov rax, qword [rsp + 0xc0]
mov dword [rax + 0x50], ecx
mov dword [rsp + 0x6c], 0
cmp dword [rsp + 0x6c], 0
je 0x18009fd4c
jmp 0x18009fc19
cmp dword [rsp + 0x44], 0x21
jne 0x18009fd5d
mov eax, 0x80000000
jmp 0x1800a0c4c
cmp dword [rsp + 0x44], 2
jge 0x18009fd71
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x34], eax
jmp 0x18009fedc
mov dword [rsp + 0x40], 1
mov dword [rsp + 0x34], 0
jmp 0x18009fd8d
mov eax, dword [rsp + 0x40]
shl eax, 1
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x44]
sub eax, 1
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
je 0x18009fece
mov rax, qword [rsp + 0xc0]
cmp dword [rax + 0x64], 0
je 0x18009fde1
mov rax, qword [rsp + 0xc0]
mov ecx, dword [rax + 0x64]
sub ecx, 1
mov rax, qword [rsp + 0xc0]
mov dword [rax + 0x64], ecx
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax + 0x50]
and eax, 1
mov dword [rsp + 0x70], eax
jmp 0x18009fe6b
mov rcx, qword [rsp + 0xc0]
mov rcx, qword [rcx + 0x40]
add rcx, 1
mov rax, qword [rsp + 0xc0]
mov qword [rax + 0x40], rcx
mov rcx, qword [rsp + 0xc0]
mov rax, qword [rsp + 0xc0]
mov rax, qword [rax + 0x38]
cmp qword [rcx + 0x40], rax
je 0x18009fe19
jmp 0x18009fe30
mov rcx, qword [rsp + 0xc0]
add rcx, 0x28
mov rax, qword [rsp + 0xc0]
call qword [rax + 0x28]
mov rax, qword [rsp + 0xc0]
mov dword [rax + 0x64], 7
mov rax, qword [rsp + 0xc0]
mov rax, qword [rax + 0x40]
movzx ecx, byte [rax]
mov rax, qword [rsp + 0xc0]
mov dword [rax + 0x50], ecx
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax + 0x50]
and eax, 1
mov dword [rsp + 0x70], eax
cmp dword [rsp + 0x70], 0
je 0x18009fe94
mov rax, qword [rsp + 0xc0]
mov ecx, dword [rax + 0x50]
shr ecx, 1
mov rax, qword [rsp + 0xc0]
mov dword [rax + 0x50], ecx
mov dword [rsp + 0x74], 1
jmp 0x18009feb4
mov rax, qword [rsp + 0xc0]
mov ecx, dword [rax + 0x50]
shr ecx, 1
mov rax, qword [rsp + 0xc0]
mov dword [rax + 0x50], ecx
mov dword [rsp + 0x74], 0
cmp dword [rsp + 0x74], 0
je 0x18009fec9
mov ecx, dword [rsp + 0x40]
mov eax, dword [rsp + 0x34]
or eax, ecx
mov dword [rsp + 0x34], eax
jmp 0x18009fd83
mov ecx, dword [rsp + 0x40]
mov eax, dword [rsp + 0x34]
or eax, ecx
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x34]
add eax, 0x18
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0xc8], 0
jne 0x1800a0189
mov rax, qword [rsp + 0xc0]
movsx eax, word [rax + 0xc]
and eax, 1
test eax, eax
je 0x18009ff95
mov rax, qword [rsp + 0xc0]
mov ecx, dword [rax + 0x1020]
call fcn.1800a0c60
mov r11d, eax
mov rax, qword [rsp + 0xc0]
mov ebx, dword [rax + 0x1038]
add ebx, r11d
mov rax, qword [rsp + 0xc0]
mov ecx, dword [rax + 0x1028]
call fcn.1800a0c60
mov ecx, ebx
sub ecx, eax
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax + 0x1030]
lea ecx, [rcx + rax + 0x300]
mov rax, qword [rsp + 0xc0]
mov dword [rax + 0x1030], ecx
mov rax, qword [rsp + 0xc0]
cmp dword [rax + 0x1030], 0
jge 0x18009ff90
mov rax, qword [rsp + 0xc0]
mov dword [rax + 0x1030], 0
jmp 0x1800a0189
mov rax, qword [rsp + 0xc0]
mov ecx, dword [rax + 0x1028]
call fcn.1800a0c60
mov dword [rsp + 0x48], eax
mov rax, qword [rsp + 0xc0]
mov ecx, dword [rax + 0x102c]
call fcn.1800a0c60
mov dword [rsp + 0x50], eax
mov rax, qword [rsp + 0xc0]
movsx eax, word [rax + 0xc]
and eax, 0x4000
test eax, eax
je 0x18009ffef
mov ecx, dword [rsp + 0x48]
mov eax, dword [rsp + 0x50]
sub eax, ecx
add eax, 0x101
sar eax, 1
mov dword [rsp + 0x4c], eax
jmp 0x1800a0002
mov ecx, dword [rsp + 0x48]
mov eax, dword [rsp + 0x50]
sub eax, ecx
add eax, 1
sar eax, 1
mov dword [rsp + 0x4c], eax
mov rcx, qword [rsp + 0xc0]
mov eax, dword [rsp + 0x4c]
mov ebx, dword [rcx + 0x1038]
sub ebx, eax
mov rax, qword [rsp + 0xc0]
mov ecx, dword [rax + 0x1020]
call fcn.1800a0c60
mov ecx, ebx
add ecx, eax
sub ecx, dword [rsp + 0x48]
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax + 0x1030]
lea ecx, [rcx + rax + 0x300]
mov rax, qword [rsp + 0xc0]
mov dword [rax + 0x1030], ecx
mov rax, qword [rsp + 0xc0]
mov ebx, dword [rax + 0x1038]
add ebx, dword [rsp + 0x4c]
mov rax, qword [rsp + 0xc0]
mov ecx, dword [rax + 0x1024]
call fcn.1800a0c60
mov ecx, ebx
add ecx, eax
sub ecx, dword [rsp + 0x50]
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax + 0x1034]
lea ecx, [rcx + rax + 0x300]
mov rax, qword [rsp + 0xc0]
mov dword [rax + 0x1034], ecx
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax + 0x1030]
mov rcx, qword [rsp + 0xc0]
add eax, dword [rcx + 0x1034]
test eax, eax
jge 0x1800a00ed
mov rax, qword [rsp + 0xc0]
mov dword [rax + 0x1034], 0
mov rax, qword [rsp + 0xc0]
mov dword [rax + 0x1030], 0
jmp 0x1800a0189
mov rax, qword [rsp + 0xc0]
cmp dword [rax + 0x1030], 0
jge 0x1800a013c
mov rax, qword [rsp + 0xc0]
mov ecx, dword [rax + 0x1034]
mov rax, qword [rsp + 0xc0]
add ecx, dword [rax + 0x1030]
mov rax, qword [rsp + 0xc0]
mov dword [rax + 0x1034], ecx
mov rax, qword [rsp + 0xc0]
mov dword [rax + 0x1030], 0
jmp 0x1800a0189
mov rax, qword [rsp + 0xc0]
cmp dword [rax + 0x1034], 0
jge 0x1800a0189
mov rax, qword [rsp + 0xc0]
mov ecx, dword [rax + 0x1030]
mov rax, qword [rsp + 0xc0]
add ecx, dword [rax + 0x1034]
mov rax, qword [rsp + 0xc0]
mov dword [rax + 0x1030], ecx
mov rax, qword [rsp + 0xc0]
mov dword [rax + 0x1034], 0
movsxd rcx, dword [rsp + 0xc8]
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax + rcx*4 + 0x1020]
add eax, 0x30
xor edx, edx
mov ecx, 0x60
div ecx
mov dword [rsp + 0x2c], eax
movsxd rcx, dword [rsp + 0xc8]
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax + rcx*4 + 0x1030]
sar eax, 8
mov dword [rsp + 0x38], eax
movsxd rcx, dword [rsp + 0xc8]
mov rax, qword [rsp + 0xc0]
mov edx, dword [rax + rcx*4 + 0x1030]
and edx, 0xff
movsxd rcx, dword [rsp + 0xc8]
mov rax, qword [rsp + 0xc0]
mov dword [rax + rcx*4 + 0x1030], edx
cmp dword [rsp + 0x2c], 0
jne 0x1800a0384
cmp dword [rsp + 0x34], 0
je 0x1800a0367
mov rax, qword [rsp + 0xc0]
cmp dword [rax + 0x64], 0
je 0x1800a0256
mov rax, qword [rsp + 0xc0]
mov ecx, dword [rax + 0x64]
sub ecx, 1
mov rax, qword [rsp + 0xc0]
mov dword [rax + 0x64], ecx
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax + 0x50]
and eax, 1
mov dword [rsp + 0x78], eax
jmp 0x1800a02e0
mov rcx, qword [rsp + 0xc0]
mov rcx, qword [rcx + 0x40]
add rcx, 1
mov rax, qword [rsp + 0xc0]
mov qword [rax + 0x40], rcx
mov rcx, qword [rsp + 0xc0]
mov rax, qword [rsp + 0xc0]
mov rax, qword [rax + 0x38]
cmp qword [rcx + 0x40], rax
je 0x1800a028e
jmp 0x1800a02a5
mov rcx, qword [rsp + 0xc0]
add rcx, 0x28
mov rax, qword [rsp + 0xc0]
call qword [rax + 0x28]
mov rax, qword [rsp + 0xc0]
mov dword [rax + 0x64], 7
mov rax, qword [rsp + 0xc0]
mov rax, qword [rax + 0x40]
movzx ecx, byte [rax]
mov rax, qword [rsp + 0xc0]
mov dword [rax + 0x50], ecx
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax + 0x50]
and eax, 1
mov dword [rsp + 0x78], eax
cmp dword [rsp + 0x78], 0
je 0x1800a0309
mov rax, qword [rsp + 0xc0]
mov ecx, dword [rax + 0x50]
shr ecx, 1
mov rax, qword [rsp + 0xc0]
mov dword [rax + 0x50], ecx
mov dword [rsp + 0x7c], 1
jmp 0x1800a0329
mov rax, qword [rsp + 0xc0]
mov ecx, dword [rax + 0x50]
shr ecx, 1
mov rax, qword [rsp + 0xc0]
mov dword [rax + 0x50], ecx
mov dword [rsp + 0x7c], 0
cmp dword [rsp + 0x7c], 0
je 0x1800a033f
mov eax, dword [rsp + 0x34]
neg eax
mov dword [rsp + 0x80], eax
jmp 0x1800a034a
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x80], eax
mov eax, dword [rsp + 0x80]
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x3c]
mov dword [rsp + 0x24], eax
jmp 0x1800a037f
mov dword [rsp + 0x20], 0
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x3c]
mov dword [rsp + 0x24], eax
jmp 0x1800a0672
mov eax, dword [rsp + 0x34]
lea eax, [rax + rax + 1]
imul eax, dword [rsp + 0x2c]
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0xc0]
cmp dword [rax + 0x64], 0
je 0x1800a03d6
mov rax, qword [rsp + 0xc0]
mov ecx, dword [rax + 0x64]
sub ecx, 1
mov rax, qword [rsp + 0xc0]
mov dword [rax + 0x64], ecx
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax + 0x50]
and eax, 1
mov dword [rsp + 0x84], eax
jmp 0x1800a0463
mov rcx, qword [rsp + 0xc0]
mov rcx, qword [rcx + 0x40]
add rcx, 1
mov rax, qword [rsp + 0xc0]
mov qword [rax + 0x40], rcx
mov rcx, qword [rsp + 0xc0]
mov rax, qword [rsp + 0xc0]
mov rax, qword [rax + 0x38]
cmp qword [rcx + 0x40], rax
je 0x1800a040e
jmp 0x1800a0425
mov rcx, qword [rsp + 0xc0]
add rcx, 0x28
mov rax, qword [rsp + 0xc0]
call qword [rax + 0x28]
mov rax, qword [rsp + 0xc0]
mov dword [rax + 0x64], 7
mov rax, qword [rsp + 0xc0]
mov rax, qword [rax + 0x40]
movzx ecx, byte [rax]
mov rax, qword [rsp + 0xc0]
mov dword [rax + 0x50], ecx
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax + 0x50]
and eax, 1
mov dword [rsp + 0x84], eax
cmp dword [rsp + 0x84], 0
je 0x1800a0492
mov rax, qword [rsp + 0xc0]
mov ecx, dword [rax + 0x50]
shr ecx, 1
mov rax, qword [rsp + 0xc0]
mov dword [rax + 0x50], ecx
mov dword [rsp + 0x88], 1
jmp 0x1800a04b5
mov rax, qword [rsp + 0xc0]
mov ecx, dword [rax + 0x50]
shr ecx, 1
mov rax, qword [rsp + 0xc0]
mov dword [rax + 0x50], ecx
mov dword [rsp + 0x88], 0
cmp dword [rsp + 0x88], 0
je 0x1800a04c9
mov eax, dword [rsp + 0x20]
neg eax
mov dword [rsp + 0x20], eax
mov ecx, dword [rsp + 0x2c]
mov eax, dword [rsp + 0x20]
sub eax, ecx
mov dword [rsp + 0x3c], eax
mov ecx, dword [rsp + 0x20]
mov eax, dword [rsp + 0x2c]
lea eax, [rcx + rax - 1]
mov dword [rsp + 0x24], eax
mov ecx, dword [rsp + 0x38]
mov eax, dword [rsp + 0x38]
sub eax, 1
mov dword [rsp + 0x38], eax
test ecx, ecx
je 0x1800a0672
mov rax, qword [rsp + 0xc0]
cmp dword [rax + 0x64], 0
je 0x1800a053f
mov rax, qword [rsp + 0xc0]
mov ecx, dword [rax + 0x64]
sub ecx, 1
mov rax, qword [rsp + 0xc0]
mov dword [rax + 0x64], ecx
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax + 0x50]
and eax, 1
mov dword [rsp + 0x8c], eax
jmp 0x1800a05cc
mov rcx, qword [rsp + 0xc0]
mov rcx, qword [rcx + 0x40]
add rcx, 1
mov rax, qword [rsp + 0xc0]
mov qword [rax + 0x40], rcx
mov rcx, qword [rsp + 0xc0]
mov rax, qword [rsp + 0xc0]
mov rax, qword [rax + 0x38]
cmp qword [rcx + 0x40], rax
je 0x1800a0577
jmp 0x1800a058e
mov rcx, qword [rsp + 0xc0]
add rcx, 0x28
mov rax, qword [rsp + 0xc0]
call qword [rax + 0x28]
mov rax, qword [rsp + 0xc0]
mov dword [rax + 0x64], 7
mov rax, qword [rsp + 0xc0]
mov rax, qword [rax + 0x40]
movzx ecx, byte [rax]
mov rax, qword [rsp + 0xc0]
mov dword [rax + 0x50], ecx
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax + 0x50]
and eax, 1
mov dword [rsp + 0x8c], eax
cmp dword [rsp + 0x8c], 0
je 0x1800a05fb
mov rax, qword [rsp + 0xc0]
mov ecx, dword [rax + 0x50]
shr ecx, 1
mov rax, qword [rsp + 0xc0]
mov dword [rax + 0x50], ecx
mov dword [rsp + 0x90], 1
jmp 0x1800a061e
mov rax, qword [rsp + 0xc0]
mov ecx, dword [rax + 0x50]
shr ecx, 1
mov rax, qword [rsp + 0xc0]
mov dword [rax + 0x50], ecx
mov dword [rsp + 0x90], 0
cmp dword [rsp + 0x90], 0
je 0x1800a0644
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x3c], eax
mov ecx, dword [rsp + 0x24]
mov eax, dword [rsp + 0x3c]
lea eax, [rcx + rax + 1]
sar eax, 1
mov dword [rsp + 0x20], eax
jmp 0x1800a0661
mov eax, dword [rsp + 0x20]
sub eax, 1
mov dword [rsp + 0x24], eax
mov ecx, dword [rsp + 0x24]
mov eax, dword [rsp + 0x3c]
lea eax, [rcx + rax + 1]
sar eax, 1
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x3c]
cmp dword [rsp + 0x24], eax
jne 0x1800a066d
jmp 0x1800a0672
jmp 0x1800a04e7
movsxd rdx, dword [rsp + 0xc8]
movsxd rcx, dword [rsp + 0xc8]
mov rax, qword [rsp + 0xc0]
mov ecx, dword [rax + rcx*4 + 0x1020]
add ecx, 0x10
shr ecx, 5
mov rax, qword [rsp + 0xc0]
mov edx, dword [rax + rdx*4 + 0x1020]
sub edx, ecx
movsxd rcx, dword [rsp + 0xc8]
mov rax, qword [rsp + 0xc0]
mov dword [rax + rcx*4 + 0x1020], edx
mov eax, dword [rsp + 0x20]
cdq
xor eax, edx
sub eax, edx
mov dword [rsp + 0x30], eax
movsxd rdx, dword [rsp + 0xc8]
movsxd rcx, dword [rsp + 0xc8]
mov rax, qword [rsp + 0xc0]
mov ecx, dword [rax + rcx*4 + 0x1020]
add ecx, dword [rsp + 0x30]
mov rax, qword [rsp + 0xc0]
mov dword [rax + rdx*4 + 0x1020], ecx
movsxd rdx, dword [rsp + 0xc8]
movsxd rcx, dword [rsp + 0xc8]
mov rax, qword [rsp + 0xc0]
mov ecx, dword [rax + rcx*4 + 0x1028]
add ecx, 0x80
shr ecx, 8
mov rax, qword [rsp + 0xc0]
mov edx, dword [rax + rdx*4 + 0x1028]
sub edx, ecx
movsxd rcx, dword [rsp + 0xc8]
mov rax, qword [rsp + 0xc0]
mov dword [rax + rcx*4 + 0x1028], edx
movsxd rcx, dword [rsp + 0xc8]
mov rax, qword [rsp + 0xc0]
mov edx, dword [rax + rcx*4 + 0x1028]
add edx, dword [rsp + 0x30]
movsxd rcx, dword [rsp + 0xc8]
mov rax, qword [rsp + 0xc0]
mov dword [rax + rcx*4 + 0x1028], edx
mov rax, qword [rsp + 0xc0]
cmp qword [rax + 0x88], 0
je 0x1800a0c48
mov eax, dword [rsp + 0x3c]
cmp dword [rsp + 0x24], eax
je 0x1800a0c2f
mov ecx, dword [rsp + 0x3c]
mov eax, dword [rsp + 0x24]
sub eax, ecx
mov dword [rsp + 0x54], eax
cmp dword [rsp + 0x54], 0x100
jae 0x1800a07d7
mov ecx, dword [rsp + 0x54]
lea rax, [0x1800cb0f0]
movsx eax, byte [rax + rcx]
mov dword [rsp + 0x94], eax
jmp 0x1800a0865
cmp dword [rsp + 0x54], 0x10000
jae 0x1800a0801
mov eax, dword [rsp + 0x54]
shr eax, 8
mov ecx, eax
lea rax, [0x1800cb0f0]
movsx eax, byte [rax + rcx]
add eax, 8
mov dword [rsp + 0x98], eax
jmp 0x1800a0857
cmp dword [rsp + 0x54], 0x1000000
jae 0x1800a082b
mov eax, dword [rsp + 0x54]
shr eax, 0x10
mov ecx, eax
lea rax, [0x1800cb0f0]
movsx eax, byte [rax + rcx]
add eax, 0x10
mov dword [rsp + 0x9c], eax
jmp 0x1800a0849
mov eax, dword [rsp + 0x54]
shr eax, 0x18
mov ecx, eax
lea rax, [0x1800cb0f0]
movsx eax, byte [rax + rcx]
add eax, 0x18
mov dword [rsp + 0x9c], eax
mov eax, dword [rsp + 0x9c]
mov dword [rsp + 0x98], eax
mov eax, dword [rsp + 0x98]
mov dword [rsp + 0x94], eax
mov eax, dword [rsp + 0x94]
mov dword [rsp + 0x5c], eax
mov ecx, dword [rsp + 0x5c]
mov eax, 1
shl eax, cl
sub eax, dword [rsp + 0x54]
sub eax, 1
mov dword [rsp + 0x58], eax
mov ecx, dword [rsp + 0x5c]
sub ecx, 1
mov rax, qword [rsp + 0xc0]
cmp ecx, dword [rax + 0xac]
jle 0x1800a0963
mov rcx, qword [rsp + 0xc0]
mov rcx, qword [rcx + 0x88]
add rcx, 1
mov rax, qword [rsp + 0xc0]
mov qword [rax + 0x88], rcx
mov rcx, qword [rsp + 0xc0]
mov rax, qword [rsp + 0xc0]
mov rax, qword [rax + 0x80]
cmp qword [rcx + 0x88], rax
jne 0x1800a08fa
mov rcx, qword [rsp + 0xc0]
add rcx, 0x70
mov rax, qword [rsp + 0xc0]
call qword [rax + 0x70]
mov rax, qword [rsp + 0xc0]
mov rax, qword [rax + 0x88]
movzx edx, byte [rax]
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax + 0xac]
movzx ecx, al
shl edx, cl
mov rax, qword [rsp + 0xc0]
mov ecx, dword [rax + 0x98]
or ecx, edx
mov rax, qword [rsp + 0xc0]
mov dword [rax + 0x98], ecx
mov rax, qword [rsp + 0xc0]
movsxd rcx, dword [rax + 0xac]
add rcx, 8
mov rax, qword [rsp + 0xc0]
mov dword [rax + 0xac], ecx
jmp 0x1800a0886
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax + 0x98]
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0xc0]
cmp dword [rax + 0xac], 0x20
jle 0x1800a09ed
mov edx, dword [rsp + 0x5c]
sub edx, 1
mov rax, qword [rsp + 0xc0]
mov ecx, dword [rax + 0xac]
sub ecx, edx
mov rax, qword [rsp + 0xc0]
mov dword [rax + 0xac], ecx
mov rax, qword [rsp + 0xc0]
mov rax, qword [rax + 0x88]
movzx edx, byte [rax]
mov rax, qword [rsp + 0xc0]
movsxd rcx, dword [rax + 0xac]
mov eax, 8
sub rax, rcx
movzx ecx, al
mov eax, edx
sar eax, cl
mov ecx, eax
mov rax, qword [rsp + 0xc0]
mov dword [rax + 0x98], ecx
jmp 0x1800a0a39
mov edx, dword [rsp + 0x5c]
sub edx, 1
mov rax, qword [rsp + 0xc0]
mov ecx, dword [rax + 0xac]
sub ecx, edx
mov rax, qword [rsp + 0xc0]
mov dword [rax + 0xac], ecx
mov ecx, dword [rsp + 0x5c]
sub ecx, 1
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax + 0x98]
shr eax, cl
mov ecx, eax
mov rax, qword [rsp + 0xc0]
mov dword [rax + 0x98], ecx
mov eax, dword [rsp + 0x5c]
sub eax, 1
movsxd rcx, eax
lea rax, [0x1800cb070]
mov ecx, dword [rax + rcx*4]
mov eax, dword [rsp + 0x30]
and eax, ecx
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x58]
cmp dword [rsp + 0x30], eax
jb 0x1800a0bd8
mov eax, dword [rsp + 0x30]
shl eax, 1
sub eax, dword [rsp + 0x58]
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0xc0]
cmp dword [rax + 0xac], 0
je 0x1800a0ac0
mov rax, qword [rsp + 0xc0]
mov ecx, dword [rax + 0xac]
sub ecx, 1
mov rax, qword [rsp + 0xc0]
mov dword [rax + 0xac], ecx
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax + 0x98]
and eax, 1
mov dword [rsp + 0xa0], eax
jmp 0x1800a0b65
mov rcx, qword [rsp + 0xc0]
mov rcx, qword [rcx + 0x88]
add rcx, 1
mov rax, qword [rsp + 0xc0]
mov qword [rax + 0x88], rcx
mov rcx, qword [rsp + 0xc0]
mov rax, qword [rsp + 0xc0]
mov rax, qword [rax + 0x80]
cmp qword [rcx + 0x88], rax
je 0x1800a0b04
jmp 0x1800a0b1b
mov rcx, qword [rsp + 0xc0]
add rcx, 0x70
mov rax, qword [rsp + 0xc0]
call qword [rax + 0x70]
mov rax, qword [rsp + 0xc0]
mov dword [rax + 0xac], 7
mov rax, qword [rsp + 0xc0]
mov rax, qword [rax + 0x88]
movzx ecx, byte [rax]
mov rax, qword [rsp + 0xc0]
mov dword [rax + 0x98], ecx
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax + 0x98]
and eax, 1
mov dword [rsp + 0xa0], eax
cmp dword [rsp + 0xa0], 0
je 0x1800a0b9a
mov rax, qword [rsp + 0xc0]
mov ecx, dword [rax + 0x98]
shr ecx, 1
mov rax, qword [rsp + 0xc0]
mov dword [rax + 0x98], ecx
mov dword [rsp + 0xa4], 1
jmp 0x1800a0bc3
mov rax, qword [rsp + 0xc0]
mov ecx, dword [rax + 0x98]
shr ecx, 1
mov rax, qword [rsp + 0xc0]
mov dword [rax + 0x98], ecx
mov dword [rsp + 0xa4], 0
cmp dword [rsp + 0xa4], 0
je 0x1800a0bd8
mov eax, dword [rsp + 0x30]
add eax, 1
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x20], 0
jge 0x1800a0bf2
mov ecx, dword [rsp + 0x30]
mov eax, dword [rsp + 0x24]
sub eax, ecx
mov dword [rsp + 0xa8], eax
jmp 0x1800a0c03
mov ecx, dword [rsp + 0x3c]
mov eax, dword [rsp + 0x30]
add eax, ecx
mov dword [rsp + 0xa8], eax
mov eax, dword [rsp + 0xa8]
mov dword [rsp + 0x28], eax
cmp qword [rsp + 0xd0], 0
je 0x1800a0c2d
mov eax, dword [rsp + 0x20]
mov ecx, dword [rsp + 0x28]
sub ecx, eax
mov rax, qword [rsp + 0xd0]
mov dword [rax], ecx
jmp 0x1800a0c48
cmp qword [rsp + 0xd0], 0
je 0x1800a0c48
mov rax, qword [rsp + 0xd0]
mov dword [rax], 0
mov eax, dword [rsp + 0x20]
add rsp, 0xb0
pop rbx
ret