Function at 0x140039bc0
Capabilities:
Set file attributes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x2b0]
sub rsp, 0x3b0
mov rax, qword [0x14024fa28]
xor rax, rsp
mov qword [rbp + 0x2a0], rax
mov r14, r8
mov rbx, rdx
mov rdx, qword [rcx + 8]
test rdx, rdx
je 0x140039fbc
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x140039c2f
mov eax, dword [rcx]
test eax, eax
je 0x140039c2f
cmp eax, 1
je 0x140039ca3
mov eax, dword [rcx + 4]
add rcx, 8
add rcx, rax
mov eax, dword [rcx]
test eax, eax
jne 0x140039c16
lea rax, [rbp + 0x98]
mov qword [rbp + 0x80], rax
mov qword [rbp + 0x88], 0x104
xor esi, esi
mov qword [rbp + 0x90], rsi
lea r9, [rbp + 0x80]
movzx r8d, byte [0x140256a90]
mov rcx, rdx
call fcn.14018c810
test eax, eax
je 0x140039e70
cmp eax, 1
je 0x140039dbe
lea rax, [rbp + 0x98]
mov rcx, qword [rbp + 0x80]
cmp rcx, rax
je 0x140039c97
test rcx, rcx
je 0x140039c97
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov edi, 0xffffffff
mov eax, edi
jmp 0x140039fcb
xor esi, esi
mov qword [rbp + 0x68], rsi
mov dword [rbp + 0x74], esi
test rbx, rbx
je 0x140039c97
cmp r14, 0x20
jne 0x140039c97
cmp dword [rbx], 0x4957494e
jne 0x140039c97
mov rax, qword [rbx + 4]
mov qword [rbp + 0x50], rax
mov rax, qword [rbx + 0xc]
mov qword [rbp + 0x60], rax
mov rax, qword [rbx + 0x14]
mov qword [rbp + 0x58], rax
mov eax, dword [rbx + 0x1c]
mov dword [rbp + 0x70], eax
lea rcx, [rbp - 0x78]
call qword [0x14024f030]
mov dword [rbp - 0x38], gethostbyaddr
mov qword [rbp - 0x30], rsi
mov dword [rbp - 0x20], 0x40
lea rax, [rbp - 0x78]
mov qword [rbp - 0x28], rax
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x18], xmm0
mov dword [rsp + 0x50], esi
mov qword [rsp + 0x48], rsi
mov dword [rsp + 0x40], r14d
mov dword [rsp + 0x38], 1
mov dword [rsp + 0x30], 7
mov dword [rsp + 0x28], 0x80
mov qword [rsp + 0x20], rsi
lea r9, [rbp - 0x68]
lea r8, [rbp - 0x38]
mov edx, 0x100180
lea rcx, [rsp + 0x60]
call qword [0x1401ea4c0]
test eax, eax
jns 0x140039d6f
lfence
mov ecx, eax
call qword [0x14024f040]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov edi, 0xffffffff
mov eax, edi
jmp 0x140039fcb
mov dword [rsp + 0x20], 4
mov r9d, 0x28
lea r8, [rbp + 0x50]
lea rdx, [rbp - 0x68]
mov rcx, qword [rsp + 0x60]
call qword [0x1401e9e28]
mov ebx, eax
mov ecx, eax
call qword [0x14024f040]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, qword [rsp + 0x60]
call qword [0x1401e9888]
mov edi, esi
test ebx, ebx
setns dil
dec edi
mov eax, edi
jmp 0x140039fcb
mov r15, qword [rbp + 0x80]
mov edi, 0xffffffff
test rbx, rbx
je 0x140039f50
cmp r14, 0x20
jne 0x140039f50
cmp dword [rbx], 0x4957494e
jne 0x140039f50
mov rax, qword [rbx + 4]
mov qword [rbp - 0x80], rax
mov rax, qword [rbx + 0xc]
mov qword [rsp + 0x70], rax
mov rax, qword [rbx + 0x14]
mov qword [rsp + 0x78], rax
mov r14d, dword [rbx + 0x1c]
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0x100
lea r8d, [rdi + 4]
mov rcx, r15
call qword [case.0x1401ba071.53]
mov rbx, rax
test rax, rax
je 0x140039f50
lea r9, [rsp + 0x70]
lea r8, [rsp + 0x78]
lea rdx, [rbp - 0x80]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFileTime]
mov rcx, rbx
call qword [case.0x1401b9e8b.6]
mov edx, r14d
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov edi, esi
jmp 0x140039f50
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x28], xmm0
movups xmmword [rbp + 0x38], xmm0
mov qword [rbp + 0x48], rax
test rbx, rbx
je 0x140039f4b
cmp r14, 0x20
jne 0x140039f4b
cmp dword [rbx], 0x4957494e
jne 0x140039f4b
mov rax, qword [rbx + 4]
mov qword [rbp + 0x28], rax
mov rax, qword [rbx + 0xc]
mov qword [rbp + 0x38], rax
mov rax, qword [rbx + 0x14]
mov qword [rbp + 0x30], rax
mov eax, dword [rbx + 0x1c]
mov dword [rbp + 0x48], eax
mov rdx, qword [rbp + 0x80]
lea rcx, [rbp - 0x58]
call qword [0x14024f030]
mov dword [rbp - 8], gethostbyaddr
mov qword [rbp], rsi
mov dword [rbp + 0x10], 0x40
lea rax, [rbp - 0x58]
mov qword [rbp + 8], rax
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x18], xmm0
mov dword [rsp + 0x50], esi
mov qword [rsp + 0x48], rsi
mov dword [rsp + 0x40], r14d
mov dword [rsp + 0x38], 1
mov dword [rsp + 0x30], 7
mov dword [rsp + 0x28], 0x80
mov qword [rsp + 0x20], rsi
lea r9, [rbp - 0x48]
lea r8, [rbp - 8]
mov edx, 0x100180
lea rcx, [rsp + 0x68]
call qword [0x1401ea4c0]
test eax, eax
jns 0x140039f72
lfence
mov ecx, eax
call qword [0x14024f040]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov edi, 0xffffffff
lea rax, [rbp + 0x98]
mov rcx, qword [rbp + 0x80]
cmp rcx, rax
je 0x140039f6e
test rcx, rcx
je 0x140039f6e
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov eax, edi
jmp 0x140039fcb
mov dword [rsp + 0x20], 4
mov r9d, 0x28
lea r8, [rbp + 0x28]
lea rdx, [rbp - 0x48]
mov rcx, qword [rsp + 0x68]
call qword [0x1401e9e28]
mov ebx, eax
mov ecx, eax
call qword [0x14024f040]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, qword [rsp + 0x68]
call qword [0x1401e9888]
mov edi, esi
test ebx, ebx
setns dil
dec edi
jmp 0x140039f50
mov ecx, reloc.WS2_32.dll_inet_addr
call fcn.14018f3e0
mov eax, 0xffffffff
mov rcx, qword [rbp + 0x2a0]
xor rcx, rsp
call fcn.1401c5190
lea r11, [rsp + 0x3b0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret