joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140068380
Capabilities:
Get local ipv4 addresses

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rsi, rcx
xor edi, edi
mov ecx, 0x1c0
mov dword [rsp + 0x48], ecx
call fcn.140164508
mov rbx, rax
test rax, rax
je 0x14006849c
lea rax, [rsp + 0x48]
mov r9, rbx
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea edx, [rdi + 0x2a]
lea ecx, [rdi + 0x17]
call qword [sym.imp.IPHLPAPI.DLL_GetAdaptersAddresses]
cmp eax, 0x6f
jne 0x1400683ec
mov rcx, rbx
call fcn.1401630c0
mov ecx, dword [rsp + 0x48]
call fcn.140164508
mov rbx, rax
test rax, rax
je 0x1400684e2
xor r8d, r8d
lea rax, [rsp + 0x48]
mov r9, rbx
mov qword [rsp + 0x20], rax
lea edx, [r8 + 0x2a]
lea ecx, [rdx - 0x13]
call qword [sym.imp.IPHLPAPI.DLL_GetAdaptersAddresses]
test eax, eax
je 0x140068419
mov rcx, rbx
call fcn.1401630c0
xor eax, eax
jmp 0x14006848c
mov rax, rbx
test rbx, rbx
je 0x14006843e
cmp dword [rax + 0x58], 0
je 0x140068435
test byte [rax + 0x5c], 0x18
jne 0x140068435
cmp dword [rax + 0x68], 1
jne 0x140068435
inc edi
mov rax, qword [rax + 8]
test rax, rax
jne 0x140068421
movsxd rcx, edi
shl rcx, 2
call fcn.140164508
mov qword [rsi], rax
test rax, rax
je 0x140068528
mov rdx, rbx
test rbx, rbx
je 0x140068482
cmp dword [rdx + 0x58], 0
je 0x140068479
test byte [rdx + 0x5c], 0x18
jne 0x140068479
cmp dword [rdx + 0x68], 1
jne 0x140068479
mov ecx, dword [rdx + 4]
mov dword [rax], ecx
add rax, 4
mov rdx, qword [rdx + 8]
test rdx, rdx
jne 0x14006845e
mov rcx, rbx
call fcn.1401630c0
mov eax, edi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, 0xfe
lea rdx, str...microstackILibParsers.c
mov edi, 0x2bc
mov dword [rsp + 0x20], eax
mov r9d, ebx
mov r8d, edi
xor ecx, ecx
call fcn.14006ddcc
mov r8d, edi
lea rdx, str...microstackILibParsers.c
lea rcx, str.CRITICALEXIT__FILE:__s__LINE:__d_r_n
call fcn.140001090
mov ecx, ebx
call fcn.14015e4d8
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, 0xfe
lea rdx, str...microstackILibParsers.c
mov edi, 0x2c0
mov dword [rsp + 0x20], eax
mov r9d, ebx
mov r8d, edi
xor ecx, ecx
call fcn.14006ddcc
mov r8d, edi
lea rdx, str...microstackILibParsers.c
lea rcx, str.CRITICALEXIT__FILE:__s__LINE:__d_r_n
call fcn.140001090
mov ecx, ebx
call fcn.14015e4d8
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, 0xfe
lea rdx, str...microstackILibParsers.c
mov edi, 0x2d8
mov dword [rsp + 0x20], eax
mov r9d, ebx
mov r8d, edi
xor ecx, ecx
call fcn.14006ddcc
mov r8d, edi
lea rdx, str...microstackILibParsers.c
lea rcx, str.CRITICALEXIT__FILE:__s__LINE:__d_r_n
call fcn.140001090
mov ecx, ebx
call fcn.14015e4d8
int3
Function at 0x140068960
Capabilities:
Create tcp socket
Create udp socket
Initialize winsock library

Disassembly:
push rbx
sub rsp, 0x1e0
mov rax, qword [0x1401ff510]
xor rax, rsp
mov qword [rsp + 0x1d0], rax
mov ebx, ecx
lea rdx, [rsp + 0x30]
mov ecx, 2
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x140068a77
xor r9d, r9d
xor r8d, r8d
mov edx, ebx
mov ecx, 0x560
call fcn.1400686a4
mov ecx, reloc.WS2_32.dll_recv
mov rbx, rax
call fcn.14006c6c4
xor ecx, ecx
mov qword [rbx + 0x510], rax
call fcn.14006c6c4
xor r9d, r9d
mov dword [rsp + 0x28], 0x80
and dword [rsp + 0x20], 0
mov qword [rbx + 0x518], rax
mov dword [rbx], 1
lea edx, [r9 + 2]
mov ecx, edx
lea r8d, [r9 + 0x11]
call qword [sym.imp.WS2_32.dll_WSASocketW]
mov qword [rbx + 0x4f0], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
xor edx, edx
mov qword [rbx + 0x10], rax
mov rcx, rax
lea r8d, [rdx + 1]
call qword [sym.imp.dbghelp.dll_SymInitialize]
test eax, eax
jne 0x140068a18
and qword [rbx + 0x10], 0
and dword [rbx], 0
mov eax, dword [0x140202e34]
test eax, eax
jne 0x140068a44
xor r9d, r9d
lea edx, [rax + 1]
xor ecx, ecx
lea r8d, [rax + 0x40]
call qword [sym.imp.KERNEL32.dll_CreateSemaphoreA]
mov qword [0x140202e48], rax
mov eax, dword [0x140202e34]
inc eax
mov rcx, rbx
mov dword [0x140202e34], eax
call fcn.14006c4a0
mov qword [rbx + 0x4f8], rax
mov rax, rbx
mov rcx, qword [rsp + 0x1d0]
xor rcx, rsp
call fcn.14015bde0
add rsp, 0x1e0
pop rbx
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, 0x691
lea rdx, str...microstackILibParsers.c
mov r8d, ebx
mov dword [rsp + 0x20], eax
mov r9d, 1
xor ecx, ecx
call fcn.14006ddcc
mov r8d, ebx
lea rdx, str...microstackILibParsers.c
lea rcx, str.CRITICALEXIT__FILE:__s__LINE:__d_r_n
call fcn.140001090
mov ecx, 1
call fcn.14015e4d8
int3
Function at 0x14006add4
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 0x14006ae20
cmp dword [0x140200180], 0
jne 0x14006ae20
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, 1
mov r8d, 0x13f2
lea rdx, str...microstackILibParsers.c
mov dword [rsp + 0x20], eax
xor ecx, ecx
call fcn.14006ddcc
xor eax, eax
jmp 0x14006aec3
movzx ecx, word [rcx]
call qword [sym.imp.WS2_32.dll_socket]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x14006ae44
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9d, [rbx + 3]
mov r8d, 0x13f3
jmp 0x14006ae07
cmp word [rdi], 0x17
jne 0x14006ae6d
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 0x14006aece
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 0x14006aec0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, 3
lea rdx, str...microstackILibParsers.c
mov r8d, 0x1400
mov dword [rsp + 0x20], eax
xor ecx, ecx
call fcn.14006ddcc
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_closesocket]
jmp 0x14006ae19
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, 0x13f7
xor ecx, ecx
call fcn.14006ddcc
mov ecx, 0xfd
call fcn.14015e4d8
int3

Function at 0x14006d6f0
Capabilities:
Read 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 + 0x18], 0
lea r8, [0x1401d5910]
mov rdi, rcx
lea rcx, [rax + 0x18]
call fcn.140163068
mov rcx, qword [rsp + 0x50]
test rcx, rcx
jne 0x14006d729
and qword [rdi], rcx
xor eax, eax
jmp 0x14006d791
xor edx, edx
lea r8d, [rdx + 2]
call fcn.14015f00c
mov rcx, qword [rsp + 0x50]
call fcn.14015ea1c
mov rcx, qword [rsp + 0x50]
xor r8d, r8d
xor edx, edx
movsxd rbx, eax
call fcn.14015f00c
lea ecx, [rbx + 1]
movsxd rcx, ecx
call fcn.140164508
mov rsi, rax
test rax, rax
je 0x14006d7a1
mov r9, qword [rsp + 0x50]
mov r8, rbx
mov edx, 1
mov rcx, rax
call fcn.140164440
movsxd rcx, eax
mov rbx, rax
mov byte [rcx + rsi], 0
mov rcx, qword [rsp + 0x50]
call fcn.14015ec50
mov eax, ebx
mov qword [rdi], rsi
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, 0x1ddd
mov dword [rsp + 0x20], eax
mov r9d, edi
mov r8d, ebx
xor ecx, ecx
call fcn.14006ddcc
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.14015e4d8
int3
Function at 0x14006ddcc
Capabilities:
Write file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x88
mov rax, qword [0x1401ff510]
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.14006d7e8
lea r9, [rsp + 0x58]
mov edx, 0x1000
lea rcx, [0x140203120]
test rdi, rdi
je 0x14006de43
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 0x14006de54
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 0x14006deab
mov rdx, qword [0x140202e10]
test rdx, rdx
je 0x14006deab
and qword [rsp + 0x50], 0
lea r8, [0x1401e3018]
lea rcx, [rsp + 0x50]
call fcn.140163068
mov r9, qword [rsp + 0x50]
test r9, r9
je 0x14006deab
movsxd r8, ebx
lea rcx, [0x140203120]
mov edx, 1
call fcn.140162d40
mov rcx, qword [rsp + 0x50]
call fcn.14015ec50
lea rax, [0x140203120]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14015bde0
add rsp, 0x88
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x14006e350
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
and qword [rsp + 0x28], 0
lea r8, [0x14006e30c]
and dword [rsp + 0x20], 0
mov rbx, rdx
mov r9, rdx
xor ecx, ecx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbx + 0x40], rax
add rsp, 0x30
pop rbx
ret
Function at 0x14006e9c8
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rax, qword [rcx + 0x58]
mov rdi, rcx
cmp dword [rax], 0
jne 0x14006ea53
mov rax, qword [rcx + 0x28]
test rax, rax
je 0x14006e9fd
mov rdx, qword [rax + 0x70]
test rdx, rdx
je 0x14006e9fd
mov rdx, qword [rdx + 0x18]
mov rcx, qword [rcx + 0x10]
call fcn.14006e08c
mov rax, qword [rdi + 0x30]
test rax, rax
je 0x14006ea1c
mov rdx, qword [rax + 0x70]
test rdx, rdx
je 0x14006ea1c
mov rdx, qword [rdx + 0x18]
mov rcx, qword [rdi + 0x10]
call fcn.14006e08c
mov rax, qword [rdi + 0x38]
test rax, rax
je 0x14006ea3b
mov rdx, qword [rax + 0x70]
test rdx, rdx
je 0x14006ea3b
mov rdx, qword [rdx + 0x18]
mov rcx, qword [rdi + 0x10]
call fcn.14006e08c
mov rdx, qword [rdi + 0x48]
test rdx, rdx
je 0x14006ea62
mov rcx, qword [rdi + 0x10]
call fcn.14006e08c
mov rcx, qword [rdi + 0x48]
jmp 0x14006ea57
mov rcx, qword [rcx + 0x48]
mov edx, 0x42b
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rbx, qword [rdi + 0x20]
mov rcx, rdi
call fcn.14006e914
mov rax, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x14006f65c
Capabilities:
Create thread
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
movsxd rdi, edx
mov rbx, rcx
mov rcx, rdi
mov rsi, r9
mov rbp, r8
call fcn.140164508
mov qword [rbx], rax
mov rdx, rax
test rax, rax
je 0x14006f72a
mov rax, qword [rsp + 0x60]
xor r9d, r9d
mov qword [rbx + 0x50], rax
mov rax, qword [rbx + 0x70]
mov dword [rbx + 8], edi
mov qword [rbx + 0x38], rbp
mov qword [rbx + 0x48], rsi
test rax, rax
je 0x14006f6e2
mov rcx, qword [rbx + 0x60]
mov r8d, edi
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov rdx, qword [rbx + 0x70]
lea r9, [0x14006ef34]
mov rcx, qword [rbx + 0x20]
mov r8, rbx
mov rdx, qword [rdx + 0x18]
call fcn.14006e138
jmp 0x14006f715
mov edx, 1
xor ecx, ecx
mov r8d, edx
call qword [sym.imp.KERNEL32.dll_CreateEventA]
and qword [rsp + 0x28], 0
lea r8, [0x14006f49c]
and dword [rsp + 0x20], 0
mov r9, rbx
xor edx, edx
mov qword [rbx + 0x58], rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, 0xfe
lea rdx, str...microstackILibProcessPipe.c
mov ebx, 0x50c
mov dword [rsp + 0x20], eax
mov r9d, edi
mov r8d, ebx
xor ecx, ecx
call fcn.14006ddcc
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.14015e4d8
int3
Function at 0x14006f934
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rbx, qword [rcx + 0x28]
mov esi, r8d
mov rbp, rdx
mov edi, 0xfffffffc
cmp qword [rbx + 0x30], 0
jne 0x14006f969
xor ecx, ecx
call fcn.14006c6c4
mov qword [rbx + 0x30], rax
mov rcx, qword [rbx + 0x30]
or edx, 0xffffffff
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rax, qword [rbx + 0x30]
cmp qword [rax + 0x18], 0
je 0x14006f99c
mov edx, esi
mov rcx, rbp
call fcn.14006df00
mov rcx, qword [rbx + 0x30]
mov rdx, rax
call fcn.14006c8a0
jmp 0x14006fa01
mov rax, qword [rbx + 0x70]
xor r9d, r9d
mov rcx, qword [rbx + 0x68]
mov r8d, esi
mov rdx, rbp
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
cmp eax, 1
jne 0x14006f9c1
mov edi, eax
jmp 0x14006fa01
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x14006fa17
mov edx, esi
mov rcx, rbp
xor edi, edi
call fcn.14006df00
mov rcx, qword [rbx + 0x30]
mov rdx, rax
call fcn.14006c8a0
mov rdx, qword [rbx + 0x70]
lea r9, [0x14006f0b8]
mov rcx, qword [rbx + 0x20]
mov r8, rbx
mov rdx, qword [rdx + 0x18]
call fcn.14006e138
mov rcx, qword [rbx + 0x30]
xor r8d, r8d
mov rcx, qword [rcx]
lea edx, [r8 + 1]
call qword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
jmp 0x14006fa51
mov rcx, qword [rbx + 0x30]
xor r8d, r8d
mov rcx, qword [rcx]
lea edx, [r8 + 1]
call qword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
cmp qword [rbx + 0x40], 0
je 0x14006fa49
mov rdx, qword [rbx + 0x70]
mov rcx, qword [rbx + 0x20]
mov rdx, qword [rdx + 0x18]
call fcn.14006e08c
mov rcx, rbx
call qword [rbx + 0x40]
mov rcx, rbx
call fcn.14006e4b4
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x14006fa8c
Capabilities:
Write file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x80
mov rax, qword [0x1401ff510]
xor rax, rsp
mov qword [rsp + 0x70], 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.14015f00c
movsxd rbp, dword [rsp + 0xe0]
lea ecx, [rbp + 0x48]
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 0x14006fb1e
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 0x14006fb2e
xor edx, edx
lea rcx, [rsp + 0x2c]
lea r8d, [rdx + 0x30]
call fcn.14015d410
mov r8d, 0x48
lea rcx, [rsp + 0x20]
mov r9, rbx
lea r12d, [r8 - 0x47]
mov edx, r12d
call fcn.140162d40
mov r8, r14
mov r9, rbx
mov edx, r12d
mov rcx, r15
call fcn.140162d40
mov rcx, rbx
call fcn.14015ea0c
mov rdi, rax
test rsi, rsi
je 0x14006fb7a
mov r8, rbp
mov r9, rbx
mov edx, r12d
mov rcx, rsi
call fcn.140162d40
mov rcx, rbx
call fcn.14016bc30
mov rax, rdi
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.14015bde0
add rsp, 0x80
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400700e0
Capabilities:
Read file on windows

Disassembly:
push rbx
push rsi
push rdi
push r14
sub rsp, 0x78
mov rax, qword [0x1401ff510]
xor rax, rsp
mov qword [rsp + 0x60], rax
and dword [rsp + 0x20], 0
mov rdi, r9
mov r9d, r8d
mov r14, rcx
mov rcx, qword [rcx + 0x1010]
mov r8, rdx
xor edx, edx
call fcn.14006ccc4
test rax, rax
je 0x140070123
mov rbx, qword [rax + 0x28]
jmp 0x140070125
xor ebx, ebx
test rbx, rbx
jne 0x14007012e
xor eax, eax
jmp 0x14007019a
test rdi, rdi
je 0x140070198
mov esi, dword [rsp + 0xc0]
cmp esi, dword [rbx]
jl 0x140070198
mov rdx, qword [rbx + 0x38]
xor r8d, r8d
mov rcx, qword [r14]
call fcn.14015f004
test eax, eax
jne 0x14007012a
movsxd r8, dword [rbx]
lea edx, [rax + 1]
mov r9, qword [r14]
mov rcx, rdi
call fcn.140164440
test rax, rax
je 0x14007012a
mov edx, dword [rbx]
lea r8, [rsp + 0x30]
mov rcx, rdi
call fcn.140065e40
lea rdx, [rbx + 4]
mov r8d, gethostbyname
lea rcx, [rsp + 0x30]
call fcn.14015d330
test eax, eax
jne 0x14007012a
cmp esi, dword [rbx]
jle 0x140070198
movsxd rcx, dword [rbx]
mov byte [rcx + rdi], al
mov eax, dword [rbx]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14015bde0
add rsp, 0x78
pop r14
pop rdi
pop rsi
pop rbx
ret

Function at 0x140070370
Capabilities:
Copy file
Delete file

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x50
or edx, 0xffffffff
lea r8, str..tmp
mov rdi, rcx
mov r9d, edx
mov rcx, qword [rcx + 8]
call fcn.14006d518
xor esi, esi
lea r8, str.wbN
and qword [rbp + 0x20], rsi
lea rcx, [rbp + 0x20]
mov rdx, rax
mov r14, rax
call fcn.140163068
mov rbx, qword [rbp + 0x20]
test rbx, rbx
jne 0x1400703cb
lea ebx, [rsi + 1]
jmp 0x140070470
mov rcx, qword [rdi + 0x1010]
lea rax, [0x14007022c]
and dword [rdi + 0x1020], esi
lea r8, [rbp - 0x20]
mov qword [rbp - 0x18], rax
lea rdx, [0x14006cb50]
mov qword [rbp - 0x30], rdi
lea rax, [rbp - 0x30]
mov qword [rbp - 0x28], rbx
xor r9d, r9d
mov qword [rbp - 0x20], rcx
mov rcx, qword [rcx]
mov qword [rbp - 0x10], rax
call fcn.14006d160
cmp dword [rdi + 0x1020], esi
jne 0x14007046e
mov rcx, qword [rdi]
call fcn.14015ec50
mov rcx, rbx
call fcn.14015ec50
mov rdx, qword [rdi + 8]
xor r8d, r8d
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CopyFileA]
mov ebx, 1
mov rcx, r14
test eax, eax
cmove esi, ebx
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
mov rcx, qword [rdi + 8]
xor edx, edx
call fcn.14006fe78
mov qword [rdi], rax
test rax, rax
je 0x14007046c
mov rcx, rax
call fcn.14015ea0c
mov qword [rdi + 0x1018], rax
jmp 0x14007046e
mov esi, ebx
mov ebx, esi
mov rcx, r14
call fcn.1401630c0
lea r11, [rsp + 0x50]
mov eax, ebx
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x140073c88
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
or r9d, 0xffffffff
mov r10, rcx
test edx, edx
je 0x140073cbd
movsx r8d, byte [r10]
mov eax, r9d
xor r8, rax
mov ecx, r9d
movzx eax, r8b
inc r10
shr ecx, 8
lea r8, [0x1401d9ff0]
mov r9d, dword [r8 + rax*4]
xor r9d, ecx
sub edx, 1
jne 0x140073c93
not r9d
mov eax, r9d
ret
Function at 0x14007d058
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x50
mov rax, qword [0x1401ff510]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rdi, rcx
mov rbx, r9
movsx ecx, byte [rcx + 1]
sub ecx, 1
je 0x14007d122
cmp ecx, 1
jne 0x14007d14c
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 0x14007d102
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 0x14007d0e3
jmp 0x14007d14c
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 0x14007d109
jmp 0x14007d14c
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.14015bde0
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
Function at 0x14007d180
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x50
mov rax, qword [0x1401ff510]
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 0x14007d280
cmp eax, 0x17
jne 0x14007d29e
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 0x14007d235
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 0x14007d224
jmp 0x14007d266
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 0x14007d23f
mov al, byte [rsp + rbx + 0x30]
inc rbx
mov byte [r8], al
dec r8
cmp rbx, rbp
jl 0x14007d254
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 0x14007d29e
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.14015bde0
add rsp, 0x50
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x14007db6c
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
mov qword [rsp + 0x18], r14
xor r10d, r10d
mov r9d, r8d
mov r11, rdx
test rdx, rdx
je 0x14007dbfb
or r8d, 0xffffffff
lea r14, [0x1401d9bf0]
cmp r9d, 8
jb 0x14007dbd0
mov ebx, r9d
shr rbx, 3
mov edi, 8
movzx ecx, byte [r11]
mov eax, r8d
xor rcx, rax
inc r11
shr eax, 8
movzx edx, cl
mov r8d, dword [r14 + rdx*4]
xor r8d, eax
sub rdi, 1
jne 0x14007dba6
add r9d, 0xfffffff8
sub rbx, 1
jne 0x14007dba1
test r9d, r9d
je 0x14007dbf5
movzx ecx, byte [r11]
mov eax, r8d
xor rcx, rax
inc r11
shr eax, 8
movzx edx, cl
mov r8d, dword [r14 + rdx*4]
xor r8d, eax
add r9d, 0xffffffff
jne 0x14007dbd5
not r8d
mov r10d, r8d
mov rbx, qword [rsp + 8]
mov eax, r10d
mov rdi, qword [rsp + 0x10]
mov r14, qword [rsp + 0x18]
ret