joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1401fb9e0
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov qword [rax + 8], rcx
push rbp
mov rbp, rsp
sub rsp, 0x20
test rcx, rcx
jne 0x1401fb880
call fcn.1401e3534
mov dword [rax], 0x16
call fcn.1401e33e4
or eax, 0xffffffff
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop rbp
ret
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x1401fb868
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
shr ecx, 0xc
test cl, 1
jne 0x1401fb868
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
mov rax, qword [rbp + 0x10]
shr ecx, 1
test cl, 1
je 0x1401fb8b2
lock or dword [rax + 0x14], 0x10
jmp 0x1401fb868
lock or dword [rax + 0x14], 1
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
test ecx, 0x4c0
jne 0x1401fb8cf
mov rcx, qword [rbp + 0x10]
call fcn.1402040fc
mov rax, qword [rbp + 0x10]
mov rcx, qword [rax + 8]
mov qword [rax], rcx
mov rbx, qword [rbp + 0x10]
mov rcx, rbx
call fcn.1401ed608
mov rdx, qword [rbp + 0x10]
mov ecx, eax
mov r8d, dword [rdx + 0x20]
mov rdx, qword [rdx + 8]
call fcn.1401fb0a4
mov dword [rbx + 0x10], eax
mov rax, qword [rbp + 0x10]
mov edx, dword [rax + 0x10]
lea ecx, [rdx + 1]
cmp ecx, 1
ja 0x1401fb926
neg edx
sbb ecx, ecx
and ecx, 8
add ecx, 8
lock or dword [rax + 0x14], ecx
mov rax, qword [rbp + 0x10]
and dword [rax + 0x10], 0
jmp 0x1401fb868
mov ecx, dword [rax + 0x14]
test cl, 6
jne 0x1401fb992
mov rcx, qword [rbp + 0x10]
call fcn.1401ed608
cmp eax, 0xffffffff
je 0x1401fb979
mov rcx, qword [rbp + 0x10]
call fcn.1401ed608
cmp eax, 0xfffffffe
je 0x1401fb979
mov rbx, qword [rbp + 0x10]
mov rcx, rbx
call fcn.1401ed608
movsxd rdi, eax
lea rsi, [0x1402dd570]
mov rcx, rbx
sar rdi, 6
call fcn.1401ed608
and eax, 0x3f
shl rax, 6
add rax, qword [rsi + rdi*8]
jmp 0x1401fb980
lea rax, [0x1402cbba0]
mov al, byte [rax + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x1401fb992
mov rax, qword [rbp + 0x10]
lock or dword [rax + 0x14], 0x20
mov rax, qword [rbp + 0x10]
cmp dword [rax + 0x20], 0x200
jne 0x1401fb9c8
mov ecx, dword [rax + 0x14]
shr ecx, 6
test cl, 1
je 0x1401fb9c4
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
shr ecx, 8
test cl, 1
jne 0x1401fb9c4
mov rax, qword [rbp + 0x10]
mov dword [rax + 0x20], 0x1000
mov rax, qword [rbp + 0x10]
dec dword [rax + 0x10]
mov rcx, qword [rax]
movzx edx, byte [rcx]
inc rcx
mov qword [rax], rcx
mov eax, edx
jmp 0x1401fb86b
jmp 0x1401fb838
Function at 0x401560
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Execute shellcode via windows fibers

Disassembly:
push rbp
push rdi
push rsi
sub rsp, 0x240
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x1e0], rcx
mov rcx, qword [rbp + 0x1e0]
call sub.msvcrt.dll_atoi
mov dword [rbp + 0x1b8], eax
lea rax, [rbp - 0x60]
lea rdx, [0x00404080]
mov ecx, 0x3f
mov rdi, rax
mov rsi, rdx
rep movsq qword [rdi], qword [rsi]
mov rdx, rsi
mov rax, rdi
mov ecx, dword [rdx]
mov dword [rax], ecx
lea rax, [rax + 4]
lea rdx, [rdx + 4]
movzx ecx, word [rdx]
mov word [rax], cx
lea rax, [rax + 2]
lea rdx, [rdx + 2]
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_ConvertThreadToFiber]
call rax
mov qword [rbp + 0x1b0], rax
cmp qword [rbp + 0x1b0], 0
jne 0x4015ff
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
mov edx, eax
lea rcx, str.ConvertThreadToFiber_failed_with_error:__lu_n
call sub.msvcrt.dll_printf
jmp 0x4017ad
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x1fe
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_VirtualAlloc]
call rax
mov qword [rbp + 0x1a8], rax
cmp qword [rbp + 0x1a8], 0
jne 0x401654
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
mov edx, eax
lea rcx, str.VirtualAlloc_failed_with_error:__lu_n
call sub.msvcrt.dll_printf
mov rax, qword [sym.imp.KERNEL32.dll_ConvertFiberToThread]
call rax
jmp 0x4017ad
mov dword [rbp + 0x1bc], 0
jmp 0x401688
mov eax, dword [rbp + 0x1bc]
cdqe
movzx eax, byte [rbp + rax - 0x60]
mov edx, dword [rbp + 0x1b8]
xor edx, eax
mov eax, dword [rbp + 0x1bc]
cdqe
mov byte [rbp + rax - 0x60], dl
add dword [rbp + 0x1bc], 1
mov eax, dword [rbp + 0x1bc]
cmp eax, 0x1fd
jbe 0x401660
mov rax, qword [rbp + 0x1a8]
mov rdx, rax
lea rax, [rbp - 0x60]
mov ecx, 0x1fe
mov r8, qword [rax]
mov qword [rdx], r8
mov r8d, ecx
add r8, rdx
lea r9, [r8 + 8]
mov r8d, ecx
add r8, rax
add r8, 8
mov r8, qword [r8 - 0x10]
mov qword [r9 - 0x10], r8
lea r8, [rdx + 8]
and r8, 0xfffffffffffffff8
sub rdx, r8
sub rax, rdx
add ecx, edx
and ecx, 0xfffffff8
shr ecx, 3
mov edx, ecx
mov edx, edx
mov rdi, r8
mov rsi, rax
mov rcx, rdx
rep movsq qword [rdi], qword [rsi]
mov rax, qword [rbp + 0x1a8]
mov r8d, 0
mov rdx, rax
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_CreateFiber]
call rax
mov qword [rbp + 0x1a0], rax
cmp qword [rbp + 0x1a0], 0
jne 0x40175f
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
mov edx, eax
lea rcx, str.CreateFiber_failed_with_error:__lu_n
call sub.msvcrt.dll_printf
mov rax, qword [rbp + 0x1a8]
mov r8d, 0x8000
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_VirtualFree]
call rax
mov rax, qword [sym.imp.KERNEL32.dll_ConvertFiberToThread]
call rax
jmp 0x4017ad
mov rax, qword [rbp + 0x1a0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_SwitchToFiber]
call rax
mov rax, qword [rbp + 0x1a0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_DeleteFiber]
call rax
mov rax, qword [rbp + 0x1a8]
mov r8d, 0x8000
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_VirtualFree]
call rax
mov rax, qword [sym.imp.KERNEL32.dll_ConvertFiberToThread]
call rax
nop
add rsp, 0x240
pop rsi
pop rdi
pop rbp
ret
Function at 0x401ce0
Capabilities:
Write file on windows

Disassembly:
push r12
push rbx
sub rsp, 0x38
mov r12, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.00402e60
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rbx, qword [rsp + 0x28]
mov ecx, 2
call fcn.00402e60
mov rdx, r12
mov rcx, rax
mov r8, rbx
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop word [rax + rax]

Function at 0x401d50
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rdi, dword [0x00407614]
mov r12, rcx
mov rsi, rdx
mov rbx, r8
test edi, edi
jle 0x401ef8
mov rax, qword [0x00407618]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp r12, rdx
jb 0x401d9c
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp r12, rdx
jb 0x401e27
add ecx, 1
add rax, 0x28
cmp ecx, edi
jne 0x401d80
mov rcx, r12
call fcn.00402ab0
mov rbp, rax
test rax, rax
je 0x401f32
mov rax, qword [0x00407618]
lea rdi, [rdi + rdi*4]
shl rdi, 3
add rax, rdi
mov qword [rax + 0x20], rbp
mov dword [rax], 0
call fcn.00402be0
mov ecx, dword [rbp + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x00407618]
mov qword [rax + rdi + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x401f41
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x401e20
sub eax, 4
and eax, 0xfffffffb
jne 0x401eb0
add dword [0x00407614], 1
cmp ebx, 8
jae 0x401e58
test bl, 4
jne 0x401f00
test ebx, ebx
je 0x401e49
movzx eax, byte [rsi]
mov byte [r12], al
test bl, 2
jne 0x401f20
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rax, qword [rsi]
lea rcx, [r12 + 8]
and rcx, 0xfffffffffffffff8
mov qword [r12], rax
mov eax, ebx
mov rdx, qword [rsi + rax - 8]
mov qword [r12 + rax - 8], rdx
sub r12, rcx
add ebx, r12d
sub rsi, r12
and ebx, 0xfffffff8
cmp ebx, 8
jb 0x401e49
and ebx, 0xfffffff8
xor eax, eax
mov edx, eax
add eax, 8
mov r8, qword [rsi + rdx]
mov qword [rcx + rdx], r8
cmp eax, ebx
jb 0x401e8a
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
add rdi, qword [0x00407618]
mov qword [rdi + 8], rcx
mov r9, rdi
mov qword [rdi + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x401e20
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.00401ce0
nop dword [rax]
xor edi, edi
jmp 0x401da7
mov eax, dword [rsi]
mov ebx, ebx
mov dword [r12], eax
mov eax, dword [rsi + rbx - 4]
mov dword [r12 + rbx - 4], eax
jmp 0x401e49
mov ebx, ebx
movzx eax, word [rsi + rbx - 2]
mov word [r12 + rbx - 2], ax
jmp 0x401e49
mov rdx, r12
lea rcx, str.Address__p_has_no_image_section
call fcn.00401ce0
mov rax, qword [0x00407618]
mov edx, dword [rbp + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rdi + 0x18]
call fcn.00401ce0
nop
nop dword [rax]
Function at 0x402720
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x00407900]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x004078e0]
test rbx, rbx
je 0x402774
mov rdi, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [rbx]
call rdi
mov r12, rax
call rsi
test eax, eax
jne 0x40276b
test r12, r12
je 0x40276b
mov rax, qword [rbx + 8]
mov rcx, r12
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x402750
lea rcx, [0x00407900]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x402ab0
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r10, qword [0x00404630]
xor r8d, r8d
cmp word [r10], 0x5a4d
mov r9, rcx
jne 0x402b29
mov rcx, r10
call fcn.00402980
test eax, eax
je 0x402b29
movsxd rax, dword [r10 + 0x3c]
mov rcx, r9
sub rcx, r10
add r10, rax
movzx eax, word [r10 + 0x14]
lea r8, [r10 + rax + 0x18]
movzx eax, word [r10 + 6]
test eax, eax
je 0x402b26
sub eax, 1
lea rax, [rax + rax*4]
lea r9, [r8 + rax*8 + 0x28]
nop dword [rax]
mov edx, dword [r8 + 0xc]
mov rax, rdx
cmp rcx, rdx
jb 0x402b1d
add eax, dword [r8 + 8]
cmp rcx, rax
jb 0x402b29
add r8, 0x28
cmp r8, r9
jne 0x402b08
xor r8d, r8d
mov rax, r8
add rsp, 0x28
ret
Function at 0x1401b29a6
Capabilities:
Hash data using fnv

Disassembly:
jmp 0x1402ee1c0
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x128
lea rbp, [rsp + 0x20]
lea rcx, [0x14066a58d]
call fcn.1401be157
nop
mov dword [rbp + 4], 0x811c9dc5
mov qword [rbp + 0x28], 0
jmp 0x1402ee201
mov rax, qword [rbp + 0x28]
inc rax
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x128]
cmp qword [rbp + 0x28], rax
jae 0x1402ee238
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x120]
add rcx, rax
mov rax, rcx
movzx eax, byte [rax]
mov ecx, dword [rbp + 4]
xor ecx, eax
mov eax, ecx
mov dword [rbp + 4], eax
imul eax, dword [rbp + 4], 0x1000193
mov dword [rbp + 4], eax
jmp 0x1402ee1f6
mov eax, dword [rbp + 4]
lea rsp, [rbp + 0x108]
pop rdi
pop rbp
ret

Function at 0x1401b30f9
Capabilities:
Write file on windows

Disassembly:
jmp 0x1404dd5d0
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x128
lea rbp, [rsp + 0x20]
lea rcx, [0x14066b136]
call fcn.1401be157
nop
mov rax, qword [rbp + 0x120]
cmp qword [rax + 0x68], 0
je 0x1404dd628
mov r8, qword [rbp + 0x130]
mov rdx, qword [rbp + 0x128]
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
jmp 0x1404dd73a
mov rax, qword [rbp + 0x130]
mov qword [rbp + 8], rax
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pnavail_void_const___ptr64]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x130], 0
jle 0x1404dd6d3
cmp qword [rbp + 0x28], 0
jle 0x1404dd6d3
mov rax, qword [rbp + 0x28]
cmp qword [rbp + 0x130], rax
jge 0x1404dd671
mov rax, qword [rbp + 0x130]
mov qword [rbp + 0x28], rax
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
mov r8, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x128]
mov rcx, rax
call fcn.1401bd46e
nop
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x128]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x128], rax
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x130]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x130], rax
mov edx, dword [rbp + 0x28]
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pbump_int____ptr64]
nop
cmp qword [rbp + 0x130], 0
jle 0x1404dd729
mov rax, qword [rbp + 0x120]
cmp qword [rax + 0x80], 0
je 0x1404dd729
mov rax, qword [rbp + 0x120]
mov r9, qword [rax + 0x80]
mov r8, qword [rbp + 0x130]
mov edx, 1
mov rcx, qword [rbp + 0x128]
call qword [sym.imp.ucrtbased.dll_fwrite]
mov rcx, qword [rbp + 0x130]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x130], rax
mov rax, qword [rbp + 0x130]
mov rcx, qword [rbp + 8]
sub rcx, rax
mov rax, rcx
lea rsp, [rbp + 0x108]
pop rdi
pop rbp
ret
Function at 0x1401b3324
Capabilities:
Receive data
Receive data on socket

Disassembly:
jmp 0x14047c310
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0xf8
lea rbp, [rsp + 0x20]
lea rcx, [0x14066b19b]
call fcn.1401be157
nop
mov rax, qword [rbp + 0xf0]
mov rax, qword [rax + 0x18]
mov rcx, qword [rbp + 0xf0]
mov rcx, qword [rcx + 0x10]
mov rdx, qword [rbp + 0xf0]
mov rdx, qword [rdx + 8]
mov r8, qword [rbp + 0xf0]
mov r8, qword [r8]
mov qword [rbp + 0xc0], r8
mov r9d, dword [rax]
mov r8d, dword [rcx]
mov rdx, qword [rdx]
mov rax, qword [rbp + 0xc0]
mov rcx, qword [rax]
call qword [sym.imp.WS2_32.dll_recv]
lea rsp, [rbp + 0xd8]
pop rdi
pop rbp
ret

Function at 0x1401b333d
Capabilities:
Create thread

Disassembly:
jmp 0x1404314a0
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x148
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, reloc.WS2_32.dll_shutdown
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x168]
mov rax, qword [0x140625540]
xor rax, rbp
mov qword [rbp + 0x100], rax
lea rcx, [0x14066b152]
call fcn.1401be157
nop
mov edx, 8
lea rcx, [rbp + 8]
call fcn.1401b9bed
mov rdx, qword [rbp + 0x138]
lea rcx, [rbp + 8]
call fcn.1401bef76
nop
lea rax, [0x1401b39eb]
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x130]
add rax, 8
mov qword [rbp + 0xf8], rax
lea rcx, [rbp + 8]
call fcn.1401bc21c
mov rcx, qword [rbp + 0xf8]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
mov r8, qword [rbp + 0x28]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ucrtbased.dll__beginthreadex]
mov rcx, qword [rbp + 0x130]
mov qword [rcx], rax
mov rax, qword [rbp + 0x130]
cmp qword [rax], 0
je 0x14043157c
lea rcx, [rbp + 8]
call fcn.1401b3491
nop
jmp 0x140431595
mov rax, qword [rbp + 0x130]
mov dword [rax + 8], 0
mov ecx, 6
call fcn.1401b4a44
nop
lea rcx, [rbp + 8]
call fcn.1401bcdac
nop
lea rcx, [rbp - 0x30]
lea rdx, [0x1405b8ad0]
call fcn.1401bbfec
mov rcx, qword [rbp + 0x100]
xor rcx, rbp
call fcn.1401b7c3a
lea rsp, [rbp + 0x118]
pop rdi
pop rbp
ret

Function at 0x1401b4053
Capabilities:
Hash data using fnv

Disassembly:
jmp 0x140219830
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x108
lea rbp, [rsp + 0x20]
lea rcx, [0x14066a188]
call fcn.1401be157
nop
mov qword [rbp + 8], 0
jmp 0x14021986f
mov rax, qword [rbp + 8]
inc rax
mov qword [rbp + 8], rax
mov rax, qword [rbp + 0x110]
cmp qword [rbp + 8], rax
jae 0x1402198c5
mov rax, qword [rbp + 8]
mov rcx, qword [rbp + 0x108]
add rcx, rax
mov rax, rcx
movzx eax, byte [rax]
mov rcx, qword [rbp + 0x100]
xor rcx, rax
mov rax, rcx
mov qword [rbp + 0x100], rax
movabs rax, 0x100000001b3
mov rcx, qword [rbp + 0x100]
imul rcx, rax
mov rax, rcx
mov qword [rbp + 0x100], rax
jmp 0x140219864
mov rax, qword [rbp + 0x100]
lea rsp, [rbp + 0xe8]
pop rdi
pop rbp
ret
Function at 0x1401b458a
Capabilities:
Create thread

Disassembly:
jmp 0x140431320
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x148
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, reloc.WS2_32.dll_shutdown
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x168]
mov rax, qword [0x140625540]
xor rax, rbp
mov qword [rbp + 0x100], rax
lea rcx, [0x14066b152]
call fcn.1401be157
nop
mov edx, 8
lea rcx, [rbp + 8]
call fcn.1401b5854
mov rdx, qword [rbp + 0x138]
lea rcx, [rbp + 8]
call fcn.1401b7ece
nop
lea rax, [0x1401b9d23]
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x130]
add rax, 8
mov qword [rbp + 0xf8], rax
lea rcx, [rbp + 8]
call fcn.1401ba1ab
mov rcx, qword [rbp + 0xf8]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
mov r8, qword [rbp + 0x28]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ucrtbased.dll__beginthreadex]
mov rcx, qword [rbp + 0x130]
mov qword [rcx], rax
mov rax, qword [rbp + 0x130]
cmp qword [rax], 0
je 0x1404313fc
lea rcx, [rbp + 8]
call fcn.1401b7267
nop
jmp 0x140431415
mov rax, qword [rbp + 0x130]
mov dword [rax + 8], 0
mov ecx, 6
call fcn.1401b4a44
nop
lea rcx, [rbp + 8]
call fcn.1401b6eac
nop
lea rcx, [rbp - 0x30]
lea rdx, [0x1405b28f0]
call fcn.1401bbfec
mov rcx, qword [rbp + 0x100]
xor rcx, rbp
call fcn.1401b7c3a
lea rsp, [rbp + 0x118]
pop rdi
pop rbp
ret
Function at 0x1401b6137
Capabilities:
Resolve dns

Disassembly:
jmp 0x1404c1390
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x6c8
lea rbp, [rsp + 0x40]
lea rdi, [rsp + 0x40]
mov ecx, 0x112
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x6e8]
mov rax, qword [0x140625540]
xor rax, rbp
mov qword [rbp + 0x670], rax
lea rcx, [0x14066b19b]
call fcn.1401be157
nop
mov rax, qword [rbp + 0x6a0]
movzx eax, word [rax]
cmp eax, 2
jne 0x1404c1416
mov rax, qword [rbp + 0x6a0]
movzx ecx, word [rax + 2]
call qword [sym.imp.WS2_32.dll_ntohs]
movzx eax, ax
mov rcx, qword [rbp + 0x6b8]
mov dword [rcx], eax
jmp 0x1404c144b
mov rax, qword [rbp + 0x6a0]
movzx eax, word [rax]
cmp eax, 0x17
jne 0x1404c1444
mov rax, qword [rbp + 0x6a0]
movzx ecx, word [rax + 2]
call qword [sym.imp.WS2_32.dll_ntohs]
movzx eax, ax
mov rcx, qword [rbp + 0x6b8]
mov dword [rcx], eax
jmp 0x1404c144b
xor al, al
jmp 0x1404c14d7
lea rax, [rbp + 0x10]
mov rdi, rax
xor eax, eax
mov ecx, 0x401
rep stosb byte [rdi], al
lea rcx, [rbp + 0x10]
call fcn.1401be53f
mov dword [rbp + 0x664], eax
lea rcx, [rbp + 0x10]
call fcn.1401b728f
mov qword [rbp + 0x668], rax
mov dword [rsp + 0x30], 2
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9d, dword [rbp + 0x664]
mov r8, qword [rbp + 0x668]
mov edx, dword [rbp + 0x6a8]
mov rcx, qword [rbp + 0x6a0]
call qword [sym.imp.WS2_32.dll_getnameinfo]
test eax, eax
je 0x1404c14bc
xor al, al
jmp 0x1404c14d7
lea rcx, [rbp + 0x10]
call fcn.1401b728f
mov rdx, rax
mov rcx, qword [rbp + 0x6b0]
call fcn.1401b26d1
nop
mov al, 1
mov rdi, rax
lea rcx, [rbp - 0x40]
lea rdx, [0x1405aaf10]
call fcn.1401bbfec
mov rax, rdi
mov rcx, qword [rbp + 0x670]
xor rcx, rbp
call fcn.1401b7c3a
lea rsp, [rbp + 0x688]
pop rdi
pop rbp
ret
Function at 0x1401b7adc
Capabilities:
Enumerate processes

Disassembly:
jmp 0x140484160
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x4b8
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0xc6
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x4d8]
mov rax, qword [0x140625540]
xor rax, rbp
mov qword [rbp + 0x480], rax
lea rcx, [0x14066b1a4]
call fcn.1401be157
nop
mov dword [rbp + 4], 0
xor edx, edx
mov ecx, 2
call fcn.1401b7a7d
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0xffffffffffffffff
je 0x14048424f
mov dword [rbp + 0x50], 0x238
lea rdx, [rbp + 0x50]
mov rcx, qword [rbp + 0x28]
call fcn.1401b9481
test eax, eax
je 0x140484244
lea rdx, [rbp + 0x7c]
lea rcx, [rbp + 0x448]
call fcn.1401b5f9d
mov qword [rbp + 0x478], rax
mov rdx, qword [rbp + 0x4b0]
mov rcx, qword [rbp + 0x478]
call fcn.1401b4f8a
mov byte [rbp + 0x424], al
lea rcx, [rbp + 0x448]
call fcn.1401bc4ab
movzx eax, byte [rbp + 0x424]
test eax, eax
je 0x140484233
mov eax, dword [rbp + 0x58]
mov dword [rbp + 4], eax
jmp 0x140484244
lea rdx, [rbp + 0x50]
mov rcx, qword [rbp + 0x28]
call fcn.1401bc52d
test eax, eax
jne 0x1404841e4
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov eax, dword [rbp + 4]
mov edi, eax
lea rcx, [rbp - 0x20]
lea rdx, [0x1405ae4b0]
call fcn.1401bbfec
mov eax, edi
mov rcx, qword [rbp + 0x480]
xor rcx, rbp
call fcn.1401b7c3a
lea rsp, [rbp + 0x498]
pop rdi
pop rbp
ret

Function at 0x1401b7aeb
Capabilities:
Hash data using fnv

Disassembly:
jmp 0x140216020
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x128
lea rbp, [rsp + 0x20]
lea rcx, [0x14066a1d1]
call fcn.1401be157
nop
mov dword [rbp + 4], 0x811c9dc5
mov qword [rbp + 0x28], 0
jmp 0x140216061
mov rax, qword [rbp + 0x28]
inc rax
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x128]
mov eax, dword [rax + 0x80]
cmp qword [rbp + 0x28], rax
jae 0x140216098
mov rax, qword [rbp + 0x128]
mov rcx, qword [rbp + 0x28]
mov eax, dword [rax + rcx*4]
mov ecx, dword [rbp + 4]
xor ecx, eax
mov eax, ecx
mov dword [rbp + 4], eax
imul eax, dword [rbp + 4], 0x1000193
mov dword [rbp + 4], eax
jmp 0x140216056
mov eax, dword [rbp + 4]
lea rsp, [rbp + 0x108]
pop rdi
pop rbp
ret
Function at 0x1401b80d6
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
jmp 0x1404b3220
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x248
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x56
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x268]
mov rax, qword [0x140625540]
xor rax, rbp
mov qword [rbp + 0x200], rax
lea rcx, [0x14066b19b]
call fcn.1401be157
nop
mov rax, qword [rbp + 0x230]
add rax, 0x99
mov rcx, rax
call fcn.1401bc771
movzx eax, al
test eax, eax
je 0x1404b329f
mov eax, 0xffffffff
jmp 0x1404b33e2
mov rax, qword [rbp + 0x230]
mov rax, qword [rax]
mov rcx, qword [rbp + 0x230]
call qword [rax + 8]
movzx eax, al
test eax, eax
jne 0x1404b32c4
mov eax, 0xffffffff
jmp 0x1404b33e2
lea rax, [rbp + 0x188]
mov qword [rbp + 0x1e8], rax
mov rax, qword [rbp + 0x230]
add rax, 0x408
mov rdx, rax
mov rcx, qword [rbp + 0x1e8]
call fcn.1401b2825
mov qword [rbp + 0x1f8], rax
mov rax, qword [rbp + 0x1f8]
mov qword [rsp + 0x20], rax
mov r9d, dword [rbp + 0x248]
mov r8d, dword [rbp + 0x240]
mov rdx, qword [rbp + 0x238]
mov rcx, qword [rbp + 0x230]
call fcn.1401be436
mov rcx, qword [rbp + 0x230]
add rcx, 0x48
mov rdx, rax
call fcn.1401bd69e
nop
mov rax, qword [rbp + 0x230]
add rax, 0x48
mov rcx, rax
call fcn.1401b9eae
cmp rax, 0xffffffffffffffff
jne 0x1404b3359
mov eax, 0xffffffff
jmp 0x1404b33e2
cmp dword [rbp + 0x240], 0
jne 0x1404b33dc
mov dword [rbp + 0xa4], 0x80
mov rax, qword [rbp + 0x230]
add rax, 0x48
mov rcx, rax
call fcn.1401b9eae
lea r8, [rbp + 0xa4]
lea rdx, [rbp + 0x10]
mov rcx, rax
call qword [sym.imp.WS2_32.dll_getsockname]
cmp eax, 0xffffffff
jne 0x1404b339f
mov eax, 0xffffffff
jmp 0x1404b33e2
movzx eax, word [rbp + 0x10]
cmp eax, 2
jne 0x1404b33b9
movzx ecx, word [rbp + 0x12]
call qword [sym.imp.WS2_32.dll_ntohs]
movzx eax, ax
jmp 0x1404b33e2
movzx eax, word [rbp + 0x10]
cmp eax, 0x17
jne 0x1404b33d3
movzx ecx, word [rbp + 0x12]
call qword [sym.imp.WS2_32.dll_ntohs]
movzx eax, ax
jmp 0x1404b33e2
mov eax, 0xffffffff
jmp 0x1404b33e2
mov eax, dword [rbp + 0x240]
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, reloc.WS2_32.dll_bind
call fcn.1401bbfec
mov rax, rdi
mov rcx, qword [rbp + 0x200]
xor rcx, rbp
call fcn.1401b7c3a
lea rsp, [rbp + 0x218]
pop rdi
pop rbp
ret

Function at 0x1401b8acc
Capabilities:
Terminate process

Disassembly:
jmp 0x14051b4c0
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
add rsp, 0x28
ret