joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140093f94
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 0x140093fe0
cmp dword [0x1402bac38], 0
jne 0x140093fe0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, 1
mov r8d, 0x199f
lea rdx, str...microstackILibParsers.c
mov dword [rsp + 0x20], eax
xor ecx, ecx
call fcn.1400975c8
xor eax, eax
jmp 0x140094083
movzx ecx, word [rcx]
call qword [sym.imp.WS2_32.dll_socket]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x140094004
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9d, [rbx + 3]
mov r8d, 0x19a0
jmp 0x140093fc7
cmp word [rdi], 0x17
jne 0x14009402d
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 0x14009408e
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 0x140094080
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, 3
lea rdx, str...microstackILibParsers.c
mov r8d, 0x19ad
mov dword [rsp + 0x20], eax
xor ecx, ecx
call fcn.1400975c8
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_closesocket]
jmp 0x140093fd9
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...microstackILibParsers.c
mov r9d, eax
mov r8d, 0x19a4
xor ecx, ecx
call fcn.1400975c8
mov ecx, 0xfd
call fcn.1401c3818
int3
Function at 0x140096c3c
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, [0x1402be900]
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, [0x14024eacc]
mov rdx, rdi
lea rcx, [rsp + 0x50]
call fcn.1401c40cc
mov rcx, qword [rsp + 0x50]
test rcx, rcx
jne 0x140096ca3
and qword [rsi], rbx
xor eax, eax
jmp 0x140096d29
xor edx, edx
lea r8d, [rdx + 2]
call fcn.1401c4570
mov rcx, qword [rsp + 0x50]
call fcn.1401c3d5c
cmp eax, 0x7fffffff
jge 0x140096cd5
mov rcx, qword [rsp + 0x50]
call fcn.1401c3d5c
mov ebx, eax
test eax, eax
jns 0x140096cd5
and qword [rsi], 0
jmp 0x140096c9c
mov rcx, qword [rsp + 0x50]
xor r8d, r8d
xor edx, edx
call fcn.1401c4570
lea eax, [rbx + 1]
movsxd rcx, eax
call fcn.1401c9318
mov rdi, rax
test rax, rax
je 0x140096d39
test ebx, ebx
jle 0x140096d13
mov r9, qword [rsp + 0x50]
mov edx, 1
movsxd r8, ebx
mov rcx, rax
call fcn.1401c9250
mov rbx, rax
movsxd rcx, ebx
mov byte [rcx + rdi], 0
mov rcx, qword [rsp + 0x50]
call fcn.1401c41b4
mov eax, ebx
mov qword [rsi], rdi
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...microstackILibParsers.c
mov ebx, 0x23e9
mov dword [rsp + 0x20], eax
mov r9d, edi
mov r8d, ebx
xor ecx, ecx
call fcn.1400975c8
mov r8d, ebx
lea rdx, str...microstackILibParsers.c
lea rcx, str.CRITICALEXIT__FILE:__s__LINE:__d_r_n
call fcn.140001090
mov ecx, edi
call fcn.1401c3818
int3

Function at 0x140096d80
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
push rdi
sub rsp, 0x30
and qword [rax + 0x20], 0
lea rsi, [0x1402be900]
movsxd rbx, r8d
mov rdi, rdx
mov r8, rcx
mov dword [rax - 0x10], 0x1000
mov ecx, 0xfde9
mov qword [rax - 0x18], rsi
or r9d, 0xffffffff
xor edx, edx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea r8, [0x14024fc08]
mov rdx, rsi
lea rcx, [rsp + 0x58]
call fcn.1401c40cc
mov r9, qword [rsp + 0x58]
test r9, r9
je 0x140096df9
mov r8, rbx
mov edx, 1
mov rcx, rdi
call fcn.1401c8b20
mov rcx, qword [rsp + 0x58]
call fcn.1401c41b4
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x1400975c8
Capabilities:
Write file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x88
mov rax, qword [0x1402b9f00]
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.140096f08
lea r9, [rsp + 0x58]
mov edx, 0x1000
lea rcx, [0x1402bd900]
test rdi, rdi
je 0x14009763f
mov eax, dword [rsp + 0xd0]
lea r8, str._r_n__s___s:_d___d__d___s
mov qword [rsp + 0x40], rbx
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], ebp
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rdi
call fcn.1400010e4
jmp 0x140097650
lea r8, str._r_n__s___s
mov qword [rsp + 0x20], rbx
call fcn.1400010e4
mov ebx, eax
lea eax, [rax - 1]
cmp eax, 0xffe
ja 0x1400976cf
mov r8, qword [0x1402bd600]
test r8, r8
je 0x1400976cf
and qword [rsp + 0x50], 0
lea rdi, [0x1402be900]
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, [0x140296d28]
mov rdx, rdi
lea rcx, [rsp + 0x50]
call fcn.1401c40cc
mov r9, qword [rsp + 0x50]
test r9, r9
je 0x1400976cf
movsxd r8, ebx
lea rcx, [0x1402bd900]
mov edx, 1
call fcn.1401c8b20
mov rcx, qword [rsp + 0x50]
call fcn.1401c41b4
lea rax, [0x1402bd900]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1401c1120
add rsp, 0x88
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140099008
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.1401c9318
mov qword [rbx], rax
mov r9, rax
test rax, rax
je 0x1400990f2
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 0x140099065
mov qword [rbx + 0xc0], rax
mov r8, qword [rbx + 0x90]
test r8, r8
je 0x1400990a8
mov rax, qword [rbx + 0xc0]
mov rcx, qword [rbx + 0x38]
mov rdx, qword [rbx + 0x80]
mov qword [rsp + 0x38], rax
lea rax, [fcn.140098b40]
mov qword [rsp + 0x30], rbx
mov rcx, qword [rcx + 0x20]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], edi
call fcn.1400916f0
jmp 0x1400990dd
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, [0x140098964]
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...microstackILibProcessPipe.c
mov ebx, 0x529
mov dword [rsp + 0x20], eax
mov r9d, edi
mov r8d, ebx
xor ecx, ecx
call fcn.1400975c8
mov r8d, ebx
lea rdx, str...microstackILibProcessPipe.c
lea rcx, str.CRITICALEXIT__FILE:__s__LINE:__d_r_n
call fcn.140001090
mov ecx, edi
call fcn.1401c3818
int3
Function at 0x14009934c
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 r15
sub rsp, 0x30
mov esi, r8d
mov rbp, rdx
mov rbx, rcx
mov edi, 0xfffffffc
test rcx, rcx
je 0x1400994ab
cmp qword [rcx + 0x48], 0
jne 0x14009938e
xor ecx, ecx
call fcn.140095a20
mov qword [rbx + 0x48], rax
mov rcx, qword [rbx + 0x48]
mov r15d, 1
jmp 0x14009939c
pause
xor eax, eax
lock cmpxchg dword [rcx], r15d
je 0x14009939a
mov rcx, qword [rbx + 0x48]
call fcn.140095b64
test rax, rax
je 0x1400993d1
mov edx, esi
mov rcx, rbp
call fcn.1400977c8
mov rcx, qword [rbx + 0x48]
xor r8d, r8d
mov rdx, rax
call fcn.140095d48
jmp 0x140099463
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, r15d
jne 0x1400993fd
mov edi, r15d
jmp 0x140099463
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x14009946f
mov edx, esi
mov rcx, rbp
xor edi, edi
call fcn.1400977c8
mov rcx, qword [rbx + 0x48]
xor r8d, r8d
mov rdx, rax
call fcn.140095d48
mov edx, 0x5e4
lea rcx, str...microstackILibProcessPipe.c
call fcn.1400912f4
mov rdx, qword [rbx + 0x90]
lea r9, [0x140098718]
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.140091ce8
mov rcx, qword [rbx + 0x48]
mov dword [rcx], 0
jmp 0x1400994ab
mov rax, qword [rbx + 0x48]
mov dword [rax], 0
cmp qword [rbx + 0x58], 0
je 0x1400994a3
mov rcx, qword [rbx + 0x38]
test rcx, rcx
je 0x14009949d
mov rdx, qword [rbx + 0x90]
mov rcx, qword [rcx + 0x20]
mov rdx, qword [rdx + 0x18]
call fcn.140091ebc
mov rcx, rbx
call qword [rbx + 0x58]
mov rcx, rbx
call fcn.140097a60
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 r15
ret
Function at 0x140099960
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 [0x1402b9f00]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rdi, qword [rsp + 0xe8]
mov r13, rdx
xor edx, edx
movsxd r14, r8d
mov rsi, r9
mov rbx, rcx
lea r8d, [rdx + 2]
call fcn.1401c4570
mov rcx, rbx
call fcn.1401c3d4c
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
lea rcx, [rsp + 0x2c]
test rdi, rdi
je 0x1400999f9
mov eax, 0x30
mov r8, rdi
mov r9d, eax
mov edx, eax
call section..text
jmp 0x140099a04
xor edx, edx
lea r8d, [rdx + 0x30]
call fcn.1401c25f0
mov edx, 1
lea rcx, [rsp + 0x20]
mov r9, rbx
lea r8d, [rdx + 0x3b]
call fcn.1401c8b20
mov r9, rbx
mov r8, r14
mov edx, 1
mov rcx, r13
mov rdi, rax
mov r15, r14
call fcn.1401c8b20
mov rcx, rbx
add rdi, rax
call fcn.1401c3d4c
mov r14, rax
test rsi, rsi
je 0x140099a5c
mov r8, rbp
mov r9, rbx
mov edx, 1
mov rcx, rsi
call fcn.1401c8b20
add rdi, rax
mov rcx, rbx
call fcn.1401cff80
neg rsi
lea rdx, [r15 + 0x3c]
sbb eax, eax
and eax, ebp
cdqe
add rdx, rax
cmp rdi, rdx
jae 0x140099ab6
mov rcx, rbx
call fcn.1401d4510
mov ecx, eax
call fcn.1401d3d40
mov rcx, rax
xor r9d, r9d
xor r8d, r8d
mov rdx, r12
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
mov rcx, rbx
call fcn.1401d4510
mov ecx, eax
call fcn.1401d3d40
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
xor eax, eax
jmp 0x140099ab9
mov rax, r14
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1401c1120
add rsp, 0x78
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140099ad8
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
mov eax, 0x1140
call fcn.1401c1690
sub rsp, rax
mov rax, qword [0x1402b9f00]
xor rax, rsp
mov qword [rsp + 0x1130], rax
mov ebp, edx
mov rdi, rcx
test rcx, rcx
jne 0x140099b1c
xor eax, eax
jmp 0x140099c7b
lea rbx, [rcx + 0x18]
mov rcx, qword [rcx]
call fcn.1401c3d4c
cmp rax, qword [rdi + 0x1020]
je 0x140099b15
cmp ebp, 0x20
je 0x140099b46
mov esi, 0x48
cmp ebp, 0x40
lea eax, [rsi - 0xc]
cmovne esi, eax
jmp 0x140099b4b
mov esi, 0x40
mov r9, qword [rdi]
mov r14d, 1
mov edx, r14d
mov r8, rsi
mov rcx, rbx
call fcn.1401c9250
cmp eax, esi
jl 0x140099b15
mov ecx, dword [rbx]
call qword [sym.imp.WS2_32.dll_ntohl]
mov ecx, dword [rbx + 4]
mov dword [rbx], eax
call qword [sym.imp.WS2_32.dll_ntohl]
mov ecx, dword [rbx + 8]
mov dword [rbx + 4], eax
call qword [sym.imp.WS2_32.dll_ntohl]
mov dword [rbx + 8], eax
mov rcx, qword [rdi]
call fcn.1401c3d4c
movsxd rcx, dword [rbx + 4]
add rax, rcx
mov qword [rbx - 8], rax
mov eax, 0xff8
sub eax, esi
cmp dword [rbx + 4], eax
jg 0x140099b15
movsxd r8, dword [rbx + 4]
lea rcx, [rsi + rbx]
mov r9, qword [rdi]
mov edx, r14d
call fcn.1401c9250
cmp eax, dword [rbx + 4]
jne 0x140099b15
mov esi, dword [rbx + 8]
lea rcx, [rsp + 0x20]
call fcn.1400b3fb0
test esi, esi
jle 0x140099c1f
mov r15d, 0x1000
mov r9, qword [rdi]
lea rcx, [rsp + 0x130]
mov eax, esi
cmp esi, r15d
mov rdx, r14
cmovg eax, r15d
movsxd r8, eax
call fcn.1401c9250
mov rbp, rax
test eax, eax
jle 0x140099c1f
movsxd r8, ebp
lea rdx, [rsp + 0x130]
lea rcx, [rsp + 0x20]
call fcn.1400b4040
sub esi, ebp
test esi, esi
jg 0x140099bde
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x100]
call fcn.1400b3f90
cmp dword [rbx + 8], 0
jle 0x140099c78
lea rcx, [rbx + 0xc]
mov r8d, 0x30
lea rdx, [rsp + 0x100]
call fcn.1401c27a0
test eax, eax
je 0x140099c78
movsxd rdi, dword [rbx + 4]
cmp edi, 4
jbe 0x140099b15
lea r8d, [rdi - 4]
xor ecx, ecx
lea rdx, [rbx + 0x3c]
call fcn.1400a93c8
cmp eax, dword [rdi + rbx + 0x38]
jne 0x140099b15
mov rax, rbx
mov rcx, qword [rsp + 0x1130]
xor rcx, rsp
call fcn.1401c1120
lea r11, [rsp + 0x1140]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
Function at 0x14009a0bc
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, [0x1402be900]
test r8d, r8d
mov qword [rax - 0x28], rdi
mov r8, rsi
mov ecx, 0xfde9
jne 0x14009a1ce
test edx, edx
je 0x14009a11a
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 0x14009a13b
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 0x14009a1b3
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x14009a1b3
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.1401d3db8
cmp eax, 0xffffffff
je 0x14009a22b
lea rdx, str.wbN
jmp 0x14009a21f
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 0x14009a234
xor edx, edx
mov rcx, rax
call fcn.1401d3db8
cmp eax, 0xffffffff
je 0x14009a22b
lea rdx, [0x1402912c8]
mov ecx, eax
call fcn.1401d4508
test rax, rax
jne 0x14009a236
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
Function at 0x14009b28c
Capabilities:
Copy file
Delete file

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r13
push r14
push r15
lea rbp, [rsp - 0x1f70]
mov eax, 0x2070
call fcn.1401c1690
sub rsp, rax
mov rax, qword [0x1402b9f00]
xor rax, rsp
mov qword [rbp + 0x1f60], rax
xor r14d, r14d
mov rbx, rcx
test rcx, rcx
je 0x14009b442
mov rax, qword [rcx + 0x1030]
cmp qword [rcx + 0x1028], rax
jb 0x14009b442
mov rcx, qword [rcx + 8]
test rcx, rcx
je 0x14009b442
or r13, 0xffffffffffffffff
lea r8, str..tmp
mov r9, r13
mov rdx, r13
call fcn.140096a6c
lea edi, [r14 + 1]
xor r8d, r8d
mov edx, edi
mov rcx, rax
mov rsi, rax
call fcn.14009a0bc
mov r15, rax
test rax, rax
jne 0x14009b335
mov rcx, rsi
call fcn.1401c8c7c
mov eax, edi
jmp 0x14009b447
mov rcx, qword [rbx + 0x1010]
lea rax, [0x14009b0b4]
and dword [rbx + 0x1050], r14d
lea r8, [rsp + 0x30]
mov qword [rsp + 0x38], rax
lea rdx, [0x140096034]
mov qword [rsp + 0x48], rbx
lea rax, [rsp + 0x48]
mov qword [rsp + 0x50], r15
xor r9d, r9d
mov qword [rsp + 0x30], rcx
mov rcx, qword [rcx]
mov qword [rsp + 0x40], rax
call fcn.140096688
cmp dword [rbx + 0x1050], r14d
jne 0x14009b435
mov rcx, qword [rbx]
call fcn.1401c41b4
mov rcx, r15
call fcn.1401c41b4
lea rax, [rsp + 0x60]
mov r15d, 0x1000
mov dword [rsp + 0x28], r15d
mov r9d, r13d
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, r13d
mov dword [rsp + 0x28], r15d
xor edx, edx
lea r15, [0x1402be900]
mov ecx, 0xfde9
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor r8d, r8d
lea rcx, [rsp + 0x60]
mov rdx, r15
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
lea rcx, [rsp + 0x60]
cmove r14d, edi
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov rcx, qword [rbx + 8]
xor r8d, r8d
xor edx, edx
call fcn.14009a0bc
mov qword [rbx], rax
test rax, rax
je 0x14009b432
mov rcx, rax
call fcn.1401c3d4c
mov qword [rbx + 0x1020], rax
jmp 0x14009b435
mov r14d, edi
mov rcx, rsi
call fcn.1401c8c7c
mov eax, r14d
jmp 0x14009b447
mov eax, 1
mov rcx, qword [rbp + 0x1f60]
xor rcx, rsp
call fcn.1401c1120
lea r11, [rsp + 0x2070]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop rdi
pop rbp
ret
Function at 0x14009f038
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
or r9d, 0xffffffff
mov r10, rcx
test edx, edx
je 0x14009f06d
movsx r8d, byte [r10]
mov eax, r9d
xor r8, rax
mov ecx, r9d
movzx eax, r8b
inc r10
shr ecx, 8
lea r8, [0x1402568a0]
mov r9d, dword [r8 + rax*4]
xor r9d, ecx
sub edx, 1
jne 0x14009f043
not r9d
mov eax, r9d
ret

Function at 0x1400a8878
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x50
mov rax, qword [0x1402b9f00]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rdi, rcx
mov rbx, r9
movsx ecx, byte [rcx + 1]
sub ecx, 1
je 0x1400a8942
cmp ecx, 1
jne 0x1400a896c
lea edx, [rcx + 0xb]
mov dword [rsp + 0x20], 0x2112a442
mov r9d, edx
lea rcx, [rsp + 0x24]
call section..text
xor eax, eax
mov qword [rbx], rax
mov qword [rbx + 8], rax
mov qword [rbx + 0x10], rax
mov dword [rbx + 0x18], eax
mov eax, reloc.WS2_32.dll_socket
mov word [rbx], ax
lea ecx, [rax - 7]
call qword [sym.imp.WS2_32.dll_htonl]
xor edx, edx
mov r8, rdi
cmp eax, 0x10
jne 0x1400a8922
lea rax, [rsp + 0x20]
mov r9, rbx
sub r8, rax
lea rax, [rsp + 0x20]
sub r9, rax
lea rcx, [rsp + 0x20]
add rcx, rdx
inc rdx
mov al, byte [r8 + rcx + 4]
xor al, byte [rcx]
mov byte [r9 + rcx + 8], al
cmp rdx, 0x10
jl 0x1400a8903
jmp 0x1400a896c
lea rcx, [rbx + 0x17]
sub r8, rbx
mov al, byte [r8 + rcx - 4]
xor al, byte [rsp + rdx + 0x20]
inc rdx
mov byte [rcx], al
dec rcx
cmp rdx, 0x10
jl 0x1400a8929
jmp 0x1400a896c
mov ecx, dword [rdi + 4]
call qword [sym.imp.WS2_32.dll_ntohl]
xor ecx, ecx
xor eax, 0x2112a442
mov qword [rbx], rcx
mov qword [rbx + 8], rcx
mov ecx, 2
mov word [rbx], cx
mov ecx, eax
call qword [sym.imp.WS2_32.dll_htonl]
mov dword [rbx + 4], eax
movzx ecx, word [rdi + 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 + 0x40]
xor rcx, rsp
call fcn.1401c1120
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
Function at 0x1400a89a0
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x50
mov rax, qword [0x1402b9f00]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rdi, rcx
mov rbp, r8
movzx ecx, word [rcx + 2]
mov rsi, rdx
call qword [sym.imp.WS2_32.dll_ntohs]
movzx ecx, ax
xor ebx, ebx
mov eax, 0x2112
mov byte [rsi], bl
xor cx, ax
lea r14d, [rbx + 2]
cmp word [rdi], r14w
setne al
inc al
mov byte [rsi + 1], al
call qword [sym.imp.WS2_32.dll_htons]
mov word [rsi + 2], ax
movzx eax, word [rdi]
cmp eax, r14d
je 0x1400a8aa0
cmp eax, 0x17
jne 0x1400a8abe
lea edx, [rbx + 0xc]
mov dword [rsp + 0x20], 0x2112a442
mov r9d, edx
lea rcx, [rsp + 0x24]
mov r8, rbp
call section..text
lea ebp, [rbx + 0x10]
mov ecx, ebp
call qword [sym.imp.WS2_32.dll_htonl]
cmp eax, ebp
jne 0x1400a8a55
lea rdx, [rsp + 0x20]
mov r8d, ebp
sub rdx, rdi
lea rcx, [rdi + 8]
mov al, byte [rdx + rcx - 8]
xor byte [rcx], al
inc rcx
sub r8, 1
jne 0x1400a8a44
jmp 0x1400a8a86
lea r8, [rdi + 0x17]
mov rcx, rbx
mov rdx, r8
mov al, byte [rsp + rcx + 0x20]
xor al, byte [rdx]
dec rdx
mov byte [rsp + rcx + 0x30], al
inc rcx
cmp rcx, rbp
jl 0x1400a8a5f
mov al, byte [rsp + rbx + 0x30]
inc rbx
mov byte [r8], al
dec r8
cmp rbx, rbp
jl 0x1400a8a74
lea r8, [rdi + 8]
mov r9, rbp
lea rcx, [rsi + 4]
mov rdx, rbp
call section..text
mov ebx, reloc.WS2_32.dll_sendto
jmp 0x1400a8abe
mov ecx, dword [rdi + 4]
call qword [sym.imp.WS2_32.dll_ntohl]
xor eax, 0x2112a442
mov ecx, eax
call qword [sym.imp.WS2_32.dll_htonl]
mov dword [rsi + 4], eax
mov ebx, 8
mov eax, ebx
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1401c1120
add rsp, 0x50
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x1400a93c8
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
xor r10d, r10d
mov r11, rdx
mov r9d, ecx
test rdx, rdx
je 0x1400a9456
lea rsi, [0x1402560a0]
not r9d
cmp r8d, 8
jb 0x1400a942b
mov ebx, r8d
shr rbx, 3
mov edi, 8
movzx ecx, byte [r11]
mov eax, r9d
xor rcx, rax
inc r11
shr eax, 8
movzx edx, cl
mov r9d, dword [rsi + rdx*4]
xor r9d, eax
sub rdi, 1
jne 0x1400a9401
add r8d, 0xfffffff8
sub rbx, 1
jne 0x1400a93fc
test r8d, r8d
je 0x1400a9450
movzx ecx, byte [r11]
mov eax, r9d
xor rcx, rax
inc r11
shr eax, 8
movzx edx, cl
mov r9d, dword [rsi + rdx*4]
xor r9d, eax
add r8d, 0xffffffff
jne 0x1400a9430
not r9d
mov r10d, r9d
mov rbx, qword [rsp + 8]
mov eax, r10d
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
ret
Function at 0x1400a946c
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
xor r10d, r10d
mov rbx, rdx
mov r9d, ecx
test rdx, rdx
je 0x1400a9500
lea rsi, [0x1402560a0]
not r9d
cmp r8d, 8
jb 0x1400a94d2
mov r11d, r8d
shr r11, 3
mov edi, 8
movzx ecx, byte [rbx]
mov eax, r9d
xor rcx, rax
inc rbx
shr eax, 8
movzx edx, cl
mov r9d, dword [rsi + rdx*4 + 0x400]
xor r9d, eax
sub rdi, 1
jne 0x1400a94a5
add r8d, 0xfffffff8
sub r11, 1
jne 0x1400a94a0
test r8d, r8d
je 0x1400a94fa
movzx ecx, byte [rbx]
mov eax, r9d
xor rcx, rax
inc rbx
shr eax, 8
movzx edx, cl
mov r9d, dword [rsi + rdx*4 + 0x400]
xor r9d, eax
add r8d, 0xffffffff
jne 0x1400a94d7
not r9d
mov r10d, r9d
mov rbx, qword [rsp + 8]
mov eax, r10d
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
ret