joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400ad9d0
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 [0x1400dd020]
mov rdi, rax
test rax, rax
jne 0x1400ada12
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 0x1400ada59
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 0x1400adab2
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 0x1400ada70
mov eax, dword [rbx + 0x1c]
cmp rsi, rax
jae 0x1400adaf3
nop word [rax + rax]
mov rcx, qword [rdi + 8]
lea rdx, [0x1400c02fa]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov rcx, qword [rdi + 0x10]
lea rdx, [0x1400c02fb]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov eax, dword [rbx + 0x1c]
inc rsi
cmp rsi, rax
jb 0x1400adac0
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 0x1400aeb34
Capabilities:
Parse pe header

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

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r15, rdx
mov rdi, rcx
je case.default.0x140001711
add rsp, 0x20
pop r15
pop rdi
pop rbx
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rsi, rbx
mov qword [rsp + 0x58], r14
mov r9, qword [rax]
test r9, r9
je 0x14000173e
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x140001740
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x140001799
test ecx, ecx
jle 0x140001779
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
add r15, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x140001799
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x140001799
mov r8, rbx
mov edx, 1
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov r14, qword [rsp + 0x58]
sub rsi, rbx
mov rbp, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rdi
pop rbx
ret
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
Function at 0x1400017c0
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push r14
sub rsp, 0x30
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x1400017e2
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je case.default.0x1400017f1
add rsp, 0x30
pop r14
pop rsi
pop rbp
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x38]
mov qword [rsp + 0x28], rbx
mov rbx, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x140001814
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140001816
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140001852
mov qword [rsp + 0x20], rdi
cmp rax, rbp
mov rdi, rbp
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x50]
add r14, rdi
sub rbx, rdi
sub dword [rax], edi
mov rcx, qword [rsi + 0x38]
movsxd rax, edi
mov rdi, qword [rsp + 0x20]
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x1400018ee
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x14000188d
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
cmp rbx, 0xfff
jbe 0x1400018ce
nop word [rax + rax]
mov r9, qword [rsi + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add r14, rax
sub rbx, rax
cmp rax, 0xfff
jne 0x1400018ee
cmp rbx, rax
ja 0x1400018a0
test rbx, rbx
je 0x1400018ee
mov r9, qword [rsi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
sub rbp, rbx
mov rbx, qword [rsp + 0x28]
mov rax, rbp
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
add byte [rax], al
add byte [rax], al
and byte [rax], al
add byte [rdx + 0x2e], ah
jb 0x140013a30
insb byte [rdi], dx
outsd dx, dword [rsi]
invalid
Function at 0x140001d50
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x14000d040]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x140001d7d
xor eax, eax
jmp 0x140001ee9
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x140001db7
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x140001db7
lea ecx, [r8 - 1]
mov dword [rax], ecx
mov eax, edi
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], dil
jmp 0x140001ee9
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x140001edc
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x140001dfa
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x140001e25
mov rdx, qword [rbx + 0x80]
movsx ecx, dil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140001ee1
lea rax, [rsp + 0x40]
mov byte [rsp + 0x50], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x51]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x50]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140001e94
sub eax, 1
je 0x140001e94
cmp eax, 2
jne 0x140001edc
movsx ecx, byte [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140001ee1
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x140001ec2
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rsi, rax
jne 0x140001edc
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x140001ee1
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140006140
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x140002130
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x14000d040]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x140002203
cmp byte [rcx + 0x71], 0
je 0x140002203
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x1400021ff
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x1400021c4
sub eax, 1
je 0x1400021c8
cmp eax, 2
jne 0x1400021ff
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140006140
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x1400021f6
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x1400021ff
cmp byte [rbx + 0x71], 0
sete al
jmp 0x1400021ac
xor al, al
jmp 0x1400021ac
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140006140
add rsp, 0x60
pop rbx
ret
Function at 0x1400028a0
Capabilities:
Connect socket
Initialize winsock library
Receive data
Receive data on socket
Resolve dns
Send data
Send data on socket
Send http request
Send http request with host header

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x410
mov rax, qword [0x14000d040]
xor rax, rsp
mov qword [rsp + 0x400], rax
mov ecx, 0x202
lea rdx, [rsp + 0x60]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x140002a54
xor eax, eax
mov dword [rsp + 0x30], 1
xorps xmm0, xmm0
mov qword [rsp + 0x20], rax
xorps xmm1, xmm1
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x20]
mov dword [rsp + 0x34], 6
lea r8, [rsp + 0x28]
mov rdi, 0xffffffffffffffff
lea rdx, str.http
lea rcx, str.api.ipify.org
movdqu xmmword [rsp + 0x38], xmm0
movdqu xmmword [rsp + 0x48], xmm1
call qword [sym.imp.WS2_32.dll_getaddrinfo]
test eax, eax
jne 0x140002a4e
mov rbx, qword [rsp + 0x20]
test rbx, rbx
je 0x14000298d
nop dword [rax]
mov r8d, dword [rbx + 0xc]
mov edx, dword [rbx + 8]
mov ecx, dword [rbx + 4]
call qword [sym.imp.WS2_32.dll_socket]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x14000297f
mov r8d, dword [rbx + 0x10]
mov rcx, rax
mov rdx, qword [rbx + 0x20]
call qword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x140002988
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
mov rdi, 0xffffffffffffffff
mov rbx, qword [rbx + 0x28]
test rbx, rbx
jne 0x140002940
mov rbx, qword [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
cmp rdi, 0xffffffffffffffff
je 0x140002a4e
xor r9d, r9d
lea rdx, str.GET___HTTP_1.1_r_nHost:_api.ipify.org_r_n_r_n
mov r8d, 0x27
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
je 0x140002a45
xor r9d, r9d
lea rdx, [rsp + 0x200]
mov r8d, 0x200
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_recv]
cmp eax, 0xffffffff
je 0x140002a45
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
call qword [sym.imp.WS2_32.dll_WSACleanup]
lea rdx, str._r_n_r_n
lea rcx, [rsp + 0x200]
call qword [sym.imp.VCRUNTIME140.dll_strstr]
test rax, rax
je 0x140002a54
lea rcx, [rax + 4]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__strdup]
mov rdi, rax
movzx eax, byte [rax]
test al, al
je 0x140002a40
mov rbx, rdi
movsx ecx, al
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isdigit]
test eax, eax
jne 0x140002a35
cmp byte [rbx], 0x2e
je 0x140002a35
mov byte [rbx], al
movzx eax, byte [rbx + 1]
inc rbx
test al, al
jne 0x140002a21
mov rax, rdi
jmp 0x140002a56
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
call qword [sym.imp.WS2_32.dll_WSACleanup]
xor eax, eax
mov rcx, qword [rsp + 0x400]
xor rcx, rsp
call fcn.140006140
mov rbx, qword [rsp + 0x420]
add rsp, 0x410
pop rdi
ret
Function at 0x140002a80
Capabilities:
Query or enumerate registry value

Disassembly:
push rsi
mov eax, 0xc080
call fcn.140007240
sub rsp, rax
mov rax, qword [0x14000d040]
xor rax, rsp
mov qword [rsp + 0xc060], rax
mov rax, rdx
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x20], rcx
mov rsi, r8
mov rcx, rax
mov r9d, 0x20019
xor r8d, r8d
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x140002ad0
xor eax, eax
jmp 0x140002be4
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x4c]
lea rax, [rsp + 0x60]
mov qword [rsp + 0xc090], rbx
mov qword [rsp + 0x30], rax
lea r8, [rsp + 0x4060]
lea rax, [rsp + 0x50]
mov qword [rsp + 0xc078], rbp
xor ebp, ebp
mov qword [rsp + 0x28], rax
mov qword [rsp + 0xc070], rdi
xor edx, edx
mov qword [rsp + 0x20], rbp
mov edi, ebp
mov dword [rsp + 0x4c], 0x3fff
mov dword [rsp + 0x48], 0x3fff
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov rdx, rsi
lea rcx, [rsp + 0x4060]
mov ebx, eax
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
test rax, rax
jne 0x140002bc4
mov rcx, qword [rsp + 0x40]
cmp ebx, 0x103
je 0x140002bfd
lea rax, [rsp + 0x48]
mov dword [rsp + 0x4c], 0x3fff
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x4c]
lea rax, [rsp + 0x60]
mov dword [rsp + 0x48], 0x3fff
mov qword [rsp + 0x30], rax
lea r8, [rsp + 0x4060]
lea rax, [rsp + 0x50]
inc edi
mov qword [rsp + 0x28], rax
mov edx, edi
mov qword [rsp + 0x20], rbp
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov rdx, rsi
lea rcx, [rsp + 0x4060]
mov ebx, eax
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
test rax, rax
je 0x140002b51
lea rax, [rsp + 0x4060]
mov rbp, qword [rsp + 0xc078]
mov rbx, qword [rsp + 0xc090]
mov rdi, qword [rsp + 0xc070]
mov rcx, qword [rsp + 0xc060]
xor rcx, rsp
call fcn.140006140
add rsp, 0xc080
pop rsi
ret
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x140002bcc
Function at 0x140002c10
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
sub rsp, 0x158
mov rax, qword [0x14000d040]
xor rax, rsp
mov qword [rsp + 0x140], rax
lea rax, [rsp + 0x30]
mov r9d, 0x2001f
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SOFTWAREMicrosoftCryptography
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140002e1b
mov rdx, qword [rsp + 0x30]
lea r8, str.MachineGuid
mov dword [rsp + 0x38], 0xff
call fcn.140002a80
mov rcx, qword [rsp + 0x30]
mov rdx, rax
lea rax, [rsp + 0x38]
xor r9d, r9d
mov qword [rsp + 0x28], rax
xor r8d, r8d
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140002dec
movzx eax, byte [rsp + 0x40]
mov qword [rsp + 0x150], rbx
lea rbx, [rsp + 0x40]
test al, al
je 0x140002d72
nop dword [rax + rax]
movsx ecx, al
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isalpha]
test eax, eax
je 0x140002d2b
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
test al, 1
je 0x140002d01
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov r8d, eax
mov eax, 0x4ec4ec4f
imul r8d
sar edx, 3
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
imul ecx, edx, 0x1a
sub r8d, ecx
add r8d, 0x41
mov byte [rbx], r8b
jmp 0x140002d62
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov r8d, eax
mov eax, 0x4ec4ec4f
imul r8d
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x1a
sub r8d, eax
add r8d, 0x61
mov byte [rbx], r8b
jmp 0x140002d62
movsx ecx, byte [rbx]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isdigit]
test eax, eax
je 0x140002d62
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov r9d, eax
mov eax, 0x66666667
imul r9d
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
lea ecx, [rdx + rdx*4]
add ecx, ecx
sub r9d, ecx
add r9b, 0x30
mov byte [rbx], r9b
movzx eax, byte [rbx + 2]
add rbx, 2
test al, al
jne 0x140002cc0
mov rdx, qword [rsp + 0x30]
lea r8, str.MachineGuid
call fcn.140002a80
mov rcx, qword [rsp + 0x30]
mov rdx, rax
mov eax, dword [rsp + 0x38]
mov r9d, 1
mov dword [rsp + 0x28], eax
xor r8d, r8d
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rbx, qword [rsp + 0x150]
test eax, eax
jne 0x140002dec
lea rdx, [rsp + 0x40]
lea rcx, str._e_92me_0m__MachineGuid_edited____S_n
call fcn.140002840
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.140006140
add rsp, 0x158
ret
lea rcx, str._e_31m_e_0m__Failed_to_edit_MachineGuid_n
call fcn.140002840
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.140006140
add rsp, 0x158
ret
lea rcx, str._e_31m_e_0m__Failed_to_edit_MachineGuid_n
call fcn.140002840
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.140006140
add rsp, 0x158
ret
Function at 0x1400049c0
Capabilities:
Create pipe
Create process on windows
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x120]
sub rsp, 0x220
mov rax, qword [0x14000d040]
xor rax, rsp
mov qword [rbp + 0x110], rax
mov rbx, rcx
mov dword [rsp + 0x68], 0x18
xor esi, esi
mov dword [rsp + 0x78], 1
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x70], rsi
xor r9d, r9d
lea r8, [rsp + 0x68]
lea rdx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CreatePipe]
xor eax, eax
mov dword [rbp - 0x60], 0x68
xorps xmm0, xmm0
mov dword [rbp - 0xc], eax
mov rax, qword [rsp + 0x60]
xor r9d, r9d
mov qword [rbp], rax
xor r8d, r8d
mov qword [rbp - 8], rax
mov rdx, rbx
movups xmmword [rbp - 0x2c], xmm0
xor ecx, ecx
movups xmmword [rbp - 0x5c], xmm0
movups xmmword [rbp - 0x4c], xmm0
movups xmmword [rbp - 0x3c], xmm0
movups xmmword [rbp - 0x1c], xmm0
psrldq xmm0, 8
movd eax, xmm0
bts eax, 8
mov dword [rbp - 0x24], eax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x60]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], 1
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rcx, qword [rsp + 0x58]
lea r9, [rsp + 0x50]
mov r8d, 0xfe
mov qword [rsp + 0x20], rsi
lea rdx, [rbp + 0x10]
mov rbx, rax
mov byte [rax], sil
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140004b87
mov rdi, 0xffffffffffffffff
nop word [rax + rax]
mov eax, dword [rsp + 0x50]
test eax, eax
je 0x140004b87
cmp rax, 0xff
jae 0x140004bfe
mov byte [rbp + rax + 0x10], sil
mov rdx, rdi
inc rdx
cmp byte [rbx + rdx], sil
jne 0x140004b10
add rdx, rax
mov rcx, rbx
add rdx, 1
cmovb rdx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_realloc]
mov rbx, rax
dec rax
cmp byte [rax + 1], sil
lea rax, [rax + 1]
jne 0x140004b33
lea r8, [rbp + 0x10]
xor edx, edx
nop dword [rax]
nop word [rax + rax]
movzx ecx, byte [r8 + rdx]
mov byte [rax + rdx], cl
lea rdx, [rdx + 1]
test cl, cl
jne 0x140004b50
mov rcx, qword [rsp + 0x58]
lea r9, [rsp + 0x50]
mov r8d, 0xfe
mov qword [rsp + 0x20], rsi
lea rdx, [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x140004af0
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rbx
nop dword [rax]
movzx eax, byte [rcx]
test al, al
je 0x140004bd3
cmp al, 0xa
je 0x140004bbf
cmp al, 0xd
jne 0x140004bc2
mov byte [rcx], 0x20
inc rcx
mov rax, rcx
sub rax, rbx
cmp rax, 0xff
jl 0x140004bb0
mov rax, rbx
mov rcx, qword [rbp + 0x110]
xor rcx, rsp
call fcn.140006140
lea r11, [rsp + 0x220]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.1400062d8
int3
Function at 0x140006ea8
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140006ef2
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140006ef2
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140006ef2
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140006ef2
cmp dword [rcx + 0x84], 0xe
jbe 0x140006ef2
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140006ef4
xor al, al
add rsp, 0x28
ret
Function at 0x140001700
Capabilities:
Create process on windows
Create process suspended

Disassembly:
mov r11, rsp
sub rsp, 0xf8
mov rax, qword [0x140064040]
xor rax, rsp
mov qword [rsp + 0xe0], rax
xorps xmm0, xmm0
lea rdx, str.C:Program_FilesGoogleChromeApplicationchrome.exe
movups xmmword [rsp + 0x74], xmm0
xor eax, eax
xor r9d, r9d
mov dword [r11 - 0x24], eax
xor r8d, r8d
mov qword [rsp + 0x60], rax
xor ecx, ecx
lea rax, [rsp + 0x50]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], rax
xor eax, eax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rax
movups xmmword [r11 - 0x74], xmm0
mov dword [rsp + 0x28], 4
movups xmmword [r11 - 0x64], xmm0
mov dword [rsp + 0x20], eax
movups xmmword [r11 - 0x54], xmm0
movups xmmword [r11 - 0x44], xmm0
movups xmmword [r11 - 0x34], xmm0
mov dword [rsp + 0x70], 0x68
movups xmmword [rsp + 0x50], xmm0
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x1400017e4
mov rcx, qword [rsp + 0x58]
mov qword [rsp + 0xf0], rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r8d, dword [rsp + 0x60]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x1400017dc
mov rcx, rax
call section..text
test al, al
jne 0x1400017dc
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0xf0]
mov rcx, qword [rsp + 0xe0]
xor rcx, rsp
call fcn.14004ad10
add rsp, 0xf8
ret