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

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rdi
mov eax, 0x1190
call fcn.140075930
sub rsp, rax
mov rax, qword [0x1400e6480]
xor rax, rsp
mov qword [rsp + 0x1180], rax
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount64]
mov qword [rsp + 0x110], rax
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x34], 0
mov dword [rsp + 0x2c], 0
mov dword [rsp + 0x38], 0
mov dword [rsp + 0x3c], 0
call fcn.1400826c8
mov dword [rax], 0
lea rax, [rsp + 0x138]
mov rdi, rax
xor eax, eax
mov ecx, 0x20
rep stosb byte [rdi], al
lea rax, [rsp + 0x158]
mov rdi, rax
xor eax, eax
mov ecx, 0x20
rep stosb byte [rdi], al
cmp qword [rsp + 0x11c0], 0
je 0x140064d38
mov rax, qword [rsp + 0x11c0]
imul eax, dword [rax], 0x3e8
mov dword [rsp + 0x70], eax
mov rcx, qword [rsp + 0x11c0]
mov eax, dword [rcx + 4]
cdq
mov ecx, 0x3e8
idiv ecx
mov ecx, dword [rsp + 0x70]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x11a0], 0x100
jle 0x140064d6d
call fcn.1400826c8
mov dword [rax], reloc.WS2_32.dll_shutdown
mov edx, dword [rsp + 0x11a0]
lea rcx, str.select___ERROR:_invalid_fds:__d
call fcn.140002e50
mov eax, 0xffffffff
jmp 0x140065ba4
cmp qword [rsp + 0x11a8], 0
jne 0x140064da4
cmp qword [rsp + 0x11b0], 0
jne 0x140064da4
call fcn.1400826c8
mov dword [rax], reloc.WS2_32.dll_shutdown
lea rcx, str.select___ERROR:_null_fd_sets
call fcn.140002e50
mov eax, 0xffffffff
jmp 0x140065ba4
cmp qword [rsp + 0x11b8], 0
je 0x140064e37
mov dword [rsp + 0x20], 0
jmp 0x140064dc7
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x11a0]
cmp dword [rsp + 0x20], eax
jge 0x140064e37
mov eax, dword [rsp + 0x20]
sar eax, 3
cdqe
mov qword [rsp + 0xf8], rax
mov eax, dword [rsp + 0x20]
cdq
and edx, 7
add eax, edx
and eax, 7
sub eax, edx
mov ecx, 0x80
mov dword [rsp + 0x74], ecx
movzx ecx, al
mov eax, dword [rsp + 0x74]
sar eax, cl
not eax
mov rcx, qword [rsp + 0x11b8]
mov rdx, qword [rsp + 0xf8]
movzx ecx, byte [rcx + rdx]
and ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x20]
sar ecx, 3
movsxd rcx, ecx
mov rdx, qword [rsp + 0x11b8]
mov byte [rdx + rcx], al
jmp 0x140064dbd
cmp qword [rsp + 0x11a8], 0
je 0x140064f3b
mov dword [rsp + 0x20], 0
jmp 0x140064e5a
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x11a0]
cmp dword [rsp + 0x20], eax
jge 0x140064f3b
mov eax, dword [rsp + 0x20]
sar eax, 3
cdqe
mov rcx, qword [rsp + 0x11a8]
movzx eax, byte [rcx + rax]
mov dword [rsp + 0x7c], eax
mov eax, dword [rsp + 0x20]
cdq
and edx, 7
add eax, edx
and eax, 7
sub eax, edx
mov ecx, 0x80
mov dword [rsp + 0x78], ecx
movzx ecx, al
mov eax, dword [rsp + 0x78]
sar eax, cl
mov ecx, dword [rsp + 0x7c]
and ecx, eax
mov eax, ecx
test eax, eax
je 0x140064ebb
mov dword [rsp + 0x40], 1
jmp 0x140064ec3
mov dword [rsp + 0x40], 0
cmp dword [rsp + 0x40], 0
je 0x140064f36
call fcn.1400826c8
mov dword [rax], 0
cmp dword [rsp + 0x20], 0
jl 0x140064ef9
cmp dword [rsp + 0x20], 0xff
jg 0x140064ef9
movsxd rax, dword [rsp + 0x20]
lea rcx, [0x1400e7f60]
cmp qword [rcx + rax*8], 0
jne 0x140064f26
call fcn.1400826c8
mov dword [rax], 9
mov r8d, dword [rsp + 0x20]
lea rdx, [0x1400e42b0]
lea rcx, [0x1400e42c0]
call fcn.140002e50
mov eax, 0xffffffff
jmp 0x140065ba4
xor eax, eax
test eax, eax
jne 0x140064eca
mov eax, dword [rsp + 0x34]
inc eax
mov dword [rsp + 0x34], eax
jmp 0x140064e50
cmp qword [rsp + 0x11b0], 0
je 0x14006504b
mov dword [rsp + 0x20], 0
jmp 0x140064f5e
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x11a0]
cmp dword [rsp + 0x20], eax
jge 0x14006504b
mov eax, dword [rsp + 0x20]
sar eax, 3
cdqe
mov rcx, qword [rsp + 0x11b0]
movzx eax, byte [rcx + rax]
mov dword [rsp + 0x84], eax
mov eax, dword [rsp + 0x20]
cdq
and edx, 7
add eax, edx
and eax, 7
sub eax, edx
mov ecx, 0x80
mov dword [rsp + 0x80], ecx
movzx ecx, al
mov eax, dword [rsp + 0x80]
sar eax, cl
mov ecx, dword [rsp + 0x84]
and ecx, eax
mov eax, ecx
test eax, eax
je 0x140064fcb
mov dword [rsp + 0x44], 1
jmp 0x140064fd3
mov dword [rsp + 0x44], 0
cmp dword [rsp + 0x44], 0
je 0x140065046
call fcn.1400826c8
mov dword [rax], 0
cmp dword [rsp + 0x20], 0
jl 0x140065009
cmp dword [rsp + 0x20], 0xff
jg 0x140065009
movsxd rax, dword [rsp + 0x20]
lea rcx, [0x1400e7f60]
cmp qword [rcx + rax*8], 0
jne 0x140065036
call fcn.1400826c8
mov dword [rax], 9
mov r8d, dword [rsp + 0x20]
lea rdx, str.w32_select
lea rcx, [0x1400e42e8]
call fcn.140002e50
mov eax, 0xffffffff
jmp 0x140065ba4
xor eax, eax
test eax, eax
jne 0x140064fda
mov eax, dword [rsp + 0x34]
inc eax
mov dword [rsp + 0x34], eax
jmp 0x140064f54
cmp dword [rsp + 0x34], 0
jne 0x140065073
call fcn.1400826c8
mov dword [rax], reloc.WS2_32.dll_shutdown
lea rcx, str.select___ERROR:_empty_fd_sets
call fcn.140002e50
mov eax, 0xffffffff
jmp 0x140065ba4
mov dword [rsp + 0x24], 0
jmp 0x140065087
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x11a0]
cmp dword [rsp + 0x24], eax
jge 0x1400652da
cmp qword [rsp + 0x11a8], 0
je 0x1400651b8
mov eax, dword [rsp + 0x24]
sar eax, 3
cdqe
mov rcx, qword [rsp + 0x11a8]
movzx eax, byte [rcx + rax]
mov dword [rsp + 0x8c], eax
mov eax, dword [rsp + 0x24]
cdq
and edx, 7
add eax, edx
and eax, 7
sub eax, edx
mov ecx, 0x80
mov dword [rsp + 0x88], ecx
movzx ecx, al
mov eax, dword [rsp + 0x88]
sar eax, cl
mov ecx, dword [rsp + 0x8c]
and ecx, eax
mov eax, ecx
test eax, eax
je 0x140065103
mov dword [rsp + 0x48], 1
jmp 0x14006510b
mov dword [rsp + 0x48], 0
cmp dword [rsp + 0x48], 0
je 0x1400651b8
movsxd rax, dword [rsp + 0x24]
lea rcx, [0x1400e7f60]
mov edx, 1
mov rcx, qword [rcx + rax*8]
call fcn.1400646c0
movsxd rax, dword [rsp + 0x24]
lea rcx, [0x1400e7f60]
mov rax, qword [rcx + rax*8]
cmp dword [rax + 0x84], 1
jne 0x1400651b8
movsxd rax, dword [rsp + 0x24]
lea rcx, [0x1400e7f60]
mov rax, qword [rcx + rax*8]
cmp dword [rax + 0xb0], 1
jne 0x1400651b8
cmp dword [rsp + 0x30], 0x200
jne 0x14006518d
lea rcx, str.select___ERROR:_max_events_breach
call fcn.140002e50
call fcn.1400826c8
mov dword [rax], reloc.WS2_32.dll_inet_ntoa
mov eax, 0xffffffff
jmp 0x140065ba4
movsxd rax, dword [rsp + 0x24]
lea rcx, [0x1400e7f60]
mov rax, qword [rcx + rax*8]
movsxd rcx, dword [rsp + 0x30]
mov rax, qword [rax + 0x18]
mov qword [rsp + rcx*8 + 0x180], rax
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
cmp qword [rsp + 0x11b0], 0
je 0x1400652d5
mov eax, dword [rsp + 0x24]
sar eax, 3
cdqe
mov rcx, qword [rsp + 0x11b0]
movzx eax, byte [rcx + rax]
mov dword [rsp + 0x94], eax
mov eax, dword [rsp + 0x24]
cdq
and edx, 7
add eax, edx
and eax, 7
sub eax, edx
mov ecx, 0x80
mov dword [rsp + 0x90], ecx
movzx ecx, al
mov eax, dword [rsp + 0x90]
sar eax, cl
mov ecx, dword [rsp + 0x94]
and ecx, eax
mov eax, ecx
test eax, eax
je 0x140065223
mov dword [rsp + 0x4c], 1
jmp 0x14006522b
mov dword [rsp + 0x4c], 0
cmp dword [rsp + 0x4c], 0
je 0x1400652d5
movsxd rax, dword [rsp + 0x24]
lea rcx, [0x1400e7f60]
xor edx, edx
mov rcx, qword [rcx + rax*8]
call fcn.1400646c0
movsxd rax, dword [rsp + 0x24]
lea rcx, [0x1400e7f60]
mov rax, qword [rcx + rax*8]
cmp dword [rax + 0x84], 1
jne 0x1400652d5
movsxd rax, dword [rsp + 0x24]
lea rcx, [0x1400e7f60]
mov rax, qword [rcx + rax*8]
cmp dword [rax + 0xb0], 2
jne 0x1400652d5
cmp dword [rsp + 0x30], 0x200
jne 0x1400652aa
lea rcx, str.select___ERROR:_max_events_reached_for_select
call fcn.140002e50
call fcn.1400826c8
mov dword [rax], reloc.WS2_32.dll_inet_ntoa
mov eax, 0xffffffff
jmp 0x140065ba4
movsxd rax, dword [rsp + 0x24]
lea rcx, [0x1400e7f60]
mov rax, qword [rcx + rax*8]
movsxd rcx, dword [rsp + 0x30]
mov rax, qword [rax + 0x38]
mov qword [rsp + rcx*8 + 0x180], rax
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
jmp 0x14006507d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.140066880
test eax, eax
je 0x1400652f4
mov eax, 0xffffffff
jmp 0x140065ba4
mov dword [rsp + 0x20], 0
jmp 0x140065308
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x11a0]
cmp dword [rsp + 0x20], eax
jge 0x140065521
cmp qword [rsp + 0x11a8], 0
je 0x14006541c
mov eax, dword [rsp + 0x20]
sar eax, 3
cdqe
mov rcx, qword [rsp + 0x11a8]
movzx eax, byte [rcx + rax]
mov dword [rsp + 0x9c], eax
mov eax, dword [rsp + 0x20]
cdq
and edx, 7
add eax, edx
and eax, 7
sub eax, edx
mov ecx, 0x80
mov dword [rsp + 0x98], ecx
movzx ecx, al
mov eax, dword [rsp + 0x98]
sar eax, cl
mov ecx, dword [rsp + 0x9c]
and ecx, eax
mov eax, ecx
test eax, eax
je 0x140065384
mov dword [rsp + 0x50], 1
jmp 0x14006538c
mov dword [rsp + 0x50], 0
cmp dword [rsp + 0x50], 0
je 0x14006541c
movsxd rax, dword [rsp + 0x20]
lea rcx, [0x1400e7f60]
mov edx, 1
mov rcx, qword [rcx + rax*8]
call fcn.140064680
test eax, eax
je 0x14006541c
mov eax, dword [rsp + 0x20]
sar eax, 3
cdqe
mov qword [rsp + 0x100], rax
mov eax, dword [rsp + 0x20]
cdq
and edx, 7
add eax, edx
and eax, 7
sub eax, edx
mov ecx, 0x80
mov dword [rsp + 0xa0], ecx
movzx ecx, al
mov eax, dword [rsp + 0xa0]
sar eax, cl
mov rcx, qword [rsp + 0x100]
movzx ecx, byte [rsp + rcx + 0x138]
or ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x20]
sar ecx, 3
movsxd rcx, ecx
mov byte [rsp + rcx + 0x138], al
mov eax, dword [rsp + 0x2c]
inc eax
mov dword [rsp + 0x2c], eax
cmp qword [rsp + 0x11b0], 0
je 0x14006551c
mov eax, dword [rsp + 0x20]
sar eax, 3
cdqe
mov rcx, qword [rsp + 0x11b0]
movzx eax, byte [rcx + rax]
mov dword [rsp + 0xa8], eax
mov eax, dword [rsp + 0x20]
cdq
and edx, 7
add eax, edx
and eax, 7
sub eax, edx
mov ecx, 0x80
mov dword [rsp + 0xa4], ecx
movzx ecx, al
mov eax, dword [rsp + 0xa4]
sar eax, cl
mov ecx, dword [rsp + 0xa8]
and ecx, eax
mov eax, ecx
test eax, eax
je 0x140065487
mov dword [rsp + 0x54], 1
jmp 0x14006548f
mov dword [rsp + 0x54], 0
cmp dword [rsp + 0x54], 0
je 0x14006551c
movsxd rax, dword [rsp + 0x20]
lea rcx, [0x1400e7f60]
xor edx, edx
mov rcx, qword [rcx + rax*8]
call fcn.140064680
test eax, eax
je 0x14006551c
mov eax, dword [rsp + 0x20]
sar eax, 3
cdqe
mov qword [rsp + 0x108], rax
mov eax, dword [rsp + 0x20]
cdq
and edx, 7
add eax, edx
and eax, 7
sub eax, edx
mov ecx, 0x80
mov dword [rsp + 0xac], ecx
movzx ecx, al
mov eax, dword [rsp + 0xac]
sar eax, cl
mov rcx, qword [rsp + 0x108]
movzx ecx, byte [rsp + rcx + 0x158]
or ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x20]
sar ecx, 3
movsxd rcx, ecx
mov byte [rsp + rcx + 0x158], al
mov eax, dword [rsp + 0x2c]
inc eax
mov dword [rsp + 0x2c], eax
jmp 0x1400652fe
cmp qword [rsp + 0x11c0], 0
je 0x140065537
cmp dword [rsp + 0x38], 0
je 0x140065804
cmp dword [rsp + 0x2c], 0
jne 0x140065804
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount64]
sub rax, qword [rsp + 0x110]
mov qword [rsp + 0xf0], rax
mov dword [rsp + 0x3c], 0
cmp qword [rsp + 0x11c0], 0
je 0x14006559e
mov eax, dword [rsp + 0x38]
cmp rax, qword [rsp + 0xf0]
jae 0x14006557e
jmp 0x140065804
mov eax, dword [rsp + 0x38]
mov ecx, 0xffffffff
mov rdx, qword [rsp + 0xf0]
and rdx, rcx
mov rcx, rdx
sub rax, rcx
mov dword [rsp + 0x3c], eax
jmp 0x1400655a6
mov dword [rsp + 0x3c], 0xffffffff
mov r8d, dword [rsp + 0x3c]
mov edx, dword [rsp + 0x30]
lea rcx, [rsp + 0x180]
call fcn.140066880
test eax, eax
je 0x1400655ca
mov eax, 0xffffffff
jmp 0x140065ba4
mov dword [rsp + 0x2c], 0
mov dword [rsp + 0x28], 0
jmp 0x1400655e6
mov eax, dword [rsp + 0x28]
inc eax
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x11a0]
cmp dword [rsp + 0x28], eax
jge 0x1400657ff
cmp qword [rsp + 0x11a8], 0
je 0x1400656fa
mov eax, dword [rsp + 0x28]
sar eax, 3
cdqe
mov rcx, qword [rsp + 0x11a8]
movzx eax, byte [rcx + rax]
mov dword [rsp + 0xb4], eax
mov eax, dword [rsp + 0x28]
cdq
and edx, 7
add eax, edx
and eax, 7
sub eax, edx
mov ecx, 0x80
mov dword [rsp + 0xb0], ecx
movzx ecx, al
mov eax, dword [rsp + 0xb0]
sar eax, cl
mov ecx, dword [rsp + 0xb4]
and ecx, eax
mov eax, ecx
test eax, eax
je 0x140065662
mov dword [rsp + 0x58], 1
jmp 0x14006566a
mov dword [rsp + 0x58], 0
cmp dword [rsp + 0x58], 0
je 0x1400656fa
movsxd rax, dword [rsp + 0x28]
lea rcx, [0x1400e7f60]
mov edx, 1
mov rcx, qword [rcx + rax*8]
call fcn.140064680
test eax, eax
je 0x1400656fa
mov eax, dword [rsp + 0x28]
sar eax, 3
cdqe
mov qword [rsp + 0x118], rax
mov eax, dword [rsp + 0x28]
cdq
and edx, 7
add eax, edx
and eax, 7
sub eax, edx
mov ecx, 0x80
mov dword [rsp + 0xb8], ecx
movzx ecx, al
mov eax, dword [rsp + 0xb8]
sar eax, cl
mov rcx, qword [rsp + 0x118]
movzx ecx, byte [rsp + rcx + 0x138]
or ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x28]
sar ecx, 3
movsxd rcx, ecx
mov byte [rsp + rcx + 0x138], al
mov eax, dword [rsp + 0x2c]
inc eax
mov dword [rsp + 0x2c], eax
cmp qword [rsp + 0x11b0], 0
je 0x1400657fa
mov eax, dword [rsp + 0x28]
sar eax, 3
cdqe
mov rcx, qword [rsp + 0x11b0]
movzx eax, byte [rcx + rax]
mov dword [rsp + 0xc0], eax
mov eax, dword [rsp + 0x28]
cdq
and edx, 7
add eax, edx
and eax, 7
sub eax, edx
mov ecx, 0x80
mov dword [rsp + 0xbc], ecx
movzx ecx, al
mov eax, dword [rsp + 0xbc]
sar eax, cl
mov ecx, dword [rsp + 0xc0]
and ecx, eax
mov eax, ecx
test eax, eax
je 0x140065765
mov dword [rsp + 0x5c], 1
jmp 0x14006576d
mov dword [rsp + 0x5c], 0
cmp dword [rsp + 0x5c], 0
je 0x1400657fa
movsxd rax, dword [rsp + 0x28]
lea rcx, [0x1400e7f60]
xor edx, edx
mov rcx, qword [rcx + rax*8]
call fcn.140064680
test eax, eax
je 0x1400657fa
mov eax, dword [rsp + 0x28]
sar eax, 3
cdqe
mov qword [rsp + 0x120], rax
mov eax, dword [rsp + 0x28]
cdq
and edx, 7
add eax, edx
and eax, 7
sub eax, edx
mov ecx, 0x80
mov dword [rsp + 0xc4], ecx
movzx ecx, al
mov eax, dword [rsp + 0xc4]
sar eax, cl
mov rcx, qword [rsp + 0x120]
movzx ecx, byte [rsp + rcx + 0x158]
or ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x28]
sar ecx, 3
movsxd rcx, ecx
mov byte [rsp + rcx + 0x158], al
mov eax, dword [rsp + 0x2c]
inc eax
mov dword [rsp + 0x2c], eax
jmp 0x1400655dc
jmp 0x140065537
cmp qword [rsp + 0x11a8], 0
je 0x1400659d2
mov dword [rsp + 0x20], 0
jmp 0x140065827
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x11a0]
cmp dword [rsp + 0x20], eax
jge 0x1400659d2
mov eax, dword [rsp + 0x20]
sar eax, 3
cdqe
mov rcx, qword [rsp + 0x11a8]
movzx eax, byte [rcx + rax]
mov dword [rsp + 0xcc], eax
mov eax, dword [rsp + 0x20]
cdq
and edx, 7
add eax, edx
and eax, 7
sub eax, edx
mov ecx, 0x80
mov dword [rsp + 0xc8], ecx
movzx ecx, al
mov eax, dword [rsp + 0xc8]
sar eax, cl
mov ecx, dword [rsp + 0xcc]
and ecx, eax
mov eax, ecx
test eax, eax
je 0x140065894
mov dword [rsp + 0x60], 1
jmp 0x14006589c
mov dword [rsp + 0x60], 0
cmp dword [rsp + 0x60], 0
je 0x1400659cd
mov eax, dword [rsp + 0x20]
sar eax, 3
cdqe
movzx eax, byte [rsp + rax + 0x138]
mov dword [rsp + 0xd4], eax
mov eax, dword [rsp + 0x20]
cdq
and edx, 7
add eax, edx
and eax, 7
sub eax, edx
mov ecx, 0x80
mov dword [rsp + 0xd0], ecx
movzx ecx, al
mov eax, dword [rsp + 0xd0]
sar eax, cl
mov ecx, dword [rsp + 0xd4]
and ecx, eax
mov eax, ecx
test eax, eax
je 0x1400658ff
mov dword [rsp + 0x64], 1
jmp 0x140065907
mov dword [rsp + 0x64], 0
cmp dword [rsp + 0x64], 0
je 0x140065966
movsxd rax, dword [rsp + 0x20]
lea rcx, [0x1400e7f60]
mov rax, qword [rcx + rax*8]
cmp dword [rax + 0x84], 1
jne 0x140065964
movsxd rax, dword [rsp + 0x20]
lea rcx, [0x1400e7f60]
mov rax, qword [rcx + rax*8]
cmp dword [rax + 0xb0], 2
jne 0x140065964
movsxd rax, dword [rsp + 0x20]
lea rcx, [0x1400e7f60]
mov rcx, qword [rcx + rax*8]
call fcn.140068410
test eax, eax
je 0x140065964
call fcn.1400826c8
mov dword [rax], 0
jmp 0x1400659cd
mov eax, dword [rsp + 0x20]
sar eax, 3
cdqe
mov qword [rsp + 0x128], rax
mov eax, dword [rsp + 0x20]
cdq
and edx, 7
add eax, edx
and eax, 7
sub eax, edx
mov ecx, 0x80
mov dword [rsp + 0xd8], ecx
movzx ecx, al
mov eax, dword [rsp + 0xd8]
sar eax, cl
not eax
mov rcx, qword [rsp + 0x11a8]
mov rdx, qword [rsp + 0x128]
movzx ecx, byte [rcx + rdx]
and ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x20]
sar ecx, 3
movsxd rcx, ecx
mov rdx, qword [rsp + 0x11a8]
mov byte [rdx + rcx], al
jmp 0x14006581d
cmp qword [rsp + 0x11b0], 0
je 0x140065ba0
mov dword [rsp + 0x20], 0
jmp 0x1400659f5
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x11a0]
cmp dword [rsp + 0x20], eax
jge 0x140065ba0
mov eax, dword [rsp + 0x20]
sar eax, 3
cdqe
mov rcx, qword [rsp + 0x11b0]
movzx eax, byte [rcx + rax]
mov dword [rsp + 0xe0], eax
mov eax, dword [rsp + 0x20]
cdq
and edx, 7
add eax, edx
and eax, 7
sub eax, edx
mov ecx, 0x80
mov dword [rsp + 0xdc], ecx
movzx ecx, al
mov eax, dword [rsp + 0xdc]
sar eax, cl
mov ecx, dword [rsp + 0xe0]
and ecx, eax
mov eax, ecx
test eax, eax
je 0x140065a62
mov dword [rsp + 0x68], 1
jmp 0x140065a6a
mov dword [rsp + 0x68], 0
cmp dword [rsp + 0x68], 0
je 0x140065b9b
mov eax, dword [rsp + 0x20]
sar eax, 3
cdqe
movzx eax, byte [rsp + rax + 0x158]
mov dword [rsp + 0xe8], eax
mov eax, dword [rsp + 0x20]
cdq
and edx, 7
add eax, edx
and eax, 7
sub eax, edx
mov ecx, 0x80
mov dword [rsp + 0xe4], ecx
movzx ecx, al
mov eax, dword [rsp + 0xe4]
sar eax, cl
mov ecx, dword [rsp + 0xe8]
and ecx, eax
mov eax, ecx
test eax, eax
je 0x140065acd
mov dword [rsp + 0x6c], 1
jmp 0x140065ad5
mov dword [rsp + 0x6c], 0
cmp dword [rsp + 0x6c], 0
je 0x140065b34
movsxd rax, dword [rsp + 0x20]
lea rcx, [0x1400e7f60]
mov rax, qword [rcx + rax*8]
cmp dword [rax + 0x84], 1
jne 0x140065b32
movsxd rax, dword [rsp + 0x20]
lea rcx, [0x1400e7f60]
mov rax, qword [rcx + rax*8]
cmp dword [rax + 0xb0], 2
jne 0x140065b32
movsxd rax, dword [rsp + 0x20]
lea rcx, [0x1400e7f60]
mov rcx, qword [rcx + rax*8]
call fcn.140068410
test eax, eax
je 0x140065b32
call fcn.1400826c8
mov dword [rax], 0
jmp 0x140065b9b
mov eax, dword [rsp + 0x20]
sar eax, 3
cdqe
mov qword [rsp + 0x130], rax
mov eax, dword [rsp + 0x20]
cdq
and edx, 7
add eax, edx
and eax, 7
sub eax, edx
mov ecx, 0x80
mov dword [rsp + 0xec], ecx
movzx ecx, al
mov eax, dword [rsp + 0xec]
sar eax, cl
not eax
mov rcx, qword [rsp + 0x11b0]
mov rdx, qword [rsp + 0x130]
movzx ecx, byte [rcx + rdx]
and ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x20]
sar ecx, 3
movsxd rcx, ecx
mov rdx, qword [rsp + 0x11b0]
mov byte [rdx + rcx], al
jmp 0x1400659eb
mov eax, dword [rsp + 0x2c]
mov rcx, qword [rsp + 0x1180]
xor rcx, rsp
call fcn.1400758f0
add rsp, 0x1190
pop rdi
ret