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

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x90
mov rax, qword [rsp + 0xa0]
add rax, 0x44
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0xa0]
add rax, 0xd0
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0xa0]
mov eax, dword [rax + 0x18]
and eax, 0x40000004
test eax, eax
jne 0x180098a9f
mov eax, dword [rsp + 0xb0]
shl eax, 1
mov dword [rsp + 0xb0], eax
mov dword [rsp + 0x24], 0
jmp 0x180098ab4
mov eax, dword [rsp + 0x24]
add eax, 1
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0xb0]
cmp dword [rsp + 0x24], eax
jge 0x18009969e
mov rax, qword [rsp + 0xa0]
mov eax, dword [rax + 0x18]
and eax, 0x40000004
test eax, eax
jne 0x180098af9
mov eax, dword [rsp + 0x24]
and eax, 1
movsxd rcx, eax
imul rcx, rcx, 0x14
mov rax, qword [rsp + 0xa0]
lea rax, [rax + rcx + 0x44]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0xa0]
cmp dword [rax + 0x44], 2
jae 0x180098e79
mov rax, qword [rsp + 0xa0]
cmp dword [rax + 0x3c], 0
jne 0x180098e79
mov rax, qword [rsp + 0xa0]
cmp dword [rax + 0x34], 0
jne 0x180098e79
mov rax, qword [rsp + 0xa0]
cmp dword [rax + 0x58], 2
jae 0x180098e79
mov rax, qword [rsp + 0xa0]
cmp dword [rax + 0x38], 0
je 0x180098ba2
mov rax, qword [rsp + 0xa0]
mov ecx, dword [rax + 0x38]
sub ecx, 1
mov rax, qword [rsp + 0xa0]
mov dword [rax + 0x38], ecx
mov rax, qword [rsp + 0xa0]
cmp dword [rax + 0x38], 0
je 0x180098b9d
mov rax, qword [rsp + 0xa8]
mov dword [rax], 0
mov rax, qword [rsp + 0xa8]
add rax, 4
mov qword [rsp + 0xa8], rax
jmp 0x180098aa9
jmp 0x180098e79
mov dword [rsp + 0x44], 0
jmp 0x180098bb7
mov eax, dword [rsp + 0x44]
add eax, 1
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0x21
jge 0x180098ca2
mov rax, qword [rsp + 0x38]
cmp dword [rax + 0x24], 0
je 0x180098bf1
mov rax, qword [rsp + 0x38]
mov ecx, dword [rax + 0x24]
sub ecx, 1
mov rax, qword [rsp + 0x38]
mov dword [rax + 0x24], ecx
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x28]
and eax, 1
mov dword [rsp + 0x54], eax
jmp 0x180098c59
mov rcx, qword [rsp + 0x38]
mov rcx, qword [rcx + 0x10]
add rcx, 2
mov rax, qword [rsp + 0x38]
mov qword [rax + 0x10], rcx
mov rcx, qword [rsp + 0x38]
mov rax, qword [rsp + 0x38]
mov rax, qword [rax + 8]
cmp qword [rcx + 0x10], rax
je 0x180098c1d
jmp 0x180098c2a
mov rcx, qword [rsp + 0x38]
mov rax, qword [rsp + 0x38]
call qword [rax + 0x18]
mov rax, qword [rsp + 0x38]
mov dword [rax + 0x24], 0xf
mov rax, qword [rsp + 0x38]
mov rax, qword [rax + 0x10]
movzx ecx, word [rax]
mov rax, qword [rsp + 0x38]
mov dword [rax + 0x28], ecx
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x28]
and eax, 1
mov dword [rsp + 0x54], eax
cmp dword [rsp + 0x54], 0
je 0x180098c7c
mov rax, qword [rsp + 0x38]
mov ecx, dword [rax + 0x28]
shr ecx, 1
mov rax, qword [rsp + 0x38]
mov dword [rax + 0x28], ecx
mov dword [rsp + 0x58], 1
jmp 0x180098c96
mov rax, qword [rsp + 0x38]
mov ecx, dword [rax + 0x28]
shr ecx, 1
mov rax, qword [rsp + 0x38]
mov dword [rax + 0x28], ecx
mov dword [rsp + 0x58], 0
cmp dword [rsp + 0x58], 0
je 0x180098ca2
jmp 0x180098bac
cmp dword [rsp + 0x44], 0x21
jne 0x180098cae
jmp 0x18009969e
cmp dword [rsp + 0x44], 2
jge 0x180098cc9
mov rcx, qword [rsp + 0xa0]
mov eax, dword [rsp + 0x44]
mov dword [rcx + 0x38], eax
jmp 0x180098e1a
mov dword [rsp + 0x40], 1
mov rax, qword [rsp + 0xa0]
mov dword [rax + 0x38], 0
jmp 0x180098cec
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 0x180098dfe
mov rax, qword [rsp + 0x38]
cmp dword [rax + 0x24], 0
je 0x180098d31
mov rax, qword [rsp + 0x38]
mov ecx, dword [rax + 0x24]
sub ecx, 1
mov rax, qword [rsp + 0x38]
mov dword [rax + 0x24], ecx
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x28]
and eax, 1
mov dword [rsp + 0x5c], eax
jmp 0x180098d99
mov rcx, qword [rsp + 0x38]
mov rcx, qword [rcx + 0x10]
add rcx, 2
mov rax, qword [rsp + 0x38]
mov qword [rax + 0x10], rcx
mov rcx, qword [rsp + 0x38]
mov rax, qword [rsp + 0x38]
mov rax, qword [rax + 8]
cmp qword [rcx + 0x10], rax
je 0x180098d5d
jmp 0x180098d6a
mov rcx, qword [rsp + 0x38]
mov rax, qword [rsp + 0x38]
call qword [rax + 0x18]
mov rax, qword [rsp + 0x38]
mov dword [rax + 0x24], 0xf
mov rax, qword [rsp + 0x38]
mov rax, qword [rax + 0x10]
movzx ecx, word [rax]
mov rax, qword [rsp + 0x38]
mov dword [rax + 0x28], ecx
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x28]
and eax, 1
mov dword [rsp + 0x5c], eax
cmp dword [rsp + 0x5c], 0
je 0x180098dbc
mov rax, qword [rsp + 0x38]
mov ecx, dword [rax + 0x28]
shr ecx, 1
mov rax, qword [rsp + 0x38]
mov dword [rax + 0x28], ecx
mov dword [rsp + 0x60], 1
jmp 0x180098dd6
mov rax, qword [rsp + 0x38]
mov ecx, dword [rax + 0x28]
shr ecx, 1
mov rax, qword [rsp + 0x38]
mov dword [rax + 0x28], ecx
mov dword [rsp + 0x60], 0
cmp dword [rsp + 0x60], 0
je 0x180098df9
mov rcx, qword [rsp + 0xa0]
mov eax, dword [rsp + 0x40]
mov ecx, dword [rcx + 0x38]
or ecx, eax
mov rax, qword [rsp + 0xa0]
mov dword [rax + 0x38], ecx
jmp 0x180098ce2
mov rcx, qword [rsp + 0xa0]
mov eax, dword [rsp + 0x40]
mov ecx, dword [rcx + 0x38]
or ecx, eax
mov rax, qword [rsp + 0xa0]
mov dword [rax + 0x38], ecx
mov rax, qword [rsp + 0xa0]
cmp dword [rax + 0x38], 0
je 0x180098e79
mov rdi, qword [rsp + 0xa0]
add rdi, 0x44
xor eax, eax
mov ecx, 0xc
rep stosb byte [rdi], al
mov rdi, qword [rsp + 0xa0]
add rdi, 0x58
xor eax, eax
mov ecx, 0xc
rep stosb byte [rdi], al
mov rax, qword [rsp + 0xa8]
mov dword [rax], 0
mov rax, qword [rsp + 0xa8]
add rax, 4
mov qword [rsp + 0xa8], rax
jmp 0x180098aa9
mov rax, qword [rsp + 0xa0]
cmp dword [rax + 0x3c], 0
je 0x180098ea3
mov rax, qword [rsp + 0xa0]
mov dword [rax + 0x3c], 0
mov dword [rsp + 0x28], 0
jmp 0x1800993a1
mov rax, qword [rsp + 0x38]
cmp dword [rax + 0x24], 8
jge 0x180098f3c
mov rcx, qword [rsp + 0x38]
mov rcx, qword [rcx + 0x10]
add rcx, 2
mov rax, qword [rsp + 0x38]
mov qword [rax + 0x10], rcx
mov rcx, qword [rsp + 0x38]
mov rax, qword [rsp + 0x38]
mov rax, qword [rax + 8]
cmp qword [rcx + 0x10], rax
jne 0x180098ee9
mov rcx, qword [rsp + 0x38]
mov rax, qword [rsp + 0x38]
call qword [rax + 0x18]
mov rax, qword [rsp + 0x38]
mov rax, qword [rax + 0x10]
movzx edx, word [rax]
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x24]
movzx ecx, al
shl edx, cl
mov rax, qword [rsp + 0x38]
mov ecx, dword [rax + 0x28]
or ecx, edx
mov rax, qword [rsp + 0x38]
mov dword [rax + 0x28], ecx
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x28]
and eax, 0xff
mov dword [rsp + 0x48], eax
mov rax, qword [rsp + 0x38]
movsxd rcx, dword [rax + 0x24]
add rcx, 0x10
mov rax, qword [rsp + 0x38]
mov dword [rax + 0x24], ecx
jmp 0x180098f4d
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x28]
and eax, 0xff
mov dword [rsp + 0x48], eax
cmp dword [rsp + 0x48], 0xff
jne 0x1800992f3
mov rax, qword [rsp + 0x38]
mov ecx, dword [rax + 0x24]
sub ecx, 8
mov rax, qword [rsp + 0x38]
mov dword [rax + 0x24], ecx
mov rax, qword [rsp + 0x38]
mov ecx, dword [rax + 0x28]
shr ecx, 8
mov rax, qword [rsp + 0x38]
mov dword [rax + 0x28], ecx
mov dword [rsp + 0x28], 8
jmp 0x180098f96
mov eax, dword [rsp + 0x28]
add eax, 1
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0x11
jae 0x180099081
mov rax, qword [rsp + 0x38]
cmp dword [rax + 0x24], 0
je 0x180098fd0
mov rax, qword [rsp + 0x38]
mov ecx, dword [rax + 0x24]
sub ecx, 1
mov rax, qword [rsp + 0x38]
mov dword [rax + 0x24], ecx
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x28]
and eax, 1
mov dword [rsp + 0x64], eax
jmp 0x180099038
mov rcx, qword [rsp + 0x38]
mov rcx, qword [rcx + 0x10]
add rcx, 2
mov rax, qword [rsp + 0x38]
mov qword [rax + 0x10], rcx
mov rcx, qword [rsp + 0x38]
mov rax, qword [rsp + 0x38]
mov rax, qword [rax + 8]
cmp qword [rcx + 0x10], rax
je 0x180098ffc
jmp 0x180099009
mov rcx, qword [rsp + 0x38]
mov rax, qword [rsp + 0x38]
call qword [rax + 0x18]
mov rax, qword [rsp + 0x38]
mov dword [rax + 0x24], 0xf
mov rax, qword [rsp + 0x38]
mov rax, qword [rax + 0x10]
movzx ecx, word [rax]
mov rax, qword [rsp + 0x38]
mov dword [rax + 0x28], ecx
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x28]
and eax, 1
mov dword [rsp + 0x64], eax
cmp dword [rsp + 0x64], 0
je 0x18009905b
mov rax, qword [rsp + 0x38]
mov ecx, dword [rax + 0x28]
shr ecx, 1
mov rax, qword [rsp + 0x38]
mov dword [rax + 0x28], ecx
mov dword [rsp + 0x68], 1
jmp 0x180099075
mov rax, qword [rsp + 0x38]
mov ecx, dword [rax + 0x28]
shr ecx, 1
mov rax, qword [rsp + 0x38]
mov dword [rax + 0x28], ecx
mov dword [rsp + 0x68], 0
cmp dword [rsp + 0x68], 0
je 0x180099081
jmp 0x180098f8b
cmp dword [rsp + 0x28], 0x11
jne 0x18009908d
jmp 0x18009969e
cmp dword [rsp + 0x28], 0x10
jne 0x1800992f1
mov dword [rsp + 0x50], 0
jmp 0x1800990ad
mov eax, dword [rsp + 0x50]
add eax, 1
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0x21
jge 0x180099198
mov rax, qword [rsp + 0x38]
cmp dword [rax + 0x24], 0
je 0x1800990e7
mov rax, qword [rsp + 0x38]
mov ecx, dword [rax + 0x24]
sub ecx, 1
mov rax, qword [rsp + 0x38]
mov dword [rax + 0x24], ecx
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x28]
and eax, 1
mov dword [rsp + 0x6c], eax
jmp 0x18009914f
mov rcx, qword [rsp + 0x38]
mov rcx, qword [rcx + 0x10]
add rcx, 2
mov rax, qword [rsp + 0x38]
mov qword [rax + 0x10], rcx
mov rcx, qword [rsp + 0x38]
mov rax, qword [rsp + 0x38]
mov rax, qword [rax + 8]
cmp qword [rcx + 0x10], rax
je 0x180099113
jmp 0x180099120
mov rcx, qword [rsp + 0x38]
mov rax, qword [rsp + 0x38]
call qword [rax + 0x18]
mov rax, qword [rsp + 0x38]
mov dword [rax + 0x24], 0xf
mov rax, qword [rsp + 0x38]
mov rax, qword [rax + 0x10]
movzx ecx, word [rax]
mov rax, qword [rsp + 0x38]
mov dword [rax + 0x28], ecx
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x28]
and eax, 1
mov dword [rsp + 0x6c], eax
cmp dword [rsp + 0x6c], 0
je 0x180099172
mov rax, qword [rsp + 0x38]
mov ecx, dword [rax + 0x28]
shr ecx, 1
mov rax, qword [rsp + 0x38]
mov dword [rax + 0x28], ecx
mov dword [rsp + 0x70], 1
jmp 0x18009918c
mov rax, qword [rsp + 0x38]
mov ecx, dword [rax + 0x28]
shr ecx, 1
mov rax, qword [rsp + 0x38]
mov dword [rax + 0x28], ecx
mov dword [rsp + 0x70], 0
cmp dword [rsp + 0x70], 0
je 0x180099198
jmp 0x1800990a2
cmp dword [rsp + 0x50], 0x21
jne 0x1800991a4
jmp 0x18009969e
cmp dword [rsp + 0x50], 2
jge 0x1800991b8
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x28], eax
jmp 0x1800992e6
mov dword [rsp + 0x4c], 1
mov dword [rsp + 0x28], 0
jmp 0x1800991d4
mov eax, dword [rsp + 0x4c]
shl eax, 1
mov dword [rsp + 0x4c], eax
mov eax, dword [rsp + 0x50]
sub eax, 1
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
je 0x1800992d8
mov rax, qword [rsp + 0x38]
cmp dword [rax + 0x24], 0
je 0x180099219
mov rax, qword [rsp + 0x38]
mov ecx, dword [rax + 0x24]
sub ecx, 1
mov rax, qword [rsp + 0x38]
mov dword [rax + 0x24], ecx
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x28]
and eax, 1
mov dword [rsp + 0x74], eax
jmp 0x180099281
mov rcx, qword [rsp + 0x38]
mov rcx, qword [rcx + 0x10]
add rcx, 2
mov rax, qword [rsp + 0x38]
mov qword [rax + 0x10], rcx
mov rcx, qword [rsp + 0x38]
mov rax, qword [rsp + 0x38]
mov rax, qword [rax + 8]
cmp qword [rcx + 0x10], rax
je 0x180099245
jmp 0x180099252
mov rcx, qword [rsp + 0x38]
mov rax, qword [rsp + 0x38]
call qword [rax + 0x18]
mov rax, qword [rsp + 0x38]
mov dword [rax + 0x24], 0xf
mov rax, qword [rsp + 0x38]
mov rax, qword [rax + 0x10]
movzx ecx, word [rax]
mov rax, qword [rsp + 0x38]
mov dword [rax + 0x28], ecx
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x28]
and eax, 1
mov dword [rsp + 0x74], eax
cmp dword [rsp + 0x74], 0
je 0x1800992a4
mov rax, qword [rsp + 0x38]
mov ecx, dword [rax + 0x28]
shr ecx, 1
mov rax, qword [rsp + 0x38]
mov dword [rax + 0x28], ecx
mov dword [rsp + 0x78], 1
jmp 0x1800992be
mov rax, qword [rsp + 0x38]
mov ecx, dword [rax + 0x28]
shr ecx, 1
mov rax, qword [rsp + 0x38]
mov dword [rax + 0x28], ecx
mov dword [rsp + 0x78], 0
cmp dword [rsp + 0x78], 0
je 0x1800992d3
mov ecx, dword [rsp + 0x4c]
mov eax, dword [rsp + 0x28]
or eax, ecx
mov dword [rsp + 0x28], eax
jmp 0x1800991ca
mov ecx, dword [rsp + 0x4c]
mov eax, dword [rsp + 0x28]
or eax, ecx
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x28]
add eax, 0x10
mov dword [rsp + 0x28], eax
jmp 0x18009933b
movsxd rcx, dword [rsp + 0x48]
lea rax, [0x1800c2330]
movsx eax, byte [rax + rcx]
mov dword [rsp + 0x28], eax
mov edx, dword [rsp + 0x28]
add edx, 1
mov rax, qword [rsp + 0x38]
mov ecx, dword [rax + 0x24]
sub ecx, edx
mov rax, qword [rsp + 0x38]
mov dword [rax + 0x24], ecx
mov ecx, dword [rsp + 0x28]
add ecx, 1
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x28]
shr eax, cl
mov ecx, eax
mov rax, qword [rsp + 0x38]
mov dword [rax + 0x28], ecx
mov rax, qword [rsp + 0xa0]
cmp dword [rax + 0x34], 0
je 0x18009936a
mov ecx, dword [rsp + 0x28]
and ecx, 1
mov rax, qword [rsp + 0xa0]
mov dword [rax + 0x34], ecx
mov eax, dword [rsp + 0x28]
shr eax, 1
add eax, 1
mov dword [rsp + 0x28], eax
jmp 0x180099386
mov ecx, dword [rsp + 0x28]
and ecx, 1
mov rax, qword [rsp + 0xa0]
mov dword [rax + 0x34], ecx
mov eax, dword [rsp + 0x28]
shr eax, 1
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0xa0]
mov ecx, dword [rax + 0x34]
not ecx
and ecx, 1
mov rax, qword [rsp + 0xa0]
mov dword [rax + 0x3c], ecx
cmp dword [rsp + 0x28], 0
jne 0x1800993ea
mov dword [rsp + 0x2c], 0
mov rax, qword [rsp + 0x30]
mov eax, dword [rax]
shr eax, 4
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax]
add eax, 0x7e
xor edx, edx
mov ecx, 0x80
div ecx
mov edx, eax
shl edx, 1
mov rax, qword [rsp + 0x30]
mov ecx, dword [rax]
sub ecx, edx
mov rax, qword [rsp + 0x30]
mov dword [rax], ecx
jmp 0x180099556
mov rax, qword [rsp + 0x30]
mov eax, dword [rax]
shr eax, 4
add eax, 1
mov dword [rsp + 0x2c], eax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax]
add eax, 0x80
xor edx, edx
mov ecx, 0x80
div ecx
mov ecx, eax
imul ecx, ecx, 5
mov rax, qword [rsp + 0x30]
add ecx, dword [rax]
mov rax, qword [rsp + 0x30]
mov dword [rax], ecx
cmp dword [rsp + 0x28], 1
jne 0x18009946e
mov rax, qword [rsp + 0x30]
mov ecx, dword [rax + 4]
shr ecx, 4
mov eax, dword [rsp + 0x2c]
add eax, ecx
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 4]
add eax, 0x3e
xor edx, edx
mov ecx, 0x40
div ecx
mov edx, eax
shl edx, 1
mov rax, qword [rsp + 0x30]
mov ecx, dword [rax + 4]
sub ecx, edx
mov rax, qword [rsp + 0x30]
mov dword [rax + 4], ecx
jmp 0x180099556
mov rax, qword [rsp + 0x30]
mov ecx, dword [rax + 4]
shr ecx, 4
mov eax, dword [rsp + 0x2c]
lea eax, [rax + rcx + 1]
mov dword [rsp + 0x2c], eax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 4]
add eax, 0x40
xor edx, edx
mov ecx, 0x40
div ecx
mov ecx, eax
imul ecx, ecx, 5
mov rax, qword [rsp + 0x30]
add ecx, dword [rax + 4]
mov rax, qword [rsp + 0x30]
mov dword [rax + 4], ecx
cmp dword [rsp + 0x28], 2
jne 0x1800994f6
mov rax, qword [rsp + 0x30]
mov ecx, dword [rax + 8]
shr ecx, 4
mov eax, dword [rsp + 0x2c]
add eax, ecx
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 8]
add eax, 0x1e
xor edx, edx
mov ecx, 0x20
div ecx
mov edx, eax
shl edx, 1
mov rax, qword [rsp + 0x30]
mov ecx, dword [rax + 8]
sub ecx, edx
mov rax, qword [rsp + 0x30]
mov dword [rax + 8], ecx
jmp 0x180099556
mov ecx, dword [rsp + 0x28]
sub ecx, 2
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 8]
shr eax, 4
add eax, 1
imul ecx, eax
mov eax, dword [rsp + 0x2c]
add eax, ecx
mov dword [rsp + 0x2c], eax
mov rax, qword [rsp + 0x30]
mov ecx, dword [rax + 8]
shr ecx, 4
mov eax, dword [rsp + 0x2c]
add eax, ecx
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 8]
add eax, 0x20
xor edx, edx
mov ecx, 0x20
div ecx
mov ecx, eax
imul ecx, ecx, 5
mov rax, qword [rsp + 0x30]
add ecx, dword [rax + 8]
mov rax, qword [rsp + 0x30]
mov dword [rax + 8], ecx
mov eax, dword [rsp + 0x2c]
mov edx, dword [rsp + 0x20]
sub edx, eax
mov rcx, qword [rsp + 0x38]
call fcn.1800996e0
mov edx, eax
mov eax, dword [rsp + 0x2c]
add eax, edx
mov dword [rsp + 0x2c], eax
mov rax, qword [rsp + 0x38]
cmp dword [rax + 0x24], 0
je 0x1800995a5
mov rax, qword [rsp + 0x38]
mov ecx, dword [rax + 0x24]
sub ecx, 1
mov rax, qword [rsp + 0x38]
mov dword [rax + 0x24], ecx
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x28]
and eax, 1
mov dword [rsp + 0x7c], eax
jmp 0x18009960d
mov rcx, qword [rsp + 0x38]
mov rcx, qword [rcx + 0x10]
add rcx, 2
mov rax, qword [rsp + 0x38]
mov qword [rax + 0x10], rcx
mov rcx, qword [rsp + 0x38]
mov rax, qword [rsp + 0x38]
mov rax, qword [rax + 8]
cmp qword [rcx + 0x10], rax
je 0x1800995d1
jmp 0x1800995de
mov rcx, qword [rsp + 0x38]
mov rax, qword [rsp + 0x38]
call qword [rax + 0x18]
mov rax, qword [rsp + 0x38]
mov dword [rax + 0x24], 0xf
mov rax, qword [rsp + 0x38]
mov rax, qword [rax + 0x10]
movzx ecx, word [rax]
mov rax, qword [rsp + 0x38]
mov dword [rax + 0x28], ecx
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x28]
and eax, 1
mov dword [rsp + 0x7c], eax
cmp dword [rsp + 0x7c], 0
je 0x180099633
mov rax, qword [rsp + 0x38]
mov ecx, dword [rax + 0x28]
shr ecx, 1
mov rax, qword [rsp + 0x38]
mov dword [rax + 0x28], ecx
mov dword [rsp + 0x80], 1
jmp 0x180099650
mov rax, qword [rsp + 0x38]
mov ecx, dword [rax + 0x28]
shr ecx, 1
mov rax, qword [rsp + 0x38]
mov dword [rax + 0x28], ecx
mov dword [rsp + 0x80], 0
cmp dword [rsp + 0x80], 0
je 0x180099669
mov eax, dword [rsp + 0x2c]
not eax
mov dword [rsp + 0x84], eax
jmp 0x180099674
mov eax, dword [rsp + 0x2c]
mov dword [rsp + 0x84], eax
mov rcx, qword [rsp + 0xa8]
mov eax, dword [rsp + 0x84]
mov dword [rcx], eax
mov rax, qword [rsp + 0xa8]
add rax, 4
mov qword [rsp + 0xa8], rax
jmp 0x180098aa9
mov rax, qword [rsp + 0xa0]
mov eax, dword [rax + 0x18]
and eax, 0x40000004
test eax, eax
je 0x1800996bf
mov eax, dword [rsp + 0x24]
mov dword [rsp + 0x88], eax
jmp 0x1800996cf
mov eax, dword [rsp + 0x24]
cdq
sub eax, edx
sar eax, 1
mov dword [rsp + 0x88], eax
mov eax, dword [rsp + 0x88]
add rsp, 0x90
pop rdi
ret