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

Disassembly:
sub rsp, 0x38
cmp byte [rcx + 0xf1e], 0
movsxd r10, r9d
je 0x140041704
cmp r8d, 0xff
jne 0x140041641
lea eax, [r10 - 0xec]
cmp eax, 0x13
ja 0x14004162b
lea r8, [0x140000000]
mov r9, qword [r8 + r10*8 + 0x61ad0]
mov r8, rdx
lea rdx, str._s_IAC__s_n
add rsp, 0x38
jmp fcn.140022710
mov r8, rdx
mov r9d, r10d
lea rdx, str._s_IAC__d_n
add rsp, 0x38
jmp fcn.140022710
cmp r8d, 0xfb
jne 0x140041653
lea r9, str.WILL
jmp 0x140041691
cmp r8d, 0xfc
jne 0x140041665
lea r9, str.WONT
jmp 0x140041691
cmp r8d, 0xfd
jne 0x140041677
lea r9, [0x1400624f4]
jmp 0x140041691
xor r9d, r9d
lea rax, str.DONT
cmp r8d, 0xfe
cmove r9, rax
test r9, r9
je 0x1400416ed
cmp r10d, 0x27
jg 0x1400416c4
lea r8, [0x140000000]
mov r8, qword [r8 + r10*8 + 0x620f0]
test r8, r8
jne 0x1400416d4
mov r8, rdx
mov dword [rsp + 0x20], r10d
lea rdx, str._s__s__d_n
call fcn.140022710
add rsp, 0x38
ret
cmp r10d, 0xff
jne 0x1400416ab
lea r8, str.EXOPL
mov qword [rsp + 0x20], r8
mov r8, rdx
lea rdx, str._s__s__s_n
call fcn.140022710
add rsp, 0x38
ret
mov r9d, r8d
mov dword [rsp + 0x20], r10d
mov r8, rdx
lea rdx, str._s__d__d_n
call fcn.140022710
add rsp, 0x38
ret

Function at 0x140041a50
Capabilities:
Send data
Send data on socket

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
sub rsp, 0x20
mov rbp, qword [rcx]
mov edi, r8d
mov esi, edx
mov byte [rax + 0x10], 0xff
xor r9d, r9d
mov byte [rax + 0x11], sil
mov rbx, rcx
mov byte [rax + 0x12], dil
mov rcx, qword [rcx + 0x4c0]
lea rdx, [rax + 0x10]
lea r8d, [r9 + 3]
call qword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x140041aaf
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.Sending_data_failed___d_
mov rcx, rbp
mov r8d, eax
call fcn.140022590
mov rcx, qword [rbx]
lea rdx, str.SENT
mov r9d, edi
mov r8d, esi
call fcn.1400415e0
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x140041c60
Capabilities:
Send data
Send data on socket

Disassembly:
cmp edx, 0x1f
jne 0x140041e08
push rbp
push rdi
push r14
sub rsp, 0x20
mov rbp, qword [rcx]
mov r14, rcx
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], r15
mov rdi, qword [rbp + 0x1e0]
lea rsi, [rdi + 0x1cb8]
lea rbx, [rdi + 0x1eb8]
mov qword [rbx], rsi
cmp rsi, rbx
jae 0x140041cc5
lea rax, [rsi + 1]
mov byte [rsi], 0xff
mov qword [rbx], rax
cmp rax, rbx
jae 0x140041cc5
mov byte [rax], 0xfa
inc qword [rbx]
mov rax, qword [rbx]
cmp rax, rbx
jae 0x140041cc5
mov byte [rax], dl
inc qword [rbx]
movzx ecx, word [rdi + 0x1ca8]
call qword [sym.imp.WS2_32.dll_htons]
movzx ecx, word [rdi + 0x1caa]
movzx r15d, ax
mov word [rsp + 0x48], ax
call qword [sym.imp.WS2_32.dll_htons]
mov r9, qword [rbx]
movzx ecx, ax
cmp r9, rbx
jae 0x140041cfc
mov byte [r9], r15b
inc qword [rbx]
mov r9, qword [rbx]
mov r15, qword [rsp + 0x58]
cmp r9, rbx
jae 0x140041d52
movzx eax, byte [rsp + 0x49]
mov byte [r9], al
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x140041d52
mov byte [r9], cl
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x140041d52
shr cx, 8
mov byte [r9], cl
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x140041d52
mov byte [r9], 0xff
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x140041d52
mov byte [r9], 0xf0
mov r9, qword [rbx]
inc r9
mov qword [rdi + 0x1ec0], r9
lea r8, [rdi + 0x1cba]
sub r9, rsi
mov qword [rbx], rsi
sub r9, 2
mov edx, 0x3e
mov rcx, rbp
call fcn.140041710
mov rcx, qword [r14 + 0x4c0]
xor r9d, r9d
mov rdx, rsi
lea r8d, [r9 + 3]
call qword [sym.imp.WS2_32.dll_send]
mov rsi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x40]
test eax, eax
jns 0x140041db4
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.Sending_data_failed___d_
mov rcx, rbp
mov r8d, eax
call fcn.140022590
lea rdx, [rdi + 0x1cbb]
mov r8d, 4
mov rcx, r14
call fcn.140041ae0
mov rcx, qword [r14 + 0x4c0]
lea rdx, [rdi + 0x1cbf]
xor r9d, r9d
lea r8d, [r9 + 2]
call qword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x140041e00
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.Sending_data_failed___d_
mov rcx, rbp
mov r8d, eax
call fcn.140022590
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
Function at 0x140043570
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rbx
push rdi
push r14
sub rsp, 0xd0
mov rax, qword [0x14006e080]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov rbx, qword [rcx + 0xa00]
lea rax, [rsp + 0x30]
mov rdi, qword [rcx]
mov r14, rcx
mov dword [rsp + 0x30], 0x80
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov r8d, dword [rbx + 0x15c]
mov rdx, qword [rbx + 0x168]
add r8d, 4
mov rcx, qword [rbx + 0x18]
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_recvfrom]
cmp dword [rbx + 0x150], 0
mov dword [rbx + 0x154], eax
jne 0x140043605
movsxd r8, dword [rsp + 0x30]
lea rcx, [rbx + 0xd0]
lea rdx, [rsp + 0x40]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [rsp + 0x30]
mov dword [rbx + 0x150], eax
mov r8d, dword [rbx + 0x154]
mov qword [rsp + 0xf8], rbp
mov qword [rsp + 0x100], rsi
cmp r8d, 4
jge 0x140043666
lea rdx, str.Received_too_short_packet
mov rcx, rdi
call fcn.140022590
mov dword [rbx + 0xc], 7
xor eax, eax
mov rsi, qword [rsp + 0x100]
mov rbp, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.140056040
add rsp, 0xd0
pop r14
pop rdi
pop rbx
ret
mov rdx, qword [rbx + 0x168]
movzx eax, byte [rdx]
movzx ecx, byte [rdx + 1]
shl eax, 8
or ecx, eax
mov dword [rbx + 0xc], ecx
sub ecx, 3
je 0x140043721
sub ecx, 1
je 0x140043794
sub ecx, 1
je 0x1400436d0
cmp ecx, 1
je 0x1400436b3
lea r8, str.Internal_error:_Unexpected_packet
mov rcx, rdi
lea rdx, [0x14005fff0]
call fcn.140022590
jmp 0x140043794
add r8d, 0xfffffffe
add rdx, 2
mov rcx, rbx
call fcn.1400432a0
test eax, eax
je 0x140043794
jmp 0x14004363a
movzx ecx, byte [rdx + 2]
lea eax, [r8 - 4]
movsxd rbp, eax
lea rsi, [rdx + 4]
movzx eax, byte [rdx + 3]
mov r8, rbp
shl ecx, 8
xor edx, edx
or ecx, eax
mov dword [rbx + 8], ecx
mov rcx, rsi
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x140043794
sub rax, rsi
cmp rax, rbp
jae 0x140043794
mov r8, rsi
lea rdx, str.TFTP_error:__s_n
mov rcx, rdi
call fcn.140022710
jmp 0x140043794
cmp r8d, 4
jle 0x140043794
movzx eax, byte [rdx + 3]
movzx ecx, byte [rdx + 2]
shl ecx, 8
or ecx, eax
movzx eax, word [rbx + 0x48]
inc eax
movzx eax, ax
cmp eax, ecx
jne 0x140043794
lea eax, [r8 - 4]
mov rcx, r14
lea r8, [rdx + 4]
movsxd r9, eax
mov edx, 1
call fcn.1400224b0
mov esi, eax
test eax, eax
je 0x140043773
mov edx, 5
mov rcx, rbx
call fcn.140044260
mov eax, esi
jmp 0x14004363a
mov eax, dword [rbx + 0x154]
mov rcx, rdi
sub eax, 4
cdqe
add qword [rdi + 0xf8], rax
mov rdx, qword [rdi + 0xf8]
call fcn.14002cb40
mov rcx, r14
call fcn.14002ce20
test eax, eax
je 0x140043638
mov edx, 5
mov rcx, rbx
call fcn.140044260
mov eax, Ordinal_46
jmp 0x14004363a
Function at 0x140055ef0
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r14
sub rsp, 0x20
mov eax, dword [rcx + 0x18]
mov rbx, rcx
mov ebp, r8d
mov r14, rdx
lea ecx, [rax + rax]
mov eax, dword [rbx + 0x20]
add rax, 0x18
add rcx, rax
call qword [sub.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test rax, rax
jne 0x140055f32
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
lea rcx, [rax + 0x18]
mov qword [rax], rbx
mov qword [rax + 8], rcx
mov eax, dword [rbx + 0x18]
add rax, rcx
mov qword [rsp + 0x48], rsi
mov qword [rdi + 0x10], rax
cmp ebp, dword [rbx + 0x1c]
jbe 0x140055f79
call qword [rbx]
mov rcx, qword [rdi + 8]
mov r8d, ebp
mov rdx, r14
call qword [rbx + reloc.WS2_32.dll_htonl]
mov r14d, dword [rbx + 0x18]
add r14, qword [rdi + 0x10]
mov rdx, qword [rdi + 8]
mov rcx, r14
call qword [rbx + reloc.WS2_32.dll_recv]
mov rcx, qword [rdi + 8]
mov ebp, dword [rbx + 0x20]
call qword [rbx]
mov rcx, qword [rdi + 0x10]
call qword [rbx]
xor esi, esi
test rbp, rbp
je 0x140055fd2
mov rsi, rbp
nop dword [rax + rax]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x36
mov r8d, 1
mov byte [rsp + 0x40], al
mov rcx, qword [rdi + 8]
call qword [rbx + reloc.WS2_32.dll_htonl]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x5c
lea r14, [r14 + 1]
mov byte [rsp + 0x40], al
mov r8d, 1
mov rcx, qword [rdi + 0x10]
call qword [rbx + reloc.WS2_32.dll_htonl]
sub rbp, 1
jne 0x140055f90
mov eax, dword [rbx + 0x1c]
cmp rsi, rax
jae 0x140056013
nop word [rax + rax]
mov rcx, qword [rdi + 8]
lea rdx, [0x14006560a]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov rcx, qword [rdi + 0x10]
lea rdx, [0x14006560b]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov eax, dword [rbx + 0x1c]
inc rsi
cmp rsi, rax
jb 0x140055fe0
mov rsi, qword [rsp + 0x48]
mov rax, rdi
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret

Function at 0x140056dbc
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140056e06
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140056e06
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140056e06
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140056e06
cmp dword [rcx + 0x84], 0xe
jbe 0x140056e06
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140056e08
xor al, al
add rsp, 0x28
ret
Function at 0x140001000
Capabilities:
Enumerate processes

Disassembly:
push rdi
sub rsp, 0x20
xor r9d, r9d
lea rdx, str.test
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
xor edx, edx
lea ecx, [rdx + 0xf]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
test rax, rax
je 0x1400010a4
mov qword [rsp + 0x30], rbx
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edx, 8
mov r8d, 0x130
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rdx, rax
mov rcx, rdi
mov rbx, rax
mov dword [rax], 0x130
call qword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x140001097
mov qword [rsp + 0x38], rsi
nop dword [rax + rax]
xor r9d, r9d
lea rdx, [rbx + 0x2c]
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x140001070
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
xor eax, eax
add rsp, 0x20
pop rdi
ret
add rsp, 0x20
pop rdi
ret
Function at 0x140001001
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [0x14000ca10]
mov rcx, qword [0x14000c9c0]
xor edx, edx
mov dword [rax], 1
mov rax, qword [0x14000ca20]
cmp word [rcx], 0x5a4d
mov dword [rax], 1
mov rax, qword [0x14000ca30]
mov dword [rax], 1
jne 0x140001083
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
cmp dword [rax], 0x4550
jne 0x140001083
mov ecx, dword [rax + 0x18]
cmp cx, 0x10b
je 0x14000105e
cmp cx, 0x20b
je 0x14000106d
jmp 0x140001083
cmp dword [rax + 0x74], 0xe
jbe 0x140001083
cmp dword [rax + 0xe8], 0
jmp 0x14000107d
cmp dword [rax + 0x84], 0xe
jbe 0x140001083
cmp dword [rax + 0xf8], 0
setne dl
movzx edx, dl
mov rax, qword [0x14000ca00]
mov dword [0x14001000c], edx
mov ecx, 2
cmp dword [rax], 0
jne 0x14000109f
mov ecx, 1
call sym.__set_app_type
call sym.__p__fmode
mov rdx, qword [0x14000caf0]
mov edx, dword [rdx]
mov dword [rax], edx
call sym.__p__commode
mov rdx, qword [0x14000cad0]
mov edx, dword [rdx]
mov dword [rax], edx
call sym._setargv
mov rax, qword [0x14000c950]
cmp dword [rax], 1
jne 0x1400010e1
mov rcx, qword [sym._matherr]
call sym.__mingw_setusermatherr
xor eax, eax
add rsp, 0x28
ret

Function at 0x140001408
Capabilities:
Execute command

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x40
call sym.__main
lea rax, str.Russian
mov rdx, rax
mov ecx, 0
call sym.setlocale
lea rax, str.C:Windows_notepad.exe
mov qword [rbp - 0x10], rax
lea rax, str.1._Autosetup._n2._Setup_later._n3._Exit._nEnter_setup_type:
mov rcx, rax
call sym.printf
lea rax, [rbp - 0x14]
mov rdx, rax
lea rax, [0x14000c05a]
mov rcx, rax
call sym.scanf
mov eax, dword [rbp - 0x14]
cmp eax, 1
jne 0x1400014d1
lea rax, str.Setup_started...__n
mov rcx, rax
call sym.printf
mov dword [rbp - 4], 0
jmp 0x14000149b
mov eax, dword [rbp - 4]
mov edx, eax
lea rax, str._d___n
mov rcx, rax
call sym.printf
mov ecx, 0x186a0
call sym.usleep
add dword [rbp - 4], 1
cmp dword [rbp - 4], 0x64
jle 0x140001479
lea rax, [0x14000c078]
mov rcx, rax
call sym.printf
mov dword [rbp - 8], 0
jmp 0x1400014c9
add dword [rbp - 8], 1
mov rax, qword [rbp - 0x10]
mov rcx, rax
call sym.system
cmp dword [rbp - 8], 5
jle 0x1400014b9
jmp 0x140001513
mov eax, dword [rbp - 0x14]
cmp eax, 2
jne 0x1400014f2
lea rax, [0x14000c09a]
mov rcx, rax
call sym.printf
mov ecx, 0
call sym.exit
mov eax, dword [rbp - 0x14]
cmp eax, 3
jne 0x140001504
mov ecx, 0
call sym.exit
lea rax, str.Write_a_number.
mov rcx, rax
call sym.printf
call sym.getchar
mov eax, 0
add rsp, 0x40
pop rbp
ret
Function at 0x1400017a4
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
mov rax, qword [0x1400100a8]
xor ebx, ebx
add rax, 0x18
mov r12, rcx
mov ecx, dword [0x1400100a4]
mov rsi, rdx
mov rdi, r8
cmp ebx, ecx
jge 0x1400017f2
mov rdx, qword [rax]
cmp r12, rdx
jb 0x1400017ea
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp r12, rdx
jb 0x1400018d9
inc ebx
add rax, 0x28
jmp 0x1400017ca
mov rcx, r12
call sym.__mingw_GetSectionForAddress
mov rbp, rax
test rax, rax
jne 0x140001811
mov rdx, r12
lea rcx, str.Address__p_has_no_image_section
call sym.__report_error
movsxd rbx, ebx
mov rax, qword [0x1400100a8]
xor edx, edx
imul rbx, rbx, 0x28
add rax, rbx
mov dword [rax], edx
mov qword [rax + 0x20], rbp
call sym._GetPEImageBase
mov edx, dword [rbp + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x1400100a8]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
jne 0x140001873
mov rax, qword [0x1400100a8]
mov edx, dword [rbp + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call sym.__report_error
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x1400018d3
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x1400018d3
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 [0x1400100a8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1400018d3
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call sym.__report_error
inc dword [0x1400100a4]
mov ecx, edi
mov rdi, r12
rep movsb byte [rdi], byte [rsi]
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret

Function at 0x140001d00
Capabilities:
Get thread local storage value

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
lea rdi, [0x140010100]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1400100e0]
test rbx, rbx
je 0x140001d4c
mov ecx, dword [rbx]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
test rsi, rsi
je 0x140001d46
test eax, eax
jne 0x140001d46
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
jmp 0x140001d1e
mov rcx, rdi
add rsp, 0x20
pop rbx
pop rsi
pop rdi
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x140001f00
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x140001f23
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
jne 0x140001f23
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret
Function at 0x140001f24
Capabilities:
Enumerate pe sections

Disassembly:
xor r8d, r8d
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
movzx r9d, word [rcx + 6]
lea rax, [rcx + rax + 0x18]
cmp r8d, r9d
jae 0x140001f5e
mov r10d, dword [rax + 0xc]
mov rcx, r10
cmp rdx, r10
jb 0x140001f55
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x140001f60
inc r8d
add rax, 0x28
jmp 0x140001f3c
xor eax, eax
ret

Function at 0x140001fd1
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r9, qword [0x14000c9c0]
mov r8, rcx
mov rcx, r9
call sym._ValidateImageBase
test eax, eax
je 0x140001ffd
mov rdx, r8
mov rcx, r9
sub rdx, r9
add rsp, 0x28
jmp sym._FindPESection
xor eax, eax
add rsp, 0x28
ret
Function at 0x180001824
Capabilities:
Read data from internet
Receive data

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push r12
sub rsp, 0x70
and dword [rax + 8], 0
or ebp, 0xffffffff
cmp byte [0x180035c70], 5
mov rbx, rcx
mov rcx, qword [0x180035a68]
mov eax, 0x1388
mov r12, rdx
cmovbe ebp, eax
mov r8d, 0x4000
xor edx, edx
call qword [sym.imp.kERNEL32.dll_HeapAlloc]
mov rsi, rax
test rax, rax
je 0x18000190d
lea r9, [rsp + 0x80]
mov r8d, 0x4000
mov rdx, rsi
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x1800018cb
call qword [sym.imp.kERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x1800018e9
mov rcx, qword [rbx + 0x6c]
mov edx, ebp
call qword [sym.imp.kERNEL32.dll_WaitForSingleObject]
cmp eax, 0xffffffff
jne 0x1800018b8
call qword [sym.imp.kERNEL32.dll_GetLastError]
cmp eax, 0x102
je 0x1800018f9
test eax, eax
jne 0x1800018e9
mov eax, dword [rbx + 0x5c]
cmp eax, 1
je 0x1800018e9
mov r8d, dword [rsp + 0x80]
test r8d, r8d
je 0x1800018f2
mov rcx, qword [rbx]
xor r9d, r9d
mov rdx, rsi
mov rax, qword [rcx]
call qword [rax + 0x20]
jmp 0x180001876
mov dword [rbx + 0x5c], 1
jmp 0x1800018f9
mov dword [rbx + 0x5c], 2
mov rcx, qword [0x180035a68]
mov r8, rsi
xor edx, edx
call qword [sym.imp.kERNEL32.dll_HeapFree]
jmp 0x180001914
mov dword [rbx + 0x5c], 1
mov rcx, qword [rbx]
lea rdx, [rsp + 0x20]
mov r8d, 1
mov rax, qword [rcx]
call qword [rax + 0x60]
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop r12
ret
Function at 0x180003a80
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
sub rsp, 0x40
mov rdi, rcx
mov rcx, qword [0x180035a68]
mov rsi, rdx
xor edx, edx
mov r8d, 0x208
call qword [sym.imp.kERNEL32.dll_HeapAlloc]
mov rbx, rax
xor eax, eax
mov qword [rsp + 0x78], rax
cmp rbx, rax
jne 0x180003ac0
mov eax, 8
jmp 0x180003ba3
mov ebp, eax
xor edx, edx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x70]
mov r8, rbx
mov rcx, rdi
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x70], 0x104
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
cmp eax, 0x103
je 0x180003b31
test eax, eax
jne 0x180003b1e
mov rdx, qword [0x180035c60]
lea rcx, [0x18003a890]
lea r8d, [rax + 6]
add rdx, rcx
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_StrCmpNIW]
test eax, eax
je 0x180003b26
inc ebp
xor eax, eax
mov edx, ebp
jmp 0x180003ac4
mov rdx, rsi
mov rcx, rdi
call fcn.18001f26c
xor ebp, ebp
xor edx, edx
jmp 0x180003b76
lea rax, [rsp + 0x78]
mov r9d, 0x20019
xor r8d, r8d
mov rdx, rbx
mov rcx, rdi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x180003b67
mov rcx, qword [rsp + 0x78]
mov rdx, rsi
call fcn.180003a80
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc ebp
mov edx, ebp
mov r9d, 0x104
mov r8, rbx
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
cmp eax, 0x103
jne 0x180003b37
mov rcx, qword [0x180035a68]
mov r8, rbx
xor edx, edx
call qword [sym.imp.kERNEL32.dll_HeapFree]
xor eax, eax
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret

Function at 0x180003bb0
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x50
mov ecx, 1
call qword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
je 0x180003c78
call qword [sym.imp.USER32.dll_GetClipboardOwner]
mov rdi, rax
test rax, rax
je 0x180003c78
xor ecx, ecx
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x180003c78
mov ecx, 0xd
call qword [sym.imp.USER32.dll_GetClipboardData]
mov rbx, rax
test rax, rax
je 0x180003c72
mov rcx, rax
call qword [sym.imp.kERNEL32.dll_GlobalLock]
mov rsi, rax
test rax, rax
je 0x180003c69
xor edx, edx
lea rcx, [rsp + 0x20]
lea r8d, [rdx + 0x2a]
call sub.ntdll.dll_memset
lea rdx, [rsp + 0x60]
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ecx, dword [rsp + 0x60]
mov edx, 3
mov dword [rsp + 0x20], ecx
mov rcx, rdi
mov dword [rsp + 0x24], eax
mov qword [rsp + 0x28], rdi
call qword [sym.imp.USER32.dll_GetAncestor]
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x42], rsi
call fcn.1800107dc
mov rcx, rbx
call qword [sym.imp.kERNEL32.dll_GlobalUnlock]
call qword [sym.imp.USER32.dll_CloseClipboard]
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
Function at 0x1800040ec
Capabilities:
Create process on windows

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [0x180035c60]
mov r9, rdx
mov dword [rsp + 0x28], r8d
mov r8, rcx
lea rdx, [0x180039650]
xor ebx, ebx
add rdx, rax
xor ecx, ecx
mov qword [rsp + 0x20], rbx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
cmovg eax, ebx
add rsp, 0x30
pop rbx
ret

Function at 0x180004214
Capabilities:
Delete registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdx, qword [0x180035c10]
mov rdi, rcx
lea r8, [rsp + 0x38]
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
mov ebx, eax
test eax, eax
jne 0x180004271
mov rcx, qword [rsp + 0x38]
mov rdx, rdi
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov rcx, rdi
mov ebx, eax
call fcn.180005c1c
mov rcx, qword [rsp + 0x38]
mov rdx, rax
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x1800043b8
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
sub rsp, 0x20
mov rbp, rcx
mov ecx, 0x929
mov esi, r9d
mov r12d, r8d
mov r13, rdx
mov edi, 0x3ee
call fcn.18002306c
mov rbx, rax
test rax, rax
je 0x180004438
mov r9d, 1
mov r8d, r12d
mov rdx, r13
mov rcx, rax
call fcn.180014f78
mov edi, eax
test eax, eax
jne 0x18000441d
mov r8d, esi
mov rdx, rbx
mov rcx, rbp
call fcn.18000af84
mov edi, eax
mov rcx, rbx
call qword [sym.imp.kERNEL32.dll_DeleteFileA]
mov rcx, qword [0x180035a68]
mov r8, rbx
xor edx, edx
call qword [sym.imp.kERNEL32.dll_HeapFree]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov eax, edi
add rsp, 0x20
pop r13
pop r12
pop rdi
ret