joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140003380
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r10, rcx
mov r9d, 0x270
mov ecx, dword [rcx]
cmp ecx, r9d
jne 0x1400033e1
lea r8, [r10 + 8]
nop dword [rax + rax]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r9, 1
jne 0x1400033a0
mov ecx, dword [r10]
jmp 0x1400034ca
cmp ecx, 0x4e0
jb 0x1400034ca
lea r11, [r10 + 0x9c4]
mov qword [rsp], rbx
mov eax, dword [r11]
mov ebx, 0xe3
mov edx, dword [r11 + 4]
lea r8, [r11 + 4]
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
mov eax, dword [r8]
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r11 + 0x634]
xor ecx, edx
mov dword [r11 - 0x9c0], ecx
lea r11, [r8]
sub rbx, 1
jne 0x140003400
lea r11, [r10 + 0xd50]
mov ebx, 0x18c
mov eax, dword [r11]
nop dword [rax + rax]
mov edx, eax
lea r8, [r11 + 4]
xor edx, dword [r8]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
mov eax, dword [r8]
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r11 - 0xd4c]
xor ecx, edx
mov dword [r11 - 0x9c0], ecx
lea r11, [r8]
sub rbx, 1
jne 0x140003450
mov edx, dword [r10 + 0x1380]
xor edx, dword [r10 + 4]
mov rbx, qword [rsp]
btr edx, 0x1f
xor edx, dword [r10 + 0x1380]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r10 + 0x634]
xor ecx, edx
mov dword [r10 + 0x9c0], ecx
xor ecx, ecx
mov dword [r10], ecx
mov eax, ecx
mov edx, dword [r10 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r10], eax
mov ecx, edx
mov eax, dword [r10 + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
add rsp, 8
ret
Function at 0x6cdf60
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x6cdf6d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x6cdf7d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x6cdf65
lea eax, [rcx + 1]
jmp 0x6cdf8b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x6cdf9e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x6cdf84
sub eax, 3
jb 0x6cdfbe
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x6ce00d
sar eax, 1
movsxd rbp, eax
jb 0x6cdff4
jmp 0x6cdfcc
add ebx, ebx
jne 0x6cdfca
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x6cdff4
inc ecx
add ebx, ebx
jne 0x6cdfda
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x6cdff4
call r11
adc ecx, ecx
add ebx, ebx
jne 0x6cdfed
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x6cdfdc
add ecx, 2
jmp 0x6cdff9
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.006cdf22
jmp 0x6cdf6d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x107a00
mov dl, 0x17
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x6ce059
cmp rsi, rcx
jae 0x6ce061
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x6ce040
cmp al, 0x8f
ja 0x6ce040
cmp byte [rsi - 2], 0xf
je 0x6ce046
sub al, 0xe8
cmp al, 1
ja 0x6ce02a
cmp rsi, rcx
jae 0x6ce061
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x6ce030
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x6ce061
lodsb al, byte [rsi]
jmp 0x6ce040
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x2c9000]
mov eax, dword [rdi]
or eax, eax
je 0x6ce0be
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x2ce000]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x6ce06e
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x6ce0b8
mov qword [rbx], rax
add rbx, 8
jmp 0x6ce08e
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x6ce102
cmp al, 0xef
ja 0x6ce0ea
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x6ce0ca
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
or eax, eax
jne 0x6ce0d9
mov eax, dword [rdi]
add rdi, 4
jmp 0x6ce0d9
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x1af]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x6ce156
sub rsp, 0xffffffffffffff80
jmp 0x46bce0
Function at 0x140003dd0
Capabilities:
Enumerate pe sections

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
mov eax, 0x1080
call fcn.14000fd90
sub rsp, rax
mov rax, qword [0x140022010]
xor rax, rsp
mov qword [rsp + 0x1070], rax
mov r14, qword [rsp + 0x10d0]
xor ebx, ebx
mov rbp, r9
mov rdi, r8
mov rsi, rcx
test r8, r8
je 0x140003ef9
mov qword [rsp + 0x38], rbx
lea rax, [rsp + 0x70]
mov qword [rsp + 0x60], rax
lea r9d, [rbx + 0x28]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x58], r8
mov qword [rsp + 0x30], rax
lea r8, [rsp + 0x48]
mov dword [rsp + 0x28], ebx
mov edx, 0x80862007
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x48], 0x33
mov qword [rsp + 0x68], 0x1000
mov dword [rsp + 0x40], ebx
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x140003e75
lea rdx, str.____Cant_read_module_headers
jmp 0x140003edd
movsxd rax, dword [rsp + 0xac]
lea rcx, [rsp + 0x70]
add rcx, rax
mov r8d, ebx
movzx eax, word [rcx + 0x14]
lea r10, [rcx + 0x18]
movzx r9d, word [rcx + 6]
add r10, rax
test r9d, r9d
je 0x140003ed6
nop dword [rax]
mov eax, r8d
lea rcx, [rax + rax*4]
cmp dword [r10 + rcx*8], 0x45474150
lea rdx, [r10 + rcx*8]
jne 0x140003ece
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp byte [rdx + rax], bl
jne 0x140003ec0
cmp rax, 4
je 0x140003f2d
inc r8d
cmp r8d, r9d
jb 0x140003ea0
lea rdx, str.____Cant_find_section
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140005eb0
lea rdx, [0x140006090]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
mov rdx, rbx
mov r8d, ebx
mov r9, rbp
mov rcx, rsi
mov qword [rsp + 0x20], r14
call fcn.140003bf0
mov rcx, qword [rsp + 0x1070]
xor rcx, rsp
call fcn.14000eb80
add rsp, 0x1080
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov eax, dword [rdx + 0xc]
test eax, eax
je 0x140003ed6
mov ecx, dword [rdx + 8]
mov edx, eax
lea rax, [rsp + 0x70]
add rax, rdx
je 0x140003ed6
test ecx, ecx
je 0x140003ed6
mov ebx, ecx
add rdx, rdi
jmp 0x140003efc
Function at 0x140005320
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x140022010]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x14000534d
xor eax, eax
jmp 0x1400054a2
mov rdx, qword [rcx + 0x40]
mov rax, qword [rdx]
test rax, rax
je 0x140005378
mov rdx, qword [rcx + 0x58]
movsxd r8, dword [rdx]
add r8, rax
cmp rax, r8
jae 0x140005378
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pninc_void____ptr64]
mov byte [rax], dil
mov eax, edi
jmp 0x1400054a2
cmp qword [rcx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x140005495
mov r8, qword [rcx + 0x18]
lea rax, [rcx + 0x70]
cmp qword [r8], rax
jne 0x1400053bb
mov rdx, qword [rcx + 0x90]
mov rcx, qword [rcx + 0x88]
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 0x1400053e6
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 0x14000549a
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 0x140005455
sub eax, 1
je 0x140005455
cmp eax, 2
jne 0x140005495
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 0x14000549a
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x140005483
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 0x140005495
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov eax, edi
jne 0x14000549a
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14000eb80
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x1400058a0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x140022010]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x140005973
cmp byte [rcx + 0x71], 0
je 0x140005973
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x14000596f
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 0x140005934
sub eax, 1
je 0x140005938
cmp eax, 2
jne 0x14000596f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14000eb80
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x140005966
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 0x14000596f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x14000591c
xor al, al
jmp 0x14000591c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14000eb80
add rsp, 0x60
pop rbx
ret
Function at 0x14000c7d0
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x60
mov rax, qword [0x140022010]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rsi, rdx
mov rdi, rcx
mov qword [rsp + 0x20], rcx
mov eax, 0x5a4d
cmp word [rdx], ax
jne 0x14000c8e3
movsxd rax, dword [rdx + 0x3c]
cmp dword [rax + rdx], 0x4550
jne 0x14000c8e3
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
xor edx, edx
mov qword [rsp + 0x50], rdx
mov ecx, dword [rax + rsi + 0xb0]
test ecx, ecx
jne 0x14000c848
mov qword [rdi], rdx
mov qword [rdi + 8], rdx
mov qword [rdi + 0x10], rdx
jmp 0x14000c8f0
lea rbx, [rsi + rcx]
mov ebp, dword [rax + rsi + 0xb4]
add rbp, rbx
mov rcx, qword [rsp + 0x48]
cmp rbx, rbp
jae 0x14000c8d1
mov r8d, dword [rbx + 4]
test r8d, r8d
je 0x14000c8d1
mov eax, dword [rbx]
add rax, rsi
mov qword [rsp + 0x28], rax
lea rax, [rbx + 8]
mov qword [rsp + 0x30], rax
lea rax, [r8 - 8]
shr rax, 1
mov dword [rsp + 0x38], eax
cmp rcx, rdx
je 0x14000c8aa
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rcx], xmm0
movsd xmm1, qword [rsp + 0x38]
movsd qword [rcx + 0x10], xmm1
add rcx, 0x18
mov qword [rsp + 0x48], rcx
jmp 0x14000c8c6
lea r8, [rsp + 0x28]
mov rdx, rcx
lea rcx, [rsp + 0x40]
call fcn.14000cf30
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x48]
mov eax, dword [rbx + 4]
add rbx, rax
cmp rbx, rbp
jb 0x14000c860
mov rax, qword [rsp + 0x40]
mov qword [rdi], rax
mov qword [rdi + 8], rcx
mov qword [rdi + 0x10], rdx
jmp 0x14000c8f0
xor edx, edx
mov qword [rcx], rdx
mov qword [rcx + 8], rdx
mov qword [rcx + 0x10], rdx
mov rax, rdi
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14000eb80
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x14000dec0
Capabilities:
Get system information on windows
Make suspicious ntquerysysteminformation call

Disassembly:
push rbx
push rbp
push r14
sub rsp, 0x50
mov rax, qword [0x140022010]
xor rax, rsp
mov qword [rsp + 0x48], rax
xor ebp, ebp
lea r9, [rsp + 0x20]
mov r14, rcx
mov dword [rsp + 0x20], ebp
xor r8d, r8d
xor edx, edx
mov ebx, ebp
lea ecx, [rbp + 0xb]
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
jne 0x14000df4e
nop dword [rax]
test rbx, rbx
je 0x14000df16
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov edx, dword [rsp + 0x20]
xor ecx, ecx
mov r8d, 0x3000
lea r9d, [rcx + 4]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r8d, dword [rsp + 0x20]
lea r9, [rsp + 0x20]
mov rdx, rax
mov ecx, 0xb
mov rbx, rax
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
je 0x14000df00
test eax, eax
jns 0x14000df6f
test rbx, rbx
je 0x14000df74
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
jmp 0x14000e066
test rbx, rbx
jne 0x14000df7b
xor eax, eax
jmp 0x14000e066
mov qword [rsp + 0x78], rsi
mov qword [rsp + 0x80], rdi
mov edi, ebp
cmp dword [rbx], ebp
jbe 0x14000e046
mov esi, edi
lea rdx, [rbx + 0x30]
imul rax, rsi, 0x128
mov qword [rsp + 0x28], rbp
mov r8, 0xffffffffffffffff
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x40], 0xf
movzx ecx, word [rax + rbx + 0x2e]
add rcx, rax
add rdx, rcx
inc r8
cmp byte [rdx + r8], bpl
jne 0x14000dfc4
lea rcx, [rsp + 0x28]
call fcn.140005d20
cmp qword [r14 + 0x18], 0x10
mov rdx, r14
jb 0x14000dfe4
mov rdx, qword [r14]
cmp qword [rsp + 0x40], 0x10
lea rcx, [rsp + 0x28]
cmovae rcx, qword [rsp + 0x28]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
je 0x14000e07c
mov rdx, qword [rsp + 0x40]
cmp rdx, 0x10
jb 0x14000e03c
mov rcx, qword [rsp + 0x28]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000e037
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000e0cd
call fcn.14000eba0
inc edi
cmp edi, dword [rbx]
jb 0x14000df92
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
mov rsi, qword [rsp + 0x78]
mov rdi, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14000eb80
add rsp, 0x50
pop r14
pop rbp
pop rbx
ret
imul rax, rsi, 0x128
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
mov rdi, qword [rax + rbx + 0x18]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rdx, qword [rsp + 0x40]
cmp rdx, 0x10
jb 0x14000e0d9
mov rcx, qword [rsp + 0x28]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000e0d4
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000e0d4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000eba0
mov rax, rdi
jmp 0x14000e059
Function at 0x140028200
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
cmp qword [rcx], rdx
je 0x140028244
mov rsi, rdx
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, rdi
call fcn.140028250
lea rax, [rsi + 1]
cmp rax, 2
jb case.default.0x14002823d
mov qword [rdi], rsi
call fcn.1400f5de0
mov ecx, ebx
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp qword [sym.imp.KERNEL32.dll_SetLastError]
nop
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
add byte [rcx], al
add dword [rax], eax
add cl, bl
add eax, dword [rax]
add byte [rax - 0x1effffb5], ah
add cl, ah
add al, byte [rax]
add byte [rcx], bl
add al, 0
add byte [rcx], cl
add eax, 0x2810000
add byte [rax], al
int1
add byte [rax], al
add byte [rax + 0x49000016], dh
add byte [rcx + 6], cl
add byte [rax], al
add cl, ah
add eax, dword [rax]
add byte [rcx + 3], cl
add byte [rax], al
add byte [rcx], ah
add al, 0
add byte [rcx], cl
add byte [rax], al
add byte [rcx], al
add byte [rax], al
add byte [rcx], al
add al, 0
add byte [rcx - 0x26fffffd], dh
add dword [rax], eax
add byte [rcx + 4], ah
add byte [rax], al
adc dword [rbx], eax
add byte [rax], al
cdq
add dword [rax], eax
add al, dh
adc eax, dword [rax]
add byte [rcx + 4], al
add byte [rax], al
loope 0x1405fbb0f
add byte [rax], al
jns 0x1405fbb10
add byte [rax], al
invalid
add byte [rcx + 6], ah
add byte [rax], al
jmp 0x1715fbb1f
invalid
add byte [rax], al
invalid

Function at 0x14002d0c6
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rsi
push rdi
sub rsp, 0x38
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x14030c028]
xor rax, rsp
mov qword [rsp + 0x30], rax
call fcn.140046005
test al, al
je 0x14002d131
movaps xmm0, xmmword [0x14029de10]
lea rcx, [rsp + 0x20]
movaps xmmword [rcx], xmm0
call fcn.14004894c
cmp byte [rdi + 0x17], 0
jns 0x14002d107
mov rdi, qword [rdi]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [rsi], eax
cmp eax, 0xffffffff
je 0x14002d13e
mov ecx, eax
call fcn.1400462ee
xor edi, edi
test al, al
jne 0x14002d146
mov dword [rsi], 0xffffffff
mov edi, 2
jmp 0x14002d146
mov dword [rsi], 0xffffffff
mov edi, 0x10000011
jmp 0x14002d150
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
lea rcx, [rsp + 0x20]
call fcn.140048c34
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140257200
mov eax, edi
add rsp, 0x38
pop rdi
pop rsi
ret
Function at 0x14002d2ac
Capabilities:
Enumerate process modules

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x178
mov rax, qword [0x14030c028]
xor rax, rsp
mov qword [rsp + 0x170], rax
test rcx, rcx
je 0x14002d32f
mov rdi, rcx
mov edx, 0x200
call fcn.14002d3ae
lea rbx, [rsp + 0x16c]
mov dword [rbx], 0xaaaaaaaa
mov rdx, qword [rdi + 8]
sub rdx, qword [rdi]
sar rdx, 1
mov rcx, rdi
call fcn.14002d3ae
mov ebp, dword [rdi + 8]
mov rcx, qword [rdi]
sub ebp, ecx
and ebp, 0xfffffffc
mov edx, ebp
mov r8, rbx
call sub.KERNEL32.dll_K32EnumProcesses
mov esi, eax
test eax, eax
je 0x14002d333
mov edx, dword [rsp + 0x16c]
cmp edx, ebp
je 0x14002d2e9
shr rdx, 2
mov rcx, rdi
call fcn.14002d3ae
jmp 0x14002d389
xor esi, esi
jmp 0x14002d38f
mov ecx, 2
call fcn.1400f6360
test al, al
je 0x14002d389
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str.....chromechrome_cleanerengines_broker_scanner_sandbox_interface.cc
lea rdi, [rsp + 0x28]
mov rcx, rdi
mov r8d, 0x156
mov r9d, 2
call fcn.1400f7550
lea rcx, [rsp + 0x38]
lea rdx, str.Failed_to_enumerate_processes
mov r8d, 0x1d
call fcn.14001eb4a
mov rcx, rdi
call fcn.1400f7640
test esi, esi
setne sil
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.140257200
mov eax, esi
add rsp, 0x178
pop rbx
pop rbp
pop rdi
pop rsi
ret
Function at 0x14003e852
Capabilities:
Set registry value

Disassembly:
cmp qword [rcx], 0
je 0x14003e867
mov r8d, edx
lea rdx, str.ExitCode
jmp fcn.140112800
ret

Function at 0x14003fe70
Capabilities:
Check internet connectivity via wininet

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x180
mov rcx, rdx
mov rax, qword [0x14030c028]
xor rax, rsp
mov qword [rsp + 0x178], rax
call fcn.1401498d6
movzx ecx, byte [rax + 0x17]
test cl, cl
mov rbx, qword [rax]
cmovns rbx, rax
lea rdx, [rsp + 0x168]
mov qword [rdx], rbx
cmovs rcx, qword [rax + 8]
mov qword [rdx + 8], rcx
lea rsi, [rsp + 0x28]
mov rcx, rsi
call fcn.140103640
cmp byte [rsi + 0x17], 0
jns 0x14003fecd
mov rsi, qword [rsp + 0x28]
mov rcx, rsi
mov edx, 1
xor r8d, r8d
call qword [sym.imp.WININET.dll_InternetCheckConnectionW]
mov esi, eax
cmp byte [rsp + 0x3f], 0
jns 0x14003fef1
mov rcx, qword [rsp + 0x28]
call fcn.140255d7c
test esi, esi
jne 0x14003ff45
xor ecx, ecx
call fcn.1400f6360
test al, al
je 0x14003ff45
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str.....chromechrome_cleanerlogging_safe_browsing_reporter.cc
lea rdi, [rsp + 0x28]
mov rcx, rdi
mov r8d, 0x65
xor r9d, r9d
call fcn.1400f7550
lea rcx, [rsp + 0x38]
lea rdx, str.Safe_Browsing_is_not_reachable
mov r8d, 0x1e
call fcn.14001eb4a
mov rcx, rdi
call fcn.1400f7640
test esi, esi
setne bl
mov rcx, qword [rsp + 0x178]
xor rcx, rsp
call fcn.140257200
mov eax, ebx
add rsp, 0x180
pop rbx
pop rdi
pop rsi
ret
Function at 0x140045770
Capabilities:
Terminate process

Disassembly:
push rsi
push rdi
sub rsp, 0x168
mov esi, ecx
mov rax, qword [0x14030c028]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov ecx, 2
call fcn.1400f6360
test al, al
je 0x1400457e4
lea rdx, str.....chromechrome_cleanerosearly_exit.cc
lea rdi, [rsp + 0x28]
mov rcx, rdi
mov r8d, 0x10
mov r9d, 2
call fcn.1400f6410
lea rcx, [rsp + 0x38]
lea rdx, str.Early_exit_with_code
mov r8d, 0x15
call fcn.14001eb4a
mov rcx, rax
mov edx, esi
call fcn.14001a3d8
mov rcx, rdi
call fcn.1400f68f0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, esi
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.140257200
nop
add rsp, 0x168
pop rdi
pop rsi
ret

Function at 0x1400462f8
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x190
mov rsi, rcx
mov rax, qword [0x14030c028]
xor rax, rsp
mov qword [rsp + 0x188], rax
cmp byte [rcx + 0x17], 0
jns 0x140046320
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140046339
test eax, 0x441000
sete sil
jmp 0x1400463be
mov ecx, 2
call fcn.1400f6360
test al, al
je 0x1400463bc
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str.....chromechrome_cleaneros_file_path_sanitization.cc
lea rcx, [rsp + 0x48]
mov r8d, 0x143
mov r9d, 2
call fcn.1400f7550
lea rcx, [rsp + 0x58]
lea rdx, str.IsFilePresentLocally_failed_to_get_attributes:
mov r8d, 0x2f
call fcn.14001eb4a
mov rdi, rax
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov rdx, rsi
call fcn.140045a36
mov rcx, rdi
mov rdx, rbx
call fcn.1400f7760
cmp byte [rbx + 0x17], 0
jns 0x1400463b2
mov rcx, qword [rsp + 0x30]
call fcn.140255d7c
lea rcx, [rsp + 0x48]
call fcn.1400f7640
xor esi, esi
mov rcx, qword [rsp + 0x188]
xor rcx, rsp
call fcn.140257200
mov eax, esi
add rsp, 0x190
pop rbx
pop rdi
pop rsi
ret