joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140018e60
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x98
mov rax, qword [0x14055f260]
xor rax, rsp
mov qword [rsp + 0x80], rax
lea rax, str.notepad.exe
mov qword [rsp + 0x38], rax
call fcn.14000fbd0
mov r8, rax
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0xa0]
call fcn.140010630
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov r8, qword [rsp + 0x30]
lea rdx, str.taskkill__F__IM
lea rcx, [rsp + 0x60]
call fcn.140023a00
nop
lea rcx, [rsp + 0x40]
call fcn.14000e1e0
lea rcx, [rsp + 0x60]
call fcn.14000e190
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WinExec]
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
jne 0x140018f3d
lea rdx, [0x1404cd8a8]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14000ee00
lea rdx, [0x14000f1d0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov byte [rsp + 0x20], 1
lea rcx, [rsp + 0x60]
call fcn.14000e1e0
nop
mov rcx, qword [rsp + 0xa0]
call fcn.14000dc60
movzx eax, byte [rsp + 0x20]
jmp 0x140018fa5
lea rdx, [0x1404cd8c0]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14000ee00
lea rdx, [0x14000f1d0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov byte [rsp + 0x21], 0
lea rcx, [rsp + 0x60]
call fcn.14000e1e0
nop
mov rcx, qword [rsp + 0xa0]
call fcn.14000dc60
movzx eax, byte [rsp + 0x21]
jmp 0x140018fa5
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.14036c0d0
add rsp, 0x98
ret
Function at 0x14001a440
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0xa8
mov dword [rsp + 0x30], 0
jmp 0x14001a460
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0x64
jg 0x14001a5d0
movzx eax, byte [reloc.WS2_32.dll_accept]
test eax, eax
jne 0x14001a4e0
lea rdx, str.Error
lea rcx, [rsp + 0x68]
call fcn.1400104b0
nop
lea rdx, str.Update_failed__network_connection_failed
lea rcx, [rsp + 0x38]
call fcn.1400104b0
nop
mov dword [rsp + 0x28], 0xffffffff
mov dword [rsp + 0x20], 0xffffffff
xor r9d, r9d
mov r8d, 0x205
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x38]
call fcn.140221bb0
nop
lea rcx, [rsp + 0x38]
call fcn.14000dc60
nop
lea rcx, [rsp + 0x68]
call fcn.14000dc60
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
cmp dword [rsp + 0x30], 0x63
jne 0x14001a4f6
movzx eax, byte [0x1405a2abc]
test eax, eax
je 0x14001a4f4
jmp 0x14001a4f6
jmp 0x14001a4e0
cmp dword [rsp + 0x30], 0x4b
jl 0x14001a514
movzx eax, byte [0x1405a2abc]
test eax, eax
jne 0x14001a514
mov ecx, 5
call fcn.1401241f0
jmp 0x14001a56c
cmp dword [rsp + 0x30], 0x4b
jge 0x14001a539
cmp dword [rsp + 0x30], 0x19
jle 0x14001a539
movzx eax, byte [0x1405a2abc]
test eax, eax
jne 0x14001a539
mov ecx, 1
call fcn.1401241f0
jmp 0x14001a56c
cmp dword [rsp + 0x30], 0x19
jg 0x14001a557
movzx eax, byte [0x1405a2abc]
test eax, eax
jne 0x14001a557
mov ecx, reloc.WLDAP32.dll_Ordinal_200
call sub.KERNEL32.dll_Sleep
jmp 0x14001a56c
movzx eax, byte [0x1405a2abc]
test eax, eax
je 0x14001a56c
mov ecx, 0x64
call sub.KERNEL32.dll_Sleep
mov eax, dword [rsp + 0x30]
mov dword [0x1405a2ab8], eax
mov edx, dword [rsp + 0x30]
mov rax, qword [rsp + 0xb0]
mov rcx, qword [rax + 0x40]
call fcn.14001a2b0
cmp dword [rsp + 0x30], 0x64
jne 0x14001a5cb
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax + 0x40]
mov rcx, qword [rsp + 0xb0]
mov rcx, qword [rcx + 0x40]
mov rax, qword [rax]
xor r8d, r8d
mov dl, 1
call qword [rax + 0x310]
xor edx, edx
mov rax, qword [rsp + 0xb0]
mov rcx, qword [rax + 0x40]
call fcn.1401e04d0
jmp 0x14001a456
add rsp, 0xa8
ret
Function at 0x140065d40
Capabilities:
Send data
Send data on socket

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x70
lea rdi, [rsp + 0x30]
mov ecx, reloc.WS2_32.dll_recv
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x80]
mov dword [rsp + 0x54], 4
lea rax, [rsp + 0x54]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x34]
mov r8d, 0x1008
mov edx, 0xffff
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.WS2_32.dll_getsockopt]
test eax, eax
jne 0x140065db4
cmp dword [rsp + 0x34], 1
jne 0x140065db4
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.WS2_32.dll_send]
mov rcx, rsp
lea rdx, reloc.WS2_32.dll_bind
call fcn.14036c99c
add rsp, 0x70
pop rdi
ret

Function at 0x14006bf50
Capabilities:
Hash data using djb2

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x40
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], 0x1505
mov rax, qword [rsp + 0x20]
cmp qword [rsp + 0x50], rax
jae 0x14006bfdb
mov rax, qword [rsp + 0x28]
shl rax, 5
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x50]
movzx eax, byte [rax]
mov byte [rsp + 0x30], al
mov rax, qword [rsp + 0x50]
inc rax
mov qword [rsp + 0x50], rax
movzx ecx, byte [rsp + 0x30]
call fcn.14008f8c0
movsx rax, al
mov rcx, qword [rsp + 0x28]
xor rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
jmp 0x14006bf7d
xor edx, edx
mov rax, qword [rsp + 0x28]
mov ecx, 0x3f
div rcx
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x140084010
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x40
mov rax, qword [rsp + 0x50]
movzx eax, byte [rax + 0xab7]
test eax, eax
je 0x140084132
mov rax, qword [rsp + 0x50]
cmp qword [rax + 0x268], 0
je 0x1400840bb
mov rcx, qword [rsp + 0x50]
call fcn.140063c50
mov byte [rsp + 0x30], al
mov rax, qword [rsp + 0x50]
movzx eax, byte [rax + 0x1480]
test eax, eax
je 0x14008406f
xor eax, eax
test eax, eax
jne 0x140084069
mov dl, 1
mov rcx, qword [rsp + 0x50]
call fcn.140063be0
mov rax, qword [rsp + 0x50]
mov rax, qword [rax + 0x1e0]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x68]
mov r8, qword [rsp + 0x60]
mov edx, dword [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
mov rax, qword [rsp + 0x50]
call qword [rax + 0x268]
movzx edx, byte [rsp + 0x30]
mov rcx, qword [rsp + 0x50]
call fcn.140063be0
jmp 0x140084132
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
je 0x1400840da
cmp dword [rsp + 0x34], 1
je 0x1400840da
cmp dword [rsp + 0x34], 2
je 0x1400840da
jmp 0x140084132
movsxd rax, dword [rsp + 0x58]
imul rax, rax, 3
lea rcx, [0x1403b65f0]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x50]
mov r9, qword [rcx + 0x1d8]
mov r8d, 1
mov edx, 2
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rax, qword [rsp + 0x50]
mov r9, qword [rax + 0x1d8]
mov r8d, 1
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add rsp, 0x40
pop rdi
ret

Function at 0x140088b20
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0x20
mov rcx, qword [rsp + 0x40]
call fcn.140088980
mov r8d, eax
mov rdx, qword [rsp + 0x38]
mov ecx, dword [rsp + 0x30]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__read]
cdqe
add rsp, 0x20
pop rdi
ret
Function at 0x140089090
Capabilities:
Initialize winsock library

Disassembly:
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0x220
lea rdi, [rsp + 0x30]
mov ecx, 0x7c
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov ecx, dword [rsp + 0x230]
mov rax, qword [0x14055f260]
xor rax, rsp
mov qword [rsp + 0x210], rax
mov eax, dword [rsp + 0x230]
and eax, 2
test eax, eax
je 0x140089167
mov eax, 0x202
mov word [rsp + 0x30], ax
lea rdx, [rsp + 0x50]
movzx ecx, word [rsp + 0x30]
call qword [sym.imp.WS2_32.dll_WSAStartup]
mov dword [rsp + 0x1f4], eax
cmp dword [rsp + 0x1f4], 0
je 0x14008910d
mov eax, 2
jmp 0x14008921f
movzx eax, word [rsp + 0x50]
and rax, 0xff
movzx eax, al
movzx ecx, word [rsp + 0x30]
and rcx, 0xff
movzx ecx, cl
cmp eax, ecx
jne 0x140089157
movzx eax, word [rsp + 0x50]
shr rax, 8
and rax, 0xff
movzx eax, al
movzx ecx, word [rsp + 0x30]
shr rcx, 8
and rcx, 0xff
movzx ecx, cl
cmp eax, ecx
je 0x140089167
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, 2
jmp 0x14008921f
call fcn.1400ed140
mov dword [rsp + 0x1f8], eax
cmp dword [rsp + 0x1f8], 0
je 0x140089189
mov eax, dword [rsp + 0x1f8]
jmp 0x14008921f
lea rcx, str.iphlpapi.dll
call fcn.1400892c0
mov qword [0x140574f98], rax
cmp qword [0x140574f98], 0
je 0x1400891dc
lea rdx, str.if_nametoindex
mov rcx, qword [0x140574f98]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x200], rax
cmp qword [rsp + 0x200], 0
je 0x1400891dc
mov rax, qword [rsp + 0x200]
mov qword [0x140574f90], rax
mov dword [rsp + 0x20], 3
mov r9d, 2
xor r8d, r8d
xor edx, edx
mov ecx, 6
call fcn.1400ecc90
movzx eax, al
test eax, eax
je 0x140089209
mov byte [0x1405a2e98], 1
jmp 0x140089210
mov byte [0x1405a2e98], 0
lea rcx, [0x1405a2ea0]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
xor eax, eax
mov rdi, rax
mov rcx, rsp
lea rdx, reloc.WS2_32.dll_accept
call fcn.14036c99c
mov rax, rdi
mov rcx, qword [rsp + 0x210]
xor rcx, rsp
call fcn.14036c0d0
add rsp, 0x220
pop rdi
ret
Function at 0x1400892c0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x60
mov qword [rsp + 0x20], 0
mov qword [rsp + 0x28], 0
lea rcx, str.kernel32
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x1400892fd
xor eax, eax
jmp 0x14008949a
lea rdx, str.LoadLibraryExA
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x28], rax
lea rdx, [0x14054ee24]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strpbrk]
test rax, rax
je 0x14008936a
cmp qword [rsp + 0x28], 0
je 0x14008934b
mov r8d, 8
xor edx, edx
mov rcx, qword [rsp + 0x70]
call qword [rsp + Ordinal_41]
mov qword [rsp + 0x50], rax
jmp 0x14008935b
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x20], rax
jmp 0x140089495
cmp qword [rsp + 0x28], 0
je 0x1400893a4
lea rdx, str.AddDllDirectory
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400893a4
mov r8d, 0x800
xor edx, edx
mov rcx, qword [rsp + 0x70]
call qword [rsp + Ordinal_41]
mov qword [rsp + 0x20], rax
jmp 0x140089495
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0
je 0x140089495
mov rcx, qword [rsp + 0x70]
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
mov qword [rsp + 0x40], rax
mov eax, dword [rsp + 0x38]
inc eax
mov eax, eax
add rax, qword [rsp + 0x40]
mov rcx, rax
call qword [section..data]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
je 0x14008948a
mov edx, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x14008948a
mov rcx, qword [rsp + 0x48]
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
mov rcx, qword [rsp + 0x48]
add rcx, rax
mov rax, rcx
lea rdx, [0x14054ee48]
mov rcx, rax
call sub.api_ms_win_crt_string_l1_1_0.dll_strcpy
mov rcx, qword [rsp + 0x48]
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
mov rcx, qword [rsp + 0x48]
add rcx, rax
mov rax, rcx
mov rdx, qword [rsp + 0x70]
mov rcx, rax
call sub.api_ms_win_crt_string_l1_1_0.dll_strcpy
cmp qword [rsp + 0x28], 0
je 0x140089470
mov r8d, 8
xor edx, edx
mov rcx, qword [rsp + 0x48]
call qword [rsp + Ordinal_41]
mov qword [rsp + 0x58], rax
jmp 0x140089480
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x20], rax
mov rcx, qword [rsp + 0x48]
call qword [0x14054b008]
mov rax, qword [rsp + 0x20]
add rsp, 0x60
pop rdi
ret
Function at 0x140094390
Capabilities:
Set socket configuration

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xa0
lea rdi, [rsp + 0x50]
mov ecx, reloc.WS2_32.dll_sendto
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xb0]
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x84]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x64]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x4004747b
mov rcx, qword [rsp + 0xb0]
call qword [sym.imp.WS2_32.dll_WSAIoctl]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jne 0x140094431
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x64]
mov r8d, 0x1001
mov edx, 0xffff
mov rcx, qword [rsp + 0xb0]
call qword [sym.imp.WS2_32.dll_setsockopt]
mov rcx, rsp
lea rdx, reloc.WS2_32.dll_bind
call fcn.14036c99c
add rsp, 0xa0
pop rdi
ret
Function at 0x14009b280
Capabilities:
Check for software breakpoints

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x40
mov rax, qword [rsp + 0x50]
add rax, 0xf0
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x20]
mov ecx, dword [rcx + 0x60]
mov dword [rax + 0x1390], ecx
mov rax, qword [rsp + 0x58]
movzx eax, byte [rax + 0x70d]
mov rcx, qword [rsp + 0x50]
mov dword [rcx + 0x1398], eax
mov rax, qword [rsp + 0x50]
movzx eax, byte [rax + 0x1369]
test eax, eax
je 0x14009b2f5
mov rax, qword [rsp + 0x50]
movzx eax, byte [rax + 0x1369]
mov rcx, qword [rsp + 0x58]
movzx ecx, byte [rcx + 0x70d]
cmp eax, ecx
jle 0x14009b30c
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x58]
movzx ecx, byte [rcx + 0x70d]
mov byte [rax + 0x1369], cl
mov rax, qword [rsp + 0x50]
cmp qword [rax + 0x1180], 0
je 0x14009b345
mov rax, qword [rsp + 0x50]
movzx eax, byte [rax + 0x136a]
test eax, eax
jne 0x14009b345
mov rax, qword [rsp + 0x20]
cmp dword [rax + 0x60], 0x1a0
jne 0x14009b345
mov rax, qword [rsp + 0x20]
mov byte [rax + 0xdd], 1
mov rax, qword [rsp + 0x58]
movzx eax, byte [rax + 0x70d]
cmp eax, 0xa
jne 0x14009b378
lea rdx, str.HTTP_1.0__assume_close_after_body
mov rcx, qword [rsp + 0x50]
call fcn.140084140
mov edx, 1
mov rcx, qword [rsp + 0x58]
call fcn.140085dc0
jmp 0x14009b3e0
mov rax, qword [rsp + 0x58]
movzx eax, byte [rax + 0x70d]
cmp eax, 0x14
je 0x14009b39f
mov rax, qword [rsp + 0x20]
cmp dword [rax + 0x7c], 2
jne 0x14009b3b9
mov rax, qword [rsp + 0x20]
cmp dword [rax + 0x60], 0x65
jne 0x14009b3b9
xor eax, eax
test eax, eax
jne 0x14009b39f
mov rax, qword [rsp + 0x58]
mov rax, qword [rax + 0x6d0]
mov dword [rax], 2
jmp 0x14009b3e0
mov rax, qword [rsp + 0x58]
movzx eax, byte [rax + 0x70d]
cmp eax, 0xb
jl 0x14009b3e0
mov rax, qword [rsp + 0x58]
movzx eax, byte [rax + 0x2ce]
test eax, eax
jne 0x14009b3e0
xor eax, eax
test eax, eax
jne 0x14009b3da
mov rax, qword [rsp + 0x20]
cmp dword [rax + 0x60], 0x64
jl 0x14009b403
mov rax, qword [rsp + 0x20]
cmp dword [rax + 0x60], 0xc8
jge 0x14009b403
mov dword [rsp + 0x28], 1
jmp 0x14009b40b
mov dword [rsp + 0x28], 0
cmp dword [rsp + 0x28], 0
jne 0x14009b41c
mov dword [rsp + 0x2c], 0
jmp 0x14009b424
mov dword [rsp + 0x2c], 1
mov rax, qword [rsp + 0x20]
movzx ecx, byte [rsp + 0x2c]
mov byte [rax + 0xde], cl
mov rax, qword [rsp + 0x20]
mov eax, dword [rax + 0x60]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0xcc
je 0x14009b472
cmp dword [rsp + 0x30], 0x130
je 0x14009b456
jmp 0x14009b497
mov rax, qword [rsp + 0x50]
movzx eax, byte [rax + 0x530]
test eax, eax
je 0x14009b472
mov rax, qword [rsp + 0x50]
mov byte [rax + 0x146c], 1
mov rax, qword [rsp + 0x20]
mov qword [rax], 0
mov rax, qword [rsp + 0x20]
mov qword [rax + 8], 0
mov rax, qword [rsp + 0x20]
mov byte [rax + 0xde], 1
xor eax, eax
add rsp, 0x40
pop rdi
ret
Function at 0x1400a8550
Capabilities:
Get socket status

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x70
lea rdi, [rsp + 0x30]
mov ecx, reloc.WS2_32.dll_recv
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x80]
cmp qword [rsp + 0x88], 0
je 0x1400a859a
mov rax, qword [rsp + 0x88]
cmp dword [rax], 0
jne 0x1400a85dc
cmp qword [rsp + 0x90], 0
je 0x1400a85b2
mov rax, qword [rsp + 0x90]
cmp dword [rax], 0
jne 0x1400a85dc
cmp qword [rsp + 0x98], 0
je 0x1400a85ca
mov rax, qword [rsp + 0x98]
cmp dword [rax], 0
jne 0x1400a85dc
mov rcx, qword [rsp + 0xa0]
call fcn.1400a84b0
jmp 0x1400a86ad
mov rdx, qword [rsp + 0xa0]
lea rcx, [rsp + 0x38]
call fcn.1400f8a40
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x98], 0
je 0x1400a861a
mov rax, qword [rsp + 0x98]
cmp dword [rax], 0
je 0x1400a861a
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x50], rax
jmp 0x1400a8623
mov qword [rsp + 0x50], 0
cmp qword [rsp + 0x90], 0
je 0x1400a864a
mov rax, qword [rsp + 0x90]
cmp dword [rax], 0
je 0x1400a864a
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x58], rax
jmp 0x1400a8653
mov qword [rsp + 0x58], 0
cmp qword [rsp + 0x88], 0
je 0x1400a867a
mov rax, qword [rsp + 0x88]
cmp dword [rax], 0
je 0x1400a867a
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x60], rax
jmp 0x1400a8683
mov qword [rsp + 0x60], 0
mov eax, dword [rsp + 0x80]
inc eax
mov rcx, qword [rsp + 0x48]
mov qword [rsp + 0x20], rcx
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
mov ecx, eax
call qword [sym.imp.WS2_32.dll_select]
mov rdi, rax
mov rcx, rsp
lea rdx, reloc.WS2_32.dll_accept
call fcn.14036c99c
mov rax, rdi
add rsp, 0x70
pop rdi
ret
Function at 0x1400a9f40
Capabilities:
Move file

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0xd8
lea rdi, [rsp + 0x20]
mov ecx, reloc.WLDAP32.dll_Ordinal_46
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xf0]
mov rax, qword [0x14055f260]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov dword [rsp + 0x20], 0x3e8
lea rcx, [rsp + 0x78]
call fcn.14006cf30
lea rcx, [rsp + 0x38]
mov rdi, rcx
mov rsi, rax
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
mov rcx, qword [rsp + 0xf0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__strdup]
mov qword [rsp + 0x58], rax
mov rcx, qword [rsp + 0xf8]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__strdup]
mov qword [rsp + 0x60], rax
mov r8d, 1
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_MoveFileExA]
test eax, eax
je 0x1400aa02b
cmp qword [rsp + 0x58], 0
je 0x1400a9ffe
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rsp + 0x58], 0
xor eax, eax
test eax, eax
jne 0x1400a9fe2
cmp qword [rsp + 0x60], 0
je 0x1400aa020
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rsp + 0x60], 0
xor eax, eax
test eax, eax
jne 0x1400aa004
jmp 0x1400aa0f0
lea rax, [rsp + 0xb0]
lea rcx, [rsp + 0x38]
mov rdi, rax
mov rsi, rcx
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
lea rcx, [rsp + 0x88]
call fcn.14006cf30
lea rcx, [rsp + 0xa0]
mov rdi, rcx
mov rsi, rax
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0xa0]
call fcn.14006d040
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
jl 0x1400aa095
movsxd rax, dword [rsp + 0x20]
cmp qword [rsp + 0x68], rax
jle 0x1400aa0e0
cmp qword [rsp + 0x58], 0
je 0x1400aa0b1
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rsp + 0x58], 0
xor eax, eax
test eax, eax
jne 0x1400aa095
cmp qword [rsp + 0x60], 0
je 0x1400aa0d3
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rsp + 0x60], 0
xor eax, eax
test eax, eax
jne 0x1400aa0b7
mov eax, 1
jmp 0x1400aa0f2
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1400a9fc8
xor eax, eax
mov rdi, rax
mov rcx, rsp
lea rdx, reloc.WS2_32.dll_accept
call fcn.14036c99c
mov rax, rdi
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.14036c0d0
add rsp, 0xd8
pop rdi
pop rsi
ret
Function at 0x1400ab3f0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x40
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9, qword [rsp + 0x58]
mov r8, qword [rsp + 0x50]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x1400ab44c
mov ecx, 0xffffffff
call fcn.1400ab510
cmp qword [rsp + 0x30], rax
jne 0x1400ab450
xor eax, eax
jmp 0x1400ab455
mov rax, qword [rsp + 0x30]
add rsp, 0x40
pop rdi
ret

Function at 0x1400ab880
Capabilities:
Generate random numbers via winapi

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x20
mov r8, qword [rsp + 0x38]
xor edx, edx
mov rcx, qword [rsp + 0x30]
call sub.VCRUNTIME140.dll_memset
mov r9d, 2
mov r8d, dword [rsp + 0x38]
mov rdx, qword [rsp + 0x30]
xor ecx, ecx
call sub.bcrypt.dll_BCryptGenRandom
test eax, eax
je 0x1400ab8c2
mov eax, 2
jmp 0x1400ab8c4
xor eax, eax
add rsp, 0x20
pop rdi
ret
Function at 0x1400b1700
Capabilities:
Create new key via cryptacquirecontext
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xd0
lea rdi, [rsp + 0x30]
mov ecx, Ordinal_41
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xe0]
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x58], 0
mov dword [rsp + 0x74], 0
mov dword [rsp + 0x94], 4
mov eax, dword [rsp + 0xf8]
mov dword [rsp + 0xb4], eax
mov r8, qword [rsp + 0xf8]
xor edx, edx
mov rcx, qword [rsp + 0xf0]
call sub.VCRUNTIME140.dll_memset
mov dword [rsp + 0x20], 0xf0000040
mov r9d, dword [rsp + 0x100]
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
jne 0x1400b17a8
jmp 0x1400b1892
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, dword [rsp + 0x108]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x1400b17d3
jmp 0x1400b186a
xor r9d, r9d
mov r8d, dword [rsp + 0xe8]
mov rdx, qword [rsp + 0xe0]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
jne 0x1400b17f7
jmp 0x1400b186a
mov dword [rsp + 0x20], 0
lea r9, [rsp + 0x94]
lea r8, [rsp + 0x74]
mov edx, 4
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
jne 0x1400b1822
jmp 0x1400b186a
mov eax, dword [rsp + 0x74]
cmp qword [rsp + 0xf8], rax
jae 0x1400b1832
jmp 0x1400b186a
mov dword [rsp + 0x20], 0
lea r9, [rsp + 0xb4]
mov r8, qword [rsp + 0xf0]
mov edx, 2
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
je 0x1400b1860
jmp 0x1400b186a
xor eax, eax
test eax, eax
jne 0x1400b17a8
cmp qword [rsp + 0x58], 0
je 0x1400b187d
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
cmp qword [rsp + 0x38], 0
je 0x1400b1892
xor edx, edx
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov rcx, rsp
lea rdx, reloc.WS2_32.dll_getpeername
call fcn.14036c99c
add rsp, 0xd0
pop rdi
ret