joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14009e2dc
Capabilities:
Set socket configuration

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x30
and dword [rsp + 0x40], 0
mov rdi, rcx
cmp word [rcx], 0x17
jne 0x14009e328
cmp dword [0x1402e9c10], 0
jne 0x14009e328
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, 1
mov r8d, 0x1a17
lea rdx, str.C:UsersDELLDesktopProjektySUPMANMeshAgentmicrostackILibParsers.c
mov dword [rsp + 0x20], eax
xor ecx, ecx
call fcn.1400a1918
xor eax, eax
jmp 0x14009e3cb
movzx ecx, word [rcx]
call qword [sym.imp.WS2_32.dll_socket]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x14009e34c
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9d, [rbx + 3]
mov r8d, 0x1a18
jmp 0x14009e30f
cmp word [rdi], 0x17
jne 0x14009e375
mov edx, 0x29
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x40]
mov rcx, rbx
lea r8d, [rdx - 0xe]
call qword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jne 0x14009e3d6
cmp word [rdi], 0x17
mov eax, 0x1c
mov rdx, rdi
mov rcx, rbx
lea r8d, [rax - 0xc]
cmove r8d, eax
call qword [sym.imp.WS2_32.dll_bind]
test eax, eax
je 0x14009e3c8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, 3
lea rdx, str.C:UsersDELLDesktopProjektySUPMANMeshAgentmicrostackILibParsers.c
mov r8d, 0x1a25
mov dword [rsp + 0x20], eax
xor ecx, ecx
call fcn.1400a1918
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_closesocket]
jmp 0x14009e321
mov rax, rbx
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
and dword [rsp + 0x20], 0
lea rdx, str.C:UsersDELLDesktopProjektySUPMANMeshAgentmicrostackILibParsers.c
mov r9d, eax
mov r8d, 0x1a1c
xor ecx, ecx
call fcn.1400a1918
mov ecx, 0xfd
call fcn.1401d00dc
int3
Function at 0x1400a0fc4
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
push rdi
sub rsp, 0x30
mov rsi, rcx
mov dword [rax - 0x10], 0x1000
mov r8, rdx
lea rdi, [0x1402edca0]
xor ebx, ebx
mov qword [rax - 0x18], rdi
and qword [rax + 0x18], rbx
xor edx, edx
mov ecx, 0xfde9
or r9d, 0xffffffff
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea r8, [0x14025c33c]
mov rdx, rdi
lea rcx, [rsp + 0x50]
call fcn.1401d4a78
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x1400a10a7
xor edx, edx
lea r8d, [rbx + 2]
call fcn.1401d5604
mov rcx, qword [rsp + 0x50]
call fcn.1401d0638
cmp eax, 0x7fffffff
jge 0x1400a1051
mov rcx, qword [rsp + 0x50]
call fcn.1401d0638
mov ebx, eax
test eax, eax
js 0x1400a10a7
mov rcx, qword [rsp + 0x50]
xor r8d, r8d
xor edx, edx
call fcn.1401d5604
lea eax, [rbx + 1]
movsxd rcx, eax
call fcn.1401d7f54
mov rdi, rax
test rax, rax
je 0x1400a10bd
test ebx, ebx
je 0x1400a108f
mov r9, qword [rsp + 0x50]
mov edx, 1
mov r8d, ebx
mov rcx, rax
call fcn.1401d7e8c
mov rbx, rax
movsxd rcx, ebx
mov byte [rcx + rdi], 0
mov rcx, qword [rsp + 0x50]
call fcn.1401d52bc
mov eax, ebx
mov qword [rsi], rdi
jmp 0x1400a10ad
and qword [rsi], 0
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, 0xfe
lea rdx, str.C:UsersDELLDesktopProjektySUPMANMeshAgentmicrostackILibParsers.c
mov ebx, 0x246d
mov dword [rsp + 0x20], eax
mov r9d, edi
mov r8d, ebx
xor ecx, ecx
call fcn.1400a1918
mov r8d, ebx
lea rdx, str.C:UsersDELLDesktopProjektySUPMANMeshAgentmicrostackILibParsers.c
lea rcx, str.CRITICALEXIT__FILE:__s__LINE:__d_r_n
call fcn.140001128
mov ecx, edi
call fcn.1401d00dc
int3

Function at 0x1400a1104
Capabilities:
Copy file

Disassembly:
push rbx
mov eax, 0x4040
call fcn.1401c9cb0
sub rsp, rax
mov rax, qword [0x1402e8ed8]
xor rax, rsp
mov qword [rsp + 0x4030], rax
mov rbx, rdx
mov dword [rsp + 0x28], 0x1000
lea rax, [rsp + 0x2030]
mov r8, rcx
xor edx, edx
mov qword [rsp + 0x20], rax
mov ecx, 0xfde9
or r9d, 0xffffffff
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea rax, [rsp + 0x30]
mov dword [rsp + 0x28], 0x1000
or r9d, 0xffffffff
mov qword [rsp + 0x20], rax
mov r8, rbx
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor r8d, r8d
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x2030]
call qword [sym.imp.KERNEL32.dll_CopyFileW]
xor ecx, ecx
test eax, eax
sete cl
mov eax, ecx
mov rcx, qword [rsp + 0x4030]
xor rcx, rsp
call fcn.1401c9740
add rsp, 0x4040
pop rbx
ret
Function at 0x1400a1918
Capabilities:
Write file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x88
mov rax, qword [0x1402e8ed8]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov rdi, rdx
mov rbx, rcx
mov edx, 0x20
lea rcx, [rsp + 0x58]
mov ebp, r9d
mov esi, r8d
call fcn.1400a1264
mov rax, qword [0x1402ec7d8]
lea rcx, [0x14025b82d]
lea r9, [rsp + 0x58]
mov edx, 0x1000
test rdi, rdi
je 0x1400a19a9
mov qword [rsp + 0x48], rbx
lea r8, str._r_n__s____s___s:_d___d__d___s
test rax, rax
cmovne rcx, rax
mov eax, dword [rsp + 0xd0]
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x38], ebp
mov dword [rsp + 0x30], esi
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rcx
lea rcx, [0x1402ecca0]
call fcn.1400011e0
jmp 0x1400a19cd
test rax, rax
mov qword [rsp + 0x28], rbx
lea r8, str._r_n__s____s___s
cmovne rcx, rax
mov qword [rsp + 0x20], rcx
lea rcx, [0x1402ecca0]
call fcn.1400011e0
mov ebx, eax
lea eax, [rax - 1]
cmp eax, 0xffe
ja 0x1400a1a4c
mov r8, qword [0x1402ec7a0]
test r8, r8
je 0x1400a1a4c
and qword [rsp + 0x50], 0
lea rdi, [0x1402edca0]
mov dword [rsp + 0x28], 0x1000
or r9d, 0xffffffff
xor edx, edx
mov qword [rsp + 0x20], rdi
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea r8, [0x1402c58d8]
mov rdx, rdi
lea rcx, [rsp + 0x50]
call fcn.1401d4a78
mov r9, qword [rsp + 0x50]
test r9, r9
je 0x1400a1a4c
movsxd r8, ebx
lea rcx, [0x1402ecca0]
mov edx, 1
call fcn.1401d6918
mov rcx, qword [rsp + 0x50]
call fcn.1401d52bc
lea rax, [0x1402ecca0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1401c9740
add rsp, 0x88
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400a330c
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
movsxd rdi, edx
mov rbx, rcx
mov rcx, rdi
mov rsi, r9
mov rbp, r8
call fcn.1401d7f54
mov qword [rbx], rax
mov r9, rax
test rax, rax
je 0x1400a33f6
mov rax, qword [rsp + 0x70]
mov qword [rbx + 0x68], rax
mov rax, qword [rsp + 0x78]
mov qword [rbx + 8], rdi
mov qword [rbx + 0x50], rbp
mov qword [rbx + 0x60], rsi
test rax, rax
je 0x1400a3369
mov qword [rbx + 0xc0], rax
mov r8, qword [rbx + 0x90]
test r8, r8
je 0x1400a33ac
mov rax, qword [rbx + 0xc0]
mov rcx, qword [rbx + 0x38]
mov rdx, qword [rbx + 0x80]
mov qword [rsp + 0x38], rax
lea rax, [fcn.1400a2e74]
mov qword [rsp + 0x30], rbx
mov rcx, qword [rcx + 0x20]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], edi
call fcn.14009b930
jmp 0x1400a33e1
xor r9d, r9d
xor ecx, ecx
lea edx, [r9 + 1]
mov r8d, edx
call qword [sym.imp.KERNEL32.dll_CreateEventA]
and qword [rsp + 0x28], 0
lea r8, [0x1400a2c98]
and dword [rsp + 0x20], 0
mov r9, rbx
xor edx, edx
mov qword [rbx + 0x78], rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, 0xfe
lea rdx, str.C:UsersDELLDesktopProjektySUPMANMeshAgentmicrostackILibProcessPipe.c
mov ebx, 0x544
mov dword [rsp + 0x20], eax
mov r9d, edi
mov r8d, ebx
xor ecx, ecx
call fcn.1400a1918
mov r8d, ebx
lea rdx, str.C:UsersDELLDesktopProjektySUPMANMeshAgentmicrostackILibProcessPipe.c
lea rcx, str.CRITICALEXIT__FILE:__s__LINE:__d_r_n
call fcn.140001128
mov ecx, edi
call fcn.1401d00dc
int3
Function at 0x1400a3650
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x30
mov esi, r8d
mov rbp, rdx
mov rbx, rcx
mov edi, 0xfffffffc
test rcx, rcx
je 0x1400a37b3
mov rcx, qword [rcx + 0x48]
test rcx, rcx
jne 0x1400a3695
call fcn.14009fd5c
mov rcx, rax
mov qword [rbx + 0x48], rax
mov r14d, 1
jmp 0x1400a369f
pause
xor eax, eax
lock cmpxchg dword [rcx], r14d
je 0x1400a369d
mov rcx, qword [rbx + 0x48]
call fcn.14009fea4
test rax, rax
je 0x1400a36d4
mov edx, esi
mov rcx, rbp
call fcn.1400a1b4c
mov rcx, qword [rbx + 0x48]
xor r8d, r8d
mov rdx, rax
call fcn.1400a008c
jmp 0x1400a3766
mov rax, qword [rbx + 0x90]
xor r9d, r9d
mov rcx, qword [rbx + 0x88]
mov r8d, esi
mov rdx, rbp
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
cmp eax, r14d
jne 0x1400a3700
mov edi, r14d
jmp 0x1400a3766
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x1400a3772
mov edx, esi
mov rcx, rbp
xor edi, edi
call fcn.1400a1b4c
mov rcx, qword [rbx + 0x48]
xor r8d, r8d
mov rdx, rax
call fcn.1400a008c
mov edx, 0x605
lea rcx, str.C:UsersDELLDesktopProjektySUPMANMeshAgentmicrostackILibProcessPipe.c
call fcn.14009b538
mov rdx, qword [rbx + 0x90]
lea r9, [0x1400a2a54]
mov rcx, qword [rbx + 0x38]
or r8d, 0xffffffff
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
mov rdx, qword [rdx + 0x18]
mov rcx, qword [rcx + 0x20]
call fcn.14009beec
mov rcx, qword [rbx + 0x48]
mov dword [rcx], 0
jmp 0x1400a37b3
mov rax, qword [rbx + 0x48]
mov dword [rax], 0
mov rax, qword [rbx + 0x58]
test rax, rax
je 0x1400a37ab
mov rcx, qword [rbx + 0x38]
test rcx, rcx
je 0x1400a37a6
mov rdx, qword [rbx + 0x90]
mov rcx, qword [rcx + 0x20]
mov rdx, qword [rdx + 0x18]
call fcn.14009c0b8
mov rax, qword [rbx + 0x58]
mov rcx, rbx
call rax
mov rcx, rbx
call fcn.1400a1d5c
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop r14
ret
Function at 0x1400a3c74
Capabilities:
Clear file content
Write file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x78
mov rax, qword [0x1402e8ed8]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rdi, qword [rsp + 0xe8]
mov r15, rdx
xor edx, edx
movsxd r14, r8d
mov rsi, r9
mov rbx, rcx
lea r8d, [rdx + 2]
call fcn.1401d5604
mov rcx, rbx
call fcn.1401d0628
movsxd rbp, dword [rsp + 0xe0]
mov r12, rax
lea ecx, [rbp + 0x3c]
add ecx, r14d
call qword [sym.imp.WS2_32.dll_htonl]
mov ecx, r14d
mov dword [rsp + 0x20], eax
call qword [sym.imp.WS2_32.dll_htonl]
mov ecx, ebp
mov dword [rsp + 0x24], eax
call qword [sym.imp.WS2_32.dll_htonl]
mov dword [rsp + 0x28], eax
test rdi, rdi
je 0x1400a3d10
movups xmm0, xmmword [rdi]
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rsp + 0x2c], xmm0
movups xmm0, xmmword [rdi + 0x20]
movups xmmword [rsp + 0x3c], xmm1
movups xmmword [rsp + 0x4c], xmm0
jmp 0x1400a3d22
xorps xmm0, xmm0
movups xmmword [rsp + 0x2c], xmm0
movups xmmword [rsp + 0x3c], xmm0
movups xmmword [rsp + 0x4c], xmm0
mov r8d, 0x3c
lea rcx, [rsp + 0x20]
mov r9, rbx
lea r13d, [r8 - 0x3b]
mov edx, r13d
call fcn.1401d6918
mov r9, rbx
mov r8, r14
mov edx, r13d
mov rcx, r15
mov rdi, rax
call fcn.1401d6918
mov rcx, rbx
add rdi, rax
call fcn.1401d0628
mov r15, rax
test rsi, rsi
je 0x1400a3d77
mov r8, rbp
mov r9, rbx
mov edx, r13d
mov rcx, rsi
call fcn.1401d6918
add rdi, rax
mov rcx, rbx
call fcn.1401de350
neg rsi
lea rdx, [r14 + 0x3c]
sbb eax, eax
and eax, ebp
cdqe
add rdx, rax
cmp rdi, rdx
jae 0x1400a3dd1
mov rcx, rbx
call fcn.1401e2700
mov ecx, eax
call fcn.1401e1ec8
mov rcx, rax
xor r9d, r9d
xor r8d, r8d
mov rdx, r12
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
mov rcx, rbx
call fcn.1401e2700
mov ecx, eax
call fcn.1401e1ec8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
xor eax, eax
jmp 0x1400a3dd4
mov rax, r15
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1401c9740
add rsp, 0x78
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400a3df4
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
mov eax, 0x1140
call fcn.1401c9cb0
sub rsp, rax
mov rax, qword [0x1402e8ed8]
xor rax, rsp
mov qword [rsp + 0x1130], rax
mov ebx, edx
mov rsi, rcx
test rcx, rcx
je 0x1400a3e8e
lea rdi, [rcx + 0x18]
mov rcx, qword [rcx]
call fcn.1401d0628
mov rbp, rax
cmp rax, qword [rsi + 0x1020]
je 0x1400a3e8e
cmp ebx, 0x20
je 0x1400a3e5e
mov eax, 0x3c
cmp ebx, 0x40
lea r14d, [rax + 0xc]
cmovne r14d, eax
jmp 0x1400a3e64
mov r14d, 0x40
mov r9, qword [rsi]
mov r12d, 1
mov edx, r12d
mov r8, r14
mov rcx, rdi
call fcn.1401d7e8c
cmp eax, r14d
jge 0x1400a3ebc
mov rcx, qword [rsi]
mov rdx, rbp
xor r8d, r8d
call fcn.1401d55fc
xor eax, eax
mov rcx, qword [rsp + 0x1130]
xor rcx, rsp
call fcn.1401c9740
lea r11, [rsp + 0x1140]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
mov ecx, dword [rdi]
call qword [sym.imp.WS2_32.dll_ntohl]
mov ecx, dword [rdi + 4]
mov dword [rdi], eax
call qword [sym.imp.WS2_32.dll_ntohl]
mov ecx, dword [rdi + 8]
mov dword [rdi + 4], eax
call qword [sym.imp.WS2_32.dll_ntohl]
movsxd rbx, dword [rdi + 4]
mov dword [rdi + 8], eax
mov rcx, qword [rsi]
call fcn.1401d0628
add rax, rbx
mov qword [rdi - 8], rax
mov eax, 0xff8
mov r9, qword [rsi]
sub eax, r14d
cmp ebx, eax
jle 0x1400a3f08
mov rcx, r9
jmp 0x1400a3e83
lea rcx, [r14 + rdi]
mov r8, rbx
mov rdx, r12
call fcn.1401d7e8c
cmp eax, dword [rdi + 4]
jne 0x1400a3e80
mov ebx, dword [rdi + 8]
lea rcx, [rsp + 0x20]
call fcn.1400befe0
test ebx, ebx
jle 0x1400a3f77
mov r15d, 0x1000
mov r9, qword [rsi]
lea rcx, [rsp + 0x130]
mov r8d, ebx
cmp ebx, r15d
mov rdx, r12
cmova r8d, r15d
call fcn.1401d7e8c
mov r14, rax
test eax, eax
jle 0x1400a3f77
movsxd r8, r14d
lea rdx, [rsp + 0x130]
lea rcx, [rsp + 0x20]
call fcn.1400bf070
sub ebx, r14d
test ebx, ebx
jg 0x1400a3f37
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x100]
call fcn.1400befc0
cmp dword [rdi + 8], 0
jle 0x1400a3fd0
lea rcx, [rdi + 0xc]
mov r8d, 0x30
lea rdx, [rsp + 0x100]
call fcn.1401cbe70
test eax, eax
je 0x1400a3fd0
movsxd rbx, dword [rdi + 4]
cmp ebx, 4
jbe 0x1400a3e80
lea r8d, [rbx - 4]
xor ecx, ecx
lea rdx, [rdi + 0x3c]
call fcn.1400b3bc4
cmp eax, dword [rbx + rdi + 0x38]
jne 0x1400a3e80
mov rax, rdi
jmp 0x1400a3e90
Function at 0x1400a451c
Capabilities:
Check if file exists

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
push rdi
sub rsp, 0x40
mov rsi, rcx
mov dword [rax - 0x20], 0x1000
or r9d, 0xffffffff
lea rdi, [0x1402edca0]
test r8d, r8d
mov qword [rax - 0x28], rdi
mov r8, rsi
mov ecx, 0xfde9
jne 0x1400a4653
test edx, edx
je 0x1400a457a
xor edx, edx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
and qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 5
jmp 0x1400a459b
xor edx, edx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
and qword [rsp + 0x30], 0
mov r8d, 3
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], r8d
xor r9d, r9d
mov edx, 0xc0000000
mov rcx, rdi
lea r8d, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x1400a4613
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x1400a4613
mov dword [rsp + 0x28], 0x1000
or r9d, 0xffffffff
mov r8, rsi
mov qword [rsp + 0x20], rdi
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
and qword [rsp + 0x30], 0
xor r9d, r9d
mov dword [rsp + 0x28], 0x80
mov edx, 0xc0000000
mov rcx, rdi
mov dword [rsp + 0x20], 1
lea r8d, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
mov edx, 2
mov rcx, rbx
call fcn.1401e1f40
cmp eax, 0xffffffff
je 0x1400a4638
lea rdx, str.wbN
mov ecx, eax
call fcn.1401e26f8
test rax, rax
jne 0x1400a4643
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
xor edx, edx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
and qword [rsp + 0x30], 0
mov r8d, 3
mov dword [rsp + 0x28], 0x80
xor r9d, r9d
mov edx, 0x80000000
mov dword [rsp + 0x20], r8d
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400a4641
xor edx, edx
mov rcx, rax
call fcn.1401e1f40
cmp eax, 0xffffffff
je 0x1400a4638
lea rdx, [0x1402bfaf8]
jmp 0x1400a462c
Function at 0x1400a5768
Capabilities:
Copy file
Delete file

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r14
mov eax, 0x2070
call fcn.1401c9cb0
sub rsp, rax
mov rax, qword [0x1402e8ed8]
xor rax, rsp
mov qword [rsp + 0x2060], rax
xor ebp, ebp
mov rbx, rcx
test rcx, rcx
je 0x1400a5912
mov rax, qword [rcx + 0x1030]
cmp qword [rcx + 0x1028], rax
jb 0x1400a5912
mov rcx, qword [rcx + 8]
test rcx, rcx
je 0x1400a5912
or r12, 0xffffffffffffffff
lea r8, str..tmp
mov r9, r12
mov rdx, r12
call fcn.1400a0df0
lea edi, [rbp + 1]
xor r8d, r8d
mov edx, edi
mov rcx, rax
mov rsi, rax
call fcn.1400a451c
mov r14, rax
test rax, rax
jne 0x1400a580a
mov rcx, rsi
call fcn.1401d6b80
mov eax, edi
jmp 0x1400a5917
mov rcx, qword [rbx + 0x1010]
lea rax, [0x1400a5524]
and dword [rbx + 0x1050], ebp
lea r8, [rsp + 0x40]
mov qword [rsp + 0x48], rax
lea rdx, [0x1400a038c]
mov qword [rsp + 0x30], rbx
lea rax, [rsp + 0x30]
mov qword [rsp + 0x38], r14
xor r9d, r9d
mov qword [rsp + 0x40], rcx
mov rcx, qword [rcx]
mov qword [rsp + 0x50], rax
call fcn.1400a09f0
cmp dword [rbx + 0x1050], ebp
jne 0x1400a5906
mov rcx, qword [rbx]
call fcn.1401d52bc
mov rcx, r14
call fcn.1401d52bc
lea rax, [rsp + 0x60]
mov r14d, 0x1000
mov dword [rsp + 0x28], r14d
mov r9d, r12d
mov r8, rsi
mov qword [rsp + 0x20], rax
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov r8, qword [rbx + 8]
mov r9d, r12d
mov dword [rsp + 0x28], r14d
xor edx, edx
lea r14, [0x1402edca0]
mov ecx, 0xfde9
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor r8d, r8d
lea rcx, [rsp + 0x60]
mov rdx, r14
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
lea rcx, [rsp + 0x60]
cmove ebp, edi
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov rcx, qword [rbx + 8]
xor r8d, r8d
xor edx, edx
call fcn.1400a451c
mov qword [rbx], rax
test rax, rax
je 0x1400a5904
mov rcx, rax
call fcn.1401d0628
mov qword [rbx + 0x1020], rax
jmp 0x1400a5906
mov ebp, edi
mov rcx, rsi
call fcn.1401d6b80
mov eax, ebp
jmp 0x1400a5917
mov eax, 1
mov rcx, qword [rsp + 0x2060]
xor rcx, rsp
call fcn.1401c9740
lea r11, [rsp + 0x2070]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop r12
pop rdi
ret
Function at 0x1400a6b4c
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1098
call fcn.1401c9cb0
sub rsp, rax
mov rax, qword [0x1402e8ed8]
xor rax, rsp
mov qword [rsp + 0x1080], rax
mov r14d, r9d
mov qword [rsp + 0x68], r8
mov r12, r8
mov r15d, edx
mov rdi, rcx
call fcn.140098e0c
xor ebp, ebp
lea r13d, [rbp - 4]
test eax, eax
je 0x1400a6d8e
mov rcx, qword [rdi + 0x3d8]
mov esi, r13d
call fcn.14009c880
mov ebx, ebp
test r14d, r14d
jne 0x1400a6bbf
or edx, 0xffffffff
lea ecx, [r15 - 9]
cmp ecx, 1
cmovbe ebx, edx
cmp qword [rdi + 0x3e0], rbp
je 0x1400a6d8e
test rax, rax
je 0x1400a6d8e
mov rcx, rax
call fcn.1400a6aa0
mov rcx, qword [rdi + 0x3e0]
mov r13, rax
mov r8d, 1
jmp 0x1400a6bf1
pause
xor eax, eax
lock cmpxchg dword [rcx + 0x288], r8d
je 0x1400a6bef
cmp ebx, r14d
jge 0x1400a6d7d
mov edx, 0x1000
mov ecx, 0x80
test ebx, ebx
mov eax, ebp
mov esi, r14d
cmovns eax, ebx
sub esi, eax
movsxd rbp, eax
add rbp, r12
cmp esi, edx
cmovg esi, edx
xor edx, edx
lea ebx, [rsi + rax]
mov eax, dword [r13 + 4]
cmp ebx, r14d
jl 0x1400a6c4d
test eax, eax
jne 0x1400a6c40
movzx eax, r15w
jmp 0x1400a6c46
mov dword [r13 + 4], edx
mov eax, edx
mov ecx, 0x8080
jmp 0x1400a6c5e
test eax, eax
jne 0x1400a6c5b
mov dword [r13 + 4], r8d
movzx eax, r15w
jmp 0x1400a6c5e
movzx eax, dx
movzx edx, cx
mov r9d, esi
lea rcx, [rsp + 0x70]
movzx r8d, ax
call fcn.1400b3e18
mov edx, 4
movsxd r12, eax
lea rcx, [rsp + 0x60]
call fcn.1400d83d0
xor eax, eax
test esi, esi
jle 0x1400a6d03
movsxd rcx, esi
lea r9d, [rax + 1]
sar rcx, 2
mov edx, eax
mov r8d, eax
test rcx, rcx
jle 0x1400a6cba
mov edx, ecx
mov eax, dword [rsp + 0x60]
xor eax, dword [rbp + r8*4]
mov dword [rsp + r8*4 + 0x80], eax
add r8, r9
cmp r8, rcx
jl 0x1400a6ca1
shl edx, 2
cmp edx, esi
jge 0x1400a6d03
movsxd rax, edx
lea r8, [rsp + 0x80]
add r8, rax
lea rax, [rsp + 0x80]
sub rbp, rax
mov eax, edx
and eax, 0x80000003
jge 0x1400a6cec
sub eax, r9d
or eax, 0xfffffffc
add eax, r9d
cdqe
add edx, r9d
mov cl, byte [rsp + rax + 0x60]
xor cl, byte [r8 + rbp]
mov byte [r8], cl
add r8, r9
cmp edx, esi
jl 0x1400a6cda
mov rcx, qword [rdi + 0x3e0]
lea r9, [rsp + 0x70]
mov edx, 2
movsxd rax, esi
mov dword [rsp + 0x58], edx
mov r8d, 0x40000003
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x60]
mov dword [rsp + 0x40], edx
mov qword [rsp + 0x38], 4
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], edx
xor edx, edx
mov qword [rsp + 0x20], r12
call fcn.140094088
mov r12, qword [rsp + 0x68]
mov ebp, 0
mov esi, eax
mov ecx, 0x80
mov edx, 0x1000
lea r8d, [rbp + 1]
cmp ebx, r14d
jl 0x1400a6c11
mov rcx, qword [rdi + 0x3e0]
mov eax, esi
mov dword [rcx + 0x288], ebp
jmp 0x1400a6d91
mov eax, r13d
mov rcx, qword [rsp + 0x1080]
xor rcx, rsp
call fcn.1401c9740
add rsp, 0x1098
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400a9cb4
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
movsxd rbx, edx
mov rdi, rcx
lea ecx, [rbx - 0xc]
call qword [sym.imp.WS2_32.dll_htons]
mov ecx, 0x8028
mov word [rdi + 2], ax
lea rsi, [rdi + rbx]
call qword [sym.imp.WS2_32.dll_htons]
mov ecx, 4
mov word [rsi], ax
call qword [sym.imp.WS2_32.dll_htons]
or edx, 0xffffffff
mov word [rsi + 2], ax
test ebx, ebx
je 0x1400a9d1e
movsx ecx, byte [rdi]
mov eax, edx
xor rcx, rax
shr edx, 8
movzx eax, cl
inc rdi
lea rcx, [0x1402644e0]
xor edx, dword [rcx + rax*4]
sub ebx, 1
jne 0x1400a9cfe
xor edx, 0xacabaab1
mov ecx, edx
call qword [sym.imp.WS2_32.dll_htonl]
mov rbx, qword [rsp + 0x30]
mov dword [rsi + 4], eax
mov eax, 8
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x1400b301c
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x40
mov rax, qword [0x1402e8ed8]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbp, rcx
mov rbx, r9
movsx ecx, byte [rcx + 1]
sub ecx, 1
je 0x1400b30fb
cmp ecx, 1
jne 0x1400b3122
xor edi, edi
mov dword [rsp + 0x20], 0x2112a442
test r8, r8
je 0x1400b3076
movsd xmm0, qword [r8]
mov eax, dword [r8 + 8]
movsd qword [rsp + 0x24], xmm0
mov dword [rsp + 0x2c], eax
jmp 0x1400b3091
xor eax, eax
mov qword [rsp + 0x24], rax
mov dword [rsp + 0x2c], eax
call fcn.1401d6a54
mov dword [rax], reloc.WS2_32.dll_shutdown
call fcn.1401d5820
xor eax, eax
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rax
mov r14, rbp
mov dword [rbx + 0x18], eax
sub r14, rbx
mov eax, reloc.WS2_32.dll_socket
mov word [rbx], ax
lea esi, [rax - 7]
mov ecx, esi
call qword [sym.imp.WS2_32.dll_htonl]
cmp eax, esi
jne 0x1400b30df
lea rdx, [rsp + 0x20]
sub rdx, rbx
lea rcx, [rbx + 8]
mov al, byte [rdx + rcx - 8]
xor al, byte [r14 + rcx - 4]
mov byte [rcx], al
inc rcx
sub rsi, 1
jne 0x1400b30c9
jmp 0x1400b3122
lea rcx, [rbx + 0x17]
mov al, byte [r14 + rcx - 4]
xor al, byte [rsp + rdi + 0x20]
inc rdi
mov byte [rcx], al
dec rcx
cmp rdi, rsi
jl 0x1400b30e3
jmp 0x1400b3122
mov ecx, dword [rbp + 4]
call qword [sym.imp.WS2_32.dll_ntohl]
mov ecx, 2
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
xor eax, 0x2112a442
mov word [rbx], cx
mov ecx, eax
call qword [sym.imp.WS2_32.dll_htonl]
mov dword [rbx + 4], eax
movzx ecx, word [rbp + 2]
call qword [sym.imp.WS2_32.dll_ntohs]
mov ecx, 0x2112
xor cx, ax
call qword [sym.imp.WS2_32.dll_htons]
mov word [rbx + 2], ax
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1401c9740
add rsp, 0x40
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret