Function at 0x1400ad8a0
Capabilities:
Get file attributes
Set file attributes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x140]
sub rsp, 0x240
mov rax, qword [0x1402e1040]
xor rax, rsp
mov qword [rbp + 0x130], rax
mov rdi, rcx
xor esi, esi
mov dword [rbp + 0x90], 0x3ebb6f64
mov dword [rbp + 0x94], 0x286efe46
mov dword [rbp + 0x98], 0xfe14affc
mov dword [rbp + 0x9c], 0x2350db9c
mov dword [rbp + 0xa0], 0xd5450e11
mov dword [rbp + 0xa4], 0xb54e97d8
mov dword [rbp + 0xa8], 0x95a03b97
mov dword [rbp + 0xac], 0x23dd742e
mov qword [rsp + 0x38], rsi
mov rax, qword [rsp + 0x38]
nop
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x38]
movzx edx, byte [rbp + rcx + 0x90]
sub dl, byte [rbp + rax + 0xa0]
mov byte [rsp + 0x30], dl
movzx ecx, byte [rsp + 0x30]
mov rax, qword [rsp + 0x38]
mov byte [rbp + rax + 0xe0], cl
mov rax, qword [rsp + 0x38]
inc rax
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp rax, 0x10
jb 0x1400ad930
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
mov r8d, reloc.WS2_32.dll_ntohs
lea rdx, [rbp + 0xe0]
lea rcx, [rsp + 0x40]
call fcn.140049eb0
nop
lea rax, [rsp + 0x40]
cmp qword [rsp + 0x58], 0xf
cmova rax, qword [rsp + 0x40]
mov qword [rbp + 0xe0], rax
mov rax, qword [rsp + 0x50]
mov qword [rbp + 0xe8], rax
movaps xmm0, xmmword [rbp + 0xe0]
movdqa xmmword [rbp + 0xe0], xmm0
lea rdx, [rbp + 0xe0]
call fcn.140066c00
nop
lea rcx, [rsp + 0x40]
call fcn.140063ba0
lea rdx, [rbp + 0xb0]
call fcn.14008f300
nop
mov dword [rsp + 0x40], 0x74ff827f
mov dword [rsp + 0x44], 0xea9da153
mov dword [rsp + 0x48], 0xa67962b7
mov dword [rsp + 0x4c], 0x109e1333
mov dword [rsp + 0x50], 0x806f2fee
mov dword [rsp + 0x54], 0xa60bf344
mov qword [rsp + 0x38], rsi
mov rax, qword [rsp + 0x38]
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x38]
movzx edx, byte [rsp + rcx + 0x40]
sub dl, byte [rsp + rax + 0x4c]
mov byte [rsp + 0x30], dl
movzx ecx, byte [rsp + 0x30]
mov rax, qword [rsp + 0x38]
mov byte [rbp + rax + 0xe0], cl
mov rax, qword [rsp + 0x38]
inc rax
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp rax, 0xc
jb 0x1400ada30
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
mov r8d, listen
lea rdx, [rbp + 0xe0]
lea rcx, [rsp + 0x40]
call fcn.140049eb0
nop
lea rax, [rsp + 0x40]
cmp qword [rsp + 0x58], 0xf
cmova rax, qword [rsp + 0x40]
mov qword [rbp + 0xe0], rax
mov rax, qword [rsp + 0x50]
mov qword [rbp + 0xe8], rax
call fcn.140171104
movaps xmm0, xmmword [rbp + 0xe0]
movdqa xmmword [rbp + 0xe0], xmm0
lea r8, [rbp + 0xe0]
mov edx, eax
lea rcx, [rsp + 0x68]
call fcn.1400489a0
nop
lea rdx, [rsp + 0x68]
lea rcx, [rbp + 0xb0]
call fcn.140048c00
nop
lea rcx, [rsp + 0x68]
call fcn.140063b30
nop
lea rcx, [rsp + 0x40]
call fcn.140063ba0
mov ebx, esi
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x90], xmm0
mov qword [rbp + 0xa0], rax
mov rdx, qword [0x1402e3638]
add rdx, 0x90
lea rcx, [rbp + 0x90]
call fcn.140060200
nop
movsxd rcx, dword [rdi + 0x50]
mov rax, qword [rbp + 0x98]
mov rdx, qword [rbp + 0x90]
sub rax, rdx
sar rax, 4
cmp rcx, rax
jae 0x1400adb63
add rcx, rcx
mov rax, qword [rdx + rcx*8]
mov ebx, dword [rax]
mov dword [rsp + 0x68], 0x2617880d
mov dword [rsp + 0x6c], 0x47386a94
mov dword [rsp + 0x70], 0x3dba88a9
mov dword [rsp + 0x74], 0xfa5cefca
mov dword [rsp + 0x78], 0x9a1ecceb
mov dword [rsp + 0x7c], 0x31c1ab23
mov dword [rbp - 0x80], 0x4ae3d3f6
mov dword [rbp - 0x7c], 0x55d94b1b
mov dword [rbp - 0x78], 0x829bf783
mov word [rbp - 0x74], 0x1e68
mov qword [rsp + 0x38], rsi
mov rax, qword [rsp + 0x38]
nop dword [rax + rax]
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x38]
movzx edx, byte [rsp + rcx + 0x68]
sub dl, byte [rsp + rax + 0x7b]
mov byte [rsp + 0x30], dl
movzx ecx, byte [rsp + 0x30]
mov rax, qword [rsp + 0x38]
mov byte [rbp + rax + 0xe0], cl
mov rax, qword [rsp + 0x38]
inc rax
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp rax, 0x13
jb 0x1400adbc0
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x78], xmm1
mov r8d, reloc.WS2_32.dll_select
lea rdx, [rbp + 0xe0]
lea rcx, [rsp + 0x68]
call fcn.140049eb0
nop
lea rdx, [rsp + 0x68]
lea rcx, [rbp - 0x70]
call fcn.14006d1b0
mov qword [rbp - 0x60], rsi
mov byte [rbp - 0x58], 0
xor eax, eax
mov qword [rbp - 0x50], rax
xor edx, edx
lea rcx, [rbp - 0x50]
call fcn.140063420
mov byte [rbp - 0x58], 5
movsxd rax, ebx
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], rsi
lea rax, [rbp - 0x70]
mov qword [rbp + 0xe0], rax
lea rax, [rbp - 0x40]
mov qword [rbp + 0xe8], rax
movaps xmm0, xmmword [rbp + 0xe0]
movdqa xmmword [rbp + 0xe0], xmm0
lea rdx, [rbp + 0xe0]
lea rcx, [rbp + 0x40]
call fcn.140061050
mov qword [rbp + 0x50], rsi
mov dword [rbp + 0x100], 0x8fe08a6e
mov dword [rbp + 0x104], 0x3599f2f0
mov dword [rbp + 0x108], 0x408dbfe3
mov dword [rbp + 0x10c], 0x571ebacc
mov dword [rbp + 0x110], 0x40537380
mov dword [rbp + 0x114], 0x7425fb07
mov dword [rbp + 0x118], 0x347e8d2a
mov dword [rbp + 0x11c], 0x195884d1
mov dword [rbp + 0x120], 0xb9446ddf
mov dword [rbp + 0x124], 0xe40a0de5
mov word [rbp + 0x128], 0x7d2
mov qword [rsp + 0x38], rsi
mov rax, qword [rsp + 0x38]
nop
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x38]
movzx edx, byte [rbp + rcx + 0x100]
sub dl, byte [rbp + rax + 0x115]
mov byte [rsp + 0x30], dl
movzx ecx, byte [rsp + 0x30]
mov rax, qword [rsp + 0x38]
mov byte [rbp + rax + 0xe0], cl
mov rax, qword [rsp + 0x38]
inc rax
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp rax, 0x15
jb 0x1400add10
xorps xmm0, xmm0
movups xmmword [rbp + 0x100], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x110], xmm1
mov r8d, reloc.WS2_32.dll_sendto
lea rdx, [rbp + 0xe0]
lea rcx, [rbp + 0x100]
call fcn.140049eb0
nop
lea rdx, [rbp + 0x100]
lea rcx, [rbp + 0x10]
call fcn.14006d1b0
mov qword [rbp + 0x20], rsi
mov byte [rbp + 0x28], 0
xor eax, eax
mov qword [rbp + 0x30], rax
movsxd rbx, dword [rdi + 0x54]
xor edx, edx
lea rcx, [rbp + 0x30]
call fcn.140063420
mov byte [rbp + 0x28], 5
mov qword [rbp + 0x30], rbx
mov qword [rbp + 0x38], rsi
lea rax, [rbp + 0x10]
mov qword [rbp + 0xe0], rax
lea rax, [rbp + 0x40]
mov qword [rbp + 0xe8], rax
movaps xmm0, xmmword [rbp + 0xe0]
movdqa xmmword [rbp + 0xe0], xmm0
lea rdx, [rbp + 0xe0]
lea rcx, [rbp + 0x58]
call fcn.140061050
mov qword [rbp + 0x68], rsi
mov dword [rsp + 0x40], 0x7af88c8
mov dword [rsp + 0x44], 0x2c006a49
mov dword [rsp + 0x48], 0x50590a1d
mov dword [rsp + 0x4c], 0xa2dc6de5
mov dword [rsp + 0x50], 0x275cac00
mov dword [rsp + 0x54], 0x6ea933c
mov dword [rsp + 0x58], 0x95bec094
mov dword [rsp + 0x5c], 0x586e4e7
mov dword [rsp + 0x60], 0xac982f7b
mov qword [rsp + 0x38], rsi
mov rax, qword [rsp + 0x38]
nop dword [rax]
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x38]
movzx edx, byte [rsp + rcx + 0x40]
sub dl, byte [rsp + rax + 0x52]
mov byte [rsp + 0x30], dl
movzx ecx, byte [rsp + 0x30]
mov rax, qword [rsp + 0x38]
mov byte [rbp + rax + 0xe0], cl
mov rax, qword [rsp + 0x38]
inc rax
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp rax, 0x12
jb 0x1400ade50
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
mov r8d, reloc.WS2_32.dll_recvfrom
lea rdx, [rbp + 0xe0]
lea rcx, [rsp + 0x40]
call fcn.140049eb0
nop
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x20]
call fcn.14006d1b0
mov qword [rbp - 0x10], rsi
mov byte [rbp - 8], 0
xor eax, eax
mov qword [rbp], rax
mov ebx, dword [rdi + 0x58]
xor edx, edx
lea rcx, [rbp]
call fcn.140063420
mov byte [rbp - 8], 6
mov qword [rbp], rbx
mov qword [rbp + 8], rsi
lea rax, [rbp - 0x20]
mov qword [rbp + 0xe0], rax
lea rax, [rbp + 0x10]
mov qword [rbp + 0xe8], rax
movaps xmm0, xmmword [rbp + 0xe0]
movdqa xmmword [rbp + 0xe0], xmm0
lea rdx, [rbp + 0xe0]
lea rcx, [rbp + 0x70]
call fcn.140061050
mov qword [rbp + 0x80], rsi
lea rax, [rbp + 0x40]
mov qword [rbp + 0xe0], rax
lea rax, [rbp + 0x88]
mov qword [rbp + 0xe8], rax
movaps xmm0, xmmword [rbp + 0xe0]
movdqa xmmword [rbp + 0xe0], xmm0
lea rdx, [rbp + 0xe0]
lea rcx, [rbp + 0xd0]
call fcn.140061050
nop
lea r9, [0x1400518c0]
mov edx, Ordinal_27
mov r8d, 3
lea rcx, [rbp + 0x40]
call fcn.140171d4c
nop
lea r9, [0x1400518c0]
mov edx, Ordinal_27
mov r8d, 2
lea rcx, [rbp - 0x20]
call fcn.140171d4c
nop
lea rcx, [rsp + 0x40]
call fcn.140063ba0
nop
lea r9, [0x1400518c0]
mov edx, Ordinal_27
mov r8d, 2
lea rcx, [rbp + 0x10]
call fcn.140171d4c
nop
lea rcx, [rbp + 0x100]
call fcn.140063ba0
nop
lea r9, [0x1400518c0]
mov edx, Ordinal_27
mov r8d, 2
lea rcx, [rbp - 0x70]
call fcn.140171d4c
nop
lea rcx, [rsp + 0x68]
call fcn.140063ba0
lea rdx, [rbp + 0x100]
lea rcx, [rbp + 0xb0]
call fcn.140048e20
nop
cmp qword [rax + 0x18], 0xf
jbe 0x1400ae017
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ebx, eax
and ebx, 0xfffffffd
lea rdx, [rsp + 0x68]
lea rcx, [rbp + 0xb0]
call fcn.140048e20
cmp qword [rax + 0x18], 0xf
jbe 0x1400ae040
mov rax, qword [rax]
mov edx, ebx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea rcx, [rsp + 0x68]
call fcn.140063ba0
nop
lea rcx, [rbp + 0x100]
call fcn.140063ba0
lea rax, [rbp + 0x100]
mov qword [rsp + 0x38], rax
mov r8d, 4
lea rdx, [rbp + 0x100]
lea rcx, [rbp + 0xd0]
call fcn.140060a90
mov rbx, rax
lea rdx, [rbp + 0xb0]
lea rcx, [rsp + 0x68]
call fcn.140061c30
nop
mov r8, rbx
lea rdx, [rsp + 0x68]
call fcn.14008feb0
lea rdx, [rbp + 0x100]
lea rcx, [rbp + 0xb0]
call fcn.140048e20
nop
cmp qword [rax + 0x18], 0xf
jbe 0x1400ae0c7
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ebx, eax
or ebx, 2
lea rdx, [rsp + 0x68]
lea rcx, [rbp + 0xb0]
call fcn.140048e20
cmp qword [rax + 0x18], 0xf
jbe 0x1400ae0f0
mov rax, qword [rax]
mov edx, ebx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea rcx, [rsp + 0x68]
call fcn.140063ba0
nop
lea rcx, [rbp + 0x100]
call fcn.140063ba0
lea rdx, [rsp + 0x68]
lea rcx, [rbp + 0xb0]
call fcn.140048e20
mov rbx, rax
mov dword [rbp - 0x70], 0xd61ba854
mov dword [rbp - 0x6c], 0xabaa30d8
mov dword [rbp - 0x68], 0x85f7aec6
mov dword [rbp - 0x64], 0xab2bc051
mov dword [rbp - 0x60], 0x27307dc9
mov dword [rbp - 0x5c], 0xef635d11
mov dword [rbp - 0x58], 0x5f2176d6
mov dword [rbp - 0x54], 0x200e0f7e
mov dword [rbp - 0x50], 0x11c588e3
mov dword [rbp - 0x4c], 0x73b83301
mov dword [rbp - 0x48], 0x4537bd73
mov dword [rbp - 0x44], 0xc8b4251
mov dword [rbp - 0x40], 0x35ca4d31
mov dword [rbp - 0x3c], 0xb4101964
mov dword [rbp - 0x38], 0x86efe9ac
mov dword [rbp - 0x34], 0x3fae0f68
mov dword [rbp - 0x30], 0xf9eea00a
mov dword [rbp - 0x2c], 0x119e0b68
mov qword [rsp + 0x38], rsi
mov rax, qword [rsp + 0x38]
nop
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x38]
movzx edx, byte [rbp + rcx - 0x70]
sub dl, byte [rbp + rax - 0x4c]
mov byte [rsp + 0x30], dl
movzx ecx, byte [rsp + 0x30]
mov rax, qword [rsp + 0x38]
mov byte [rbp + rax + 0x100], cl
mov rax, qword [rsp + 0x38]
inc rax
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp rax, 0x24
jb 0x1400ae1b0
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
mov r8d, 0x23
lea rdx, [rbp + 0x100]
lea rcx, [rsp + 0x40]
call fcn.140049eb0
nop
lea rax, [rsp + 0x40]
cmp qword [rsp + 0x58], 0xf
cmova rax, qword [rsp + 0x40]
mov qword [rbp + 0xe0], rax
mov rax, qword [rsp + 0x50]
mov qword [rbp + 0xe8], rax
movaps xmm0, xmmword [rbp + 0xe0]
movdqa xmmword [rbp + 0xe0], xmm0
mov r8, rbx
lea rdx, [rbp + 0xe0]
call fcn.1400a8340
nop
lea rcx, [rsp + 0x40]
call fcn.140063ba0
nop
lea rcx, [rsp + 0x68]
call fcn.140063ba0
nop
movzx edx, byte [rbp + 0xd0]
lea rcx, [rbp + 0xd8]
call fcn.140063420
nop
lea rcx, [rbp + 0x90]
call fcn.14005fac0
nop
lea rcx, [rbp + 0xb0]
call fcn.140063b30
mov rcx, qword [rbp + 0x130]
xor rcx, rsp
call fcn.140171bd0
lea r11, [rsp + 0x240]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret