joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400372b0
Capabilities:
Hash data using fnv

Disassembly:
sub rsp, 0x28
movzx r8d, byte [rdx]
mov r9, rcx
movabs rcx, 0x100000001b3
mov r10, rdx
movabs rax, 0xcbf29ce484222325
xor r8, rax
movzx eax, byte [rdx + 1]
imul r8, rcx
xor r8, rax
movzx eax, byte [rdx + 2]
imul r8, rcx
xor r8, rax
movzx eax, byte [rdx + 3]
mov rdx, qword [r9 + 0x30]
imul r8, rcx
xor r8, rax
imul r8, rcx
and rdx, r8
shl rdx, 4
add rdx, qword [r9 + 0x18]
mov rax, qword [rdx + 8]
cmp rax, qword [r9 + 8]
je 0x140037337
mov ecx, dword [r10]
mov rdx, qword [rdx]
cmp ecx, dword [rax + 0x10]
je 0x14003732e
nop
cmp rax, rdx
je 0x140037337
mov rax, qword [rax + 8]
cmp ecx, dword [rax + 0x10]
jne 0x140037320
add rax, 0x18
add rsp, 0x28
ret
lea rcx, str.invalid_unordered_map_K__T__key
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const____ptr64_]
int3
Function at 0x140037690
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x1406e22c0]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rdi, rdx
mov rbp, rcx
mov qword [rsp + 0x30], rdx
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0xf
jbe 0x1400376c4
mov rdx, qword [rdx]
xor ecx, ecx
movabs r9, 0xcbf29ce484222325
test r8, r8
je 0x1400376f3
movabs r10, 0x100000001b3
nop
movzx eax, byte [rdx + rcx]
xor r9, rax
imul r9, r10
inc rcx
cmp rcx, r8
jb 0x1400376e0
mov r8, rdi
lea rdx, [rsp + 0x20]
mov rcx, rbp
call fcn.14001c980
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x14003771e
cmp rcx, qword [rbp + 8]
je 0x14003771e
mov rcx, rdi
call fcn.140019170
xor al, al
jmp 0x140037777
mov rbx, qword [rbp + 0x48]
sub rbx, qword [rbp + 0x40]
sar rbx, 5
mov r8, rdi
lea rdx, [rsp + 0x20]
mov rcx, rbp
call fcn.140039ef0
mov rcx, qword [rax]
mov qword [rcx + 0x30], rbx
mov rax, qword [rbp + 0x48]
cmp rax, qword [rbp + 0x50]
je 0x14003775d
mov rdx, rdi
mov rcx, rax
call fcn.140018780
add qword [rbp + 0x48], 0x20
jmp 0x14003776d
mov r8, rdi
mov rdx, rax
lea rcx, [rbp + 0x40]
call fcn.14003ced0
nop
mov rcx, rdi
call fcn.140019170
mov al, 1
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140297700
mov rbx, qword [rsp + 0x70]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret

Function at 0x1400378f0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
movabs rax, 0xcbf29ce484222325
mov r9d, 0
sub r8, rdx
je 0x140037924
movabs r10, 0x100000001b3
nop
movzx ecx, byte [rdx + r9]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x140037910
ret
Function at 0x14003a730
Capabilities:
Hash data using fnv

Disassembly:
push rsi
push rdi
sub rsp, 0x28
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov edi, 1
mov eax, edi
shl rax, cl
cmp rdx, rax
jbe 0x14003a765
lea rcx, str.invalid_hash_bucket_count
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
lea rax, [rdx - 1]
mov qword [rsp + 0x50], rbx
mov rbx, qword [rsi + 8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
mov qword [rsp + 0x20], r14
inc ecx
shl rdi, cl
lea rcx, [rsi + 0x18]
lea rdx, [rdi + rdi]
call fcn.14001c1b0
lea rax, [rdi - 1]
mov qword [rsi + 0x38], rdi
mov qword [rsi + 0x30], rax
mov rax, qword [rsi + 8]
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x14003a8a6
mov qword [rsp + 0x58], rbp
movabs rdi, 0x100000001b3
movabs rbp, 0xcbf29ce484222325
nop dword [rax + rax]
movzx edx, byte [rax + 0x11]
movzx r9d, byte [rax + 0x10]
mov r11, qword [rsi + 0x30]
xor r9, rbp
mov rcx, qword [rcx]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x12]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x13]
imul r9, rdi
xor r9, rdx
imul r9, rdi
and r11, r9
shl r11, 4
add r11, qword [rsi + 0x18]
mov r9, qword [r11]
cmp r9, rbx
jne 0x14003a820
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x14003a895
mov rdx, qword [r11 + 8]
mov r8d, dword [rax + 0x10]
cmp r8d, dword [rdx + 0x10]
jne 0x14003a85d
mov r10, qword [rdx]
cmp r10, rax
je 0x14003a857
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [r11 + 8], rax
jmp 0x14003a895
cmp r9, rdx
je 0x14003a871
mov rdx, qword [rdx + 8]
cmp r8d, dword [rdx + 0x10]
je 0x14003a8b7
cmp r9, rdx
jne 0x14003a862
mov r10, qword [rax + 8]
mov qword [r10], rcx
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], rax
mov qword [rdx + 8], r9
mov qword [rcx + 8], r10
mov qword [rax + 8], r8
mov qword [r11], rax
mov rax, rcx
cmp rcx, rbx
jne 0x14003a7d0
mov rbp, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
mov r14, qword [rsp + 0x20]
add rsp, 0x28
pop rdi
pop rsi
ret
mov r10, qword [rdx]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x14003a895
Function at 0x140048220
Capabilities:
Validate payment card number using luhn algorithm

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov dword [rcx + 0x74], 0
mov rbx, rcx
mov edi, 0x7fffffff
movsx ecx, byte [rbx + 0x78]
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x1400482ec
lea r8d, [rcx - 0x30]
cmp r8d, 0xffffffff
je 0x1400482ec
mov r9d, dword [rbx + 0x74]
mov ecx, 0x7fffffff
sub ecx, r8d
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp r9d, edx
jg 0x140048305
lea eax, [r9 + r9*4]
dec edi
lea ecx, [r8 + rax*2]
mov rax, qword [rbx]
mov dword [rbx + 0x74], ecx
mov rcx, qword [rbx + 0x10]
cmp rax, rcx
je 0x1400482dc
cmp byte [rax], 0x5c
jne 0x1400482d6
lea rdx, [rax + 1]
cmp rdx, rcx
je 0x1400482d6
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x1400482c2
movzx ecx, byte [rdx]
sub cl, 0x28
cmp cl, 1
jbe 0x1400482d3
test r8b, 0x10
jne 0x1400482d6
movzx ecx, byte [rdx]
sub cl, 0x7b
test cl, 0xfd
jne 0x1400482d6
mov rax, rdx
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.1400420e0
test edi, edi
jne 0x140048240
mov rbx, qword [rsp + 0x30]
cmp edi, 0x7fffffff
mov rsi, qword [rsp + 0x38]
setne al
add rsp, 0x20
pop rdi
ret
mov edx, esi
call fcn.1400420d0
int3
Function at 0x14004a4c0
Capabilities:
Capture public ip
Create http request
Read data from internet
Receive data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x80
mov rax, qword [0x1406e22c0]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rbx, rdx
mov qword [rsp + 0x38], rdx
xor ebp, ebp
xor edx, edx
xor r9d, r9d
mov dword [rsp + 0x20], ebp
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.WININET.dll_InternetOpenW]
mov qword [rsp + 0x28], rbp
lea rdx, str.https:__api.ipify.org
mov rcx, rax
mov dword [rsp + 0x20], 0x80000000
xor r9d, r9d
xor r8d, r8d
mov rdi, rax
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov rcx, rax
lea r9, [rsp + 0x38]
lea r8d, [rbp + 0x2f]
mov rsi, rax
lea rdx, [rsp + 0x40]
call qword [sym.imp.WININET.dll_InternetReadFile]
mov eax, dword [rsp + 0x38]
cmp rax, 0x2f
jae 0x14004a5bf
mov rcx, rsi
mov byte [rsp + rax + 0x40], bpl
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xorps xmm0, xmm0
lea rax, [rsp + 0x40]
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rbp
mov r8, 0xffffffffffffffff
mov qword [rbx + 0x18], rbp
nop
inc r8
cmp byte [rax + r8], bpl
jne 0x14004a580
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.140005c10
mov rax, rbx
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.140297700
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
call fcn.140297e34
int3
Function at 0x14004f0e0
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x80
mov rax, qword [0x1406e22c0]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rbx, rdx
mov qword [rsp + 0x68], rdx
xor ebp, ebp
mov dword [rsp + 0x44], ebp
mov rcx, rdx
mov rdi, qword [rdx + 0x18]
cmp rdi, 0xf
jbe 0x14004f124
mov rcx, qword [rdx]
mov rsi, qword [rdx + 0x10]
mov qword [rsp + 0x20], 4
lea r9, str.dhcp
xor r8d, r8d
mov rdx, rsi
call fcn.14001ae50
cmp rax, 0xffffffffffffffff
je 0x14004f152
lea rdi, str._C_for__F__tokens3___i_in__netsh_interface_show_interface__find__Connected___do_netsh_interface_ipv4_set_dnsservers_name__j__sourcedhcp
jmp 0x14004f1be
movabs rax, 0x7fffffffffffffff
sub rax, rsi
cmp rax, 0x9a
jb 0x14004f20f
mov rax, rbx
cmp rdi, 0xf
jbe 0x14004f177
mov rax, qword [rbx]
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0x9a
lea r9, str._C_for__F__tokens3___i_in__netsh_interface_show_interface__find__Connected___do_netsh_interface_ipv4_set_dnsservers_name__j__sourcestatic_address
mov r8, rbx
movzx edx, byte [rsp + 0x40]
lea rcx, [rsp + 0x48]
call fcn.14001bdc0
lea rdi, [rsp + 0x48]
cmp qword [rsp + 0x60], 0xf
cmova rdi, qword [rsp + 0x48]
lea rcx, [rsp + 0x48]
call fcn.140019170
mov dword [rsp + 0x28], ebp
mov qword [rsp + 0x20], rbp
mov r9, rdi
lea r8, [0x140529a6c]
lea rdx, str.runas
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteA]
nop
mov rcx, rbx
call fcn.140019170
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.140297700
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
call fcn.140001870
nop
int3
Function at 0x140057f80
Capabilities:
Create process on windows

Disassembly:
mov r11, rsp
sub rsp, 0xf8
mov rax, qword [0x1406e22c0]
xor rax, rsp
mov qword [rsp + 0xe0], rax
mov rdx, qword [rcx + 0x10]
lea rax, [0x140504944]
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [r11 - 0x78], xmm0
movups xmmword [r11 - 0x68], xmm0
movups xmmword [r11 - 0x58], xmm0
movups xmmword [r11 - 0x48], xmm0
movups xmmword [r11 - 0x38], xmm0
movups xmmword [r11 - 0x28], xmm0
mov dword [rsp + reloc.WS2_32.dll_WSASetLastError], 0x70
mov dword [rsp + 0x74], 0x40
mov qword [r11 - 0x78], rax
lea rax, str.cmd.exe
mov qword [r11 - 0x70], rax
movabs rax, 0x7fffffffffffffff
sub rax, rdx
cmp rax, 3
jb 0x1400580dd
cmp qword [rcx + 0x18], 0xf
mov rax, rcx
jbe 0x140058010
mov rax, qword [rcx]
mov qword [rsp + 0x30], rdx
lea r9, [0x140529b24]
movzx edx, byte [rsp + 0x40]
mov r8, rcx
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x20], 3
call fcn.14001bdc0
cmp qword [rsp + 0x60], 0xf
lea rax, [rsp + 0x48]
lea rcx, [rsp + 0x48]
cmova rax, qword [rsp + 0x48]
mov qword [rsp + 0x90], rax
call fcn.140019170
lea rcx, [rsp + 0x70]
mov dword [rsp + 0xa0], 0
call qword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
jne 0x1400580a4
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
lea rdx, str.Error_executing_command_n
call fcn.140019a90
mov rcx, qword [rsp + 0xe0]
xor rcx, rsp
call fcn.140297700
add rsp, 0xf8
ret
mov rcx, qword [rsp + 0xd8]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0xd8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0xe0]
xor rcx, rsp
call fcn.140297700
add rsp, 0xf8
ret
call fcn.140001870
int3
Function at 0x140059b60
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
mov eax, 0x1160
call fcn.1402983d0
sub rsp, rax
mov rax, qword [0x1406e22c0]
xor rax, rsp
mov qword [rsp + 0x1150], rax
mov rsi, rdx
mov rbx, rcx
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 1]
lea rcx, str.MyApp
call qword [sym.imp.WININET.dll_InternetOpenA]
mov rdi, rax
test rax, rax
je 0x140059bf5
cmp qword [rbx + 0x18], 0xf
jbe 0x140059bc1
mov rbx, qword [rbx]
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x80000000
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov rbx, rax
test rax, rax
jne 0x140059bfc
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xor al, al
jmp 0x140059d32
xor edx, edx
mov r8d, 0x108
lea rcx, [rsp + 0x40]
call sub.VCRUNTIME140.dll_memset
mov r8d, reloc.WLDAP32.dll_Ordinal_32
mov rdx, rsi
lea rcx, [rsp + 0x40]
call fcn.1400697c0
nop
mov rcx, rbx
cmp qword [rsp + 0xc8], 0
jne 0x140059c46
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xor bl, bl
jmp 0x140059ce2
lea r9, [rsp + 0x30]
mov r8d, 0x1000
lea rdx, [rsp + 0x150]
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x140059ca1
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x140059ca1
mov r8d, eax
lea rdx, [rsp + 0x150]
lea rcx, [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::write_char_const____ptr64__long_long___int64_____ptr64]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
lea rdx, [rsp + 0x150]
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x140059c63
lea rcx, [rsp + 0x48]
call fcn.140018ec0
test rax, rax
jne 0x140059cce
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x40]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov bl, 1
mov rcx, qword [rsp + 0x40]
movsxd rdx, dword [rcx + 4]
lea rax, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rsp + rdx + 0x40], rax
mov rcx, qword [rsp + 0x40]
movsxd rdx, dword [rcx + 4]
lea r8d, [rdx - 0xa8]
mov dword [rsp + rdx + 0x3c], r8d
lea rcx, [rsp + 0x48]
call fcn.1400176f0
lea rcx, [rsp + 0x50]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rsp + 0xe8]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
movzx eax, bl
mov rcx, qword [rsp + 0x1150]
xor rcx, rsp
call fcn.140297700
lea r11, [rsp + 0x1160]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x1400799f0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push r14
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x1406e22c0]
xor rax, rsp
mov qword [rbp - 8], rax
cmp qword [rdx + 0x18], 0xf
mov r14, r9
mov rsi, r8
jbe 0x140079a27
mov r8, qword [rdx]
add r8, qword [rdx + 0x10]
mov rdx, qword [rdx]
jmp 0x140079a2e
mov r8, qword [rdx + 0x10]
add r8, rdx
lea rcx, [rbp - 0x28]
call fcn.140025d30
cmp qword [rax + 0x18], 7
jbe 0x140079a41
mov rax, qword [rax]
lea rcx, [rbp - 0x38]
mov r9d, 0x20019
mov qword [rsp + 0x20], rcx
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov rdx, rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea rcx, [rbp - 0x28]
mov ebx, eax
call fcn.140019100
test ebx, ebx
je 0x140079a83
mov rcx, qword [rbp - 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
jmp 0x140079b39
mov qword [rsp + 0x98], r15
mov rdx, rsi
xor r15d, r15d
cmp qword [rsi + 0x18], 0xf
mov dword [rbp - 0x40], r15d
jbe 0x140079a9f
mov rdx, qword [rsi]
mov rcx, qword [rbp - 0x38]
lea rax, [rbp - 0x40]
mov qword [rsp + 0x28], rax
lea r9, [rbp - 0x30]
xor r8d, r8d
mov qword [rsp + 0x20], r15
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x140079be4
cmp dword [rbp - 0x30], 1
jne 0x140079be4
mov ecx, dword [rbp - 0x40]
mov qword [rsp + 0x90], rdi
call fcn.140297c14
cmp qword [rsi + 0x18], 0xf
mov rdi, rax
jbe 0x140079aed
mov rsi, qword [rsi]
mov rcx, qword [rbp - 0x38]
lea rax, [rbp - 0x40]
mov qword [rsp + 0x28], rax
lea r9, [rbp - 0x30]
xor r8d, r8d
mov qword [rsp + 0x20], rdi
mov rdx, rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov rcx, qword [rbp - 0x38]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
je 0x140079b56
mov rcx, rdi
call fcn.140297720
xor al, al
mov rdi, qword [rsp + 0x90]
mov r15, qword [rsp + 0x98]
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140297700
mov rbx, qword [rsp + 0xa8]
add rsp, 0x70
pop r14
pop rsi
pop rbp
ret
xorps xmm0, xmm0
mov qword [rbp - 0x18], r15
movups xmmword [rbp - 0x28], xmm0
mov qword [rbp - 0x10], r15
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rdi + r8], r15b
jne 0x140079b70
mov rdx, rdi
lea rcx, [rbp - 0x28]
call fcn.140005c10
mov rcx, rdi
call fcn.140297720
cmp qword [r14 + 0x18], 0xf
mov rax, qword [r14 + 0x10]
jbe 0x140079b9b
mov r14, qword [r14]
cmp qword [rbp - 0x10], 0xf
lea rcx, [rbp - 0x28]
mov r8, qword [rbp - 0x18]
cmova rcx, qword [rbp - 0x28]
cmp r8, rax
jne 0x140079bd1
mov rdx, r14
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140079bd1
lea rcx, [rbp - 0x28]
mov bl, 1
call fcn.140019170
movzx eax, bl
jmp 0x140079b29
xor bl, bl
lea rcx, [rbp - 0x28]
call fcn.140019170
movzx eax, bl
jmp 0x140079b29
mov rcx, qword [rbp - 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
jmp 0x140079b31
Function at 0x140079c00
Capabilities:
Delete registry key

Disassembly:
push rbx
sub rsp, 0x40
mov rax, qword [0x1406e22c0]
xor rax, rsp
mov qword [rsp + 0x38], rax
cmp qword [r8 + 0x18], 0xf
mov rbx, r8
mov rdx, r8
jbe 0x140079c25
mov rdx, qword [r8]
lea rax, [rsp + 0x30]
mov r9d, 0xf003f
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x140079c91
cmp qword [rbx + 0x18], 0xf
jbe 0x140079c53
mov rbx, qword [rbx]
xor r9d, r9d
mov r8d, 0x100
mov rdx, rbx
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyExA]
mov rcx, qword [rsp + 0x30]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
sete al
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140297700
add rsp, 0x40
pop rbx
ret
xor al, al
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140297700
add rsp, 0x40
pop rbx
ret

Function at 0x140079cb0
Capabilities:
Set registry value

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x60
mov rax, qword [0x1406e22c0]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rdx + 0x18], 0xf
mov edi, r9d
mov rsi, qword [rsp + 0xa0]
mov rbx, r8
mov rcx, qword [rsp + 0xb0]
jbe 0x140079ce7
mov rdx, qword [rdx]
xor r8d, r8d
lea rax, [rsp + 0x50]
mov qword [rsp + 0x40], r8
xor r9d, r9d
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r8
mov dword [rsp + 0x28], 2
mov dword [rsp + 0x20], r8d
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x140079d5a
cmp qword [rbx + 0x18], 0xf
jbe 0x140079d22
mov rbx, qword [rbx]
mov eax, dword [rsp + 0xa8]
mov r9d, edi
mov rcx, qword [rsp + 0x50]
xor r8d, r8d
mov dword [rsp + 0x28], eax
mov rdx, rbx
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rsp + 0x50]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
sete al
jmp 0x140079d5c
xor al, al
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140297700
add rsp, 0x60
pop rdi
pop rsi
pop rbx
ret
Function at 0x140085d10
Capabilities:
Create process on windows

Disassembly:
push rbx
sub rsp, 0x4f0
mov rax, qword [0x1406e22c0]
xor rax, rsp
mov qword [rsp + 0x4e0], rax
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x70], xmm0
xor ebx, ebx
mov qword [rsp + 0xd0], rax
movaps xmmword [rsp + 0xa0], xmm0
movups xmmword [rsp + 0xb0], xmm0
mov dword [rsp + 0x70], WSAGetLastError
movups xmmword [rsp + 0x80], xmm0
mov word [rsp + 0xb0], bx
movups xmmword [rsp + 0x90], xmm0
movups xmmword [rsp + 0xc0], xmm0
psrldq xmm0, 0xc
movd eax, xmm0
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
or eax, 1
mov dword [rsp + 0xac], eax
xor eax, eax
cmp qword [rdx + 0x18], 0xf
mov qword [rsp + 0x60], rax
jbe 0x140085da3
mov rdx, qword [rdx]
mov r9d, 0x400
lea rcx, [rsp + 0xe0]
mov r8, rdx
mov edx, r9d
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy_s]
lea rax, [rsp + 0x50]
mov byte [rsp + 0x4df], bl
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0xe0]
lea rax, [rsp + 0x70]
xor r9d, r9d
mov qword [rsp + 0x40], rax
xor r8d, r8d
mov qword [rsp + 0x38], rbx
xor ecx, ecx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x20], 1
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x140085e34
mov rcx, qword [rsp + 0x50]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov rcx, qword [rsp + 0x4e0]
xor rcx, rsp
call fcn.140297700
add rsp, 0x4f0
pop rbx
ret

Function at 0x140089d40
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x140089d9d
lea rbx, [0x140523410]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140089d84
cmp r10, 2
jb 0x140089d84
cmp byte [r9], r8b
jne 0x140089d84
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x140089d60
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x140089ddf
lea rbx, [0x140523410]
cmp r8b, 0x23
jne 0x140089dc3
cmp byte [r9], r8b
jne 0x140089dc3
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x140089db0
mov rbx, qword [rsp + 8]
not eax
ret
Function at 0x140089f40
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x140089f5a
mov qword [r8], 0
lea rdx, [0x14052e8e8]
call fcn.140089df0
mov rbx, rax
test rax, rax
jne 0x140089f7a
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rsi
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
cmp eax, 0xffffffff
je 0x14008a051
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x14008a051
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x14008a051
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x14008a051
cmp rdi, 0xffffffffffffffff
je 0x14008a051
mov rax, qword [0x1407314f0]
test rax, rax
je 0x140089fee
inc dword [rax + 0xf4]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x14008a051
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rdi
je 0x14008a03e
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x1407314f0]
test rax, rax
je 0x14008a033
dec dword [rax + 0xf4]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x14008a05a
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x14008a04c
mov qword [r14], rdi
mov rax, rsi
jmp 0x14008a05c
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret