joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140014bd0
Capabilities:
Initialize winhttp library

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax + 0x18]
call qword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov rcx, qword [rsp + 0x40]
mov qword [rcx], rax
mov rax, qword [rsp + 0x40]
cmp qword [rax], 0
je 0x140014c11
mov al, 1
jmp 0x140014c13
xor al, al
add rsp, 0x38
ret

Function at 0x140014c20
Capabilities:
Read http header

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov rax, qword [rsp + 0x50]
cmp qword [rax + 0x10], 0
jne 0x140014c39
xor eax, eax
jmp 0x140014c7c
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x34], 4
mov qword [rsp + 0x28], 0
lea rax, [rsp + 0x34]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x30]
xor r8d, r8d
mov edx, 0x20000013
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax + 0x10]
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
mov eax, dword [rsp + 0x30]
add rsp, 0x48
ret

Function at 0x140014c90
Capabilities:
Read http header

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x98
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov dword [rsp + 0x34], 0
mov rax, qword [rsp + 0xa0]
cmp qword [rax + 0x10], 0
jne 0x140014ced
lea rdx, [0x1400359f8]
mov rcx, qword [rsp + 0xa8]
call fcn.1400142b0
mov eax, dword [rsp + 0x34]
or eax, 1
mov dword [rsp + 0x34], eax
mov rax, qword [rsp + 0xa8]
jmp 0x140014e59
mov dword [rsp + 0x38], 0
mov qword [rsp + 0x28], 0
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x16
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rax + 0x10]
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x140014e32
lea rdx, [0x140035a68]
lea rcx, [rsp + 0x68]
call fcn.1400142b0
nop
mov eax, dword [rsp + 0x38]
xor edx, edx
mov ecx, 2
div rcx
mov qword [rsp + 0x48], rax
mov eax, 2
mov rcx, qword [rsp + 0x48]
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.14002c3dc
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x28], 0
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x40]
xor r8d, r8d
mov edx, 0x16
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rax + 0x10]
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
je 0x140014dc5
mov byte [rsp + 0x30], 1
jmp 0x140014dca
mov byte [rsp + 0x30], 0
movzx eax, byte [rsp + 0x30]
mov byte [rsp + 0x31], al
movzx eax, byte [rsp + 0x31]
test eax, eax
je 0x140014deb
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x68]
call fcn.140014710
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x58], rax
mov rcx, qword [rsp + 0x58]
call fcn.14002c3d4
lea rdx, [rsp + 0x68]
mov rcx, qword [rsp + 0xa8]
call fcn.140014220
mov eax, dword [rsp + 0x34]
or eax, 1
mov dword [rsp + 0x34], eax
lea rcx, [rsp + 0x68]
call fcn.1400144e0
mov rax, qword [rsp + 0xa8]
jmp 0x140014e59
lea rdx, [0x140035a70]
mov rcx, qword [rsp + 0xa8]
call fcn.1400142b0
mov eax, dword [rsp + 0x34]
or eax, 1
mov dword [rsp + 0x34], eax
mov rax, qword [rsp + 0xa8]
add rsp, 0x98
ret
Function at 0x140015170
Capabilities:
Receive http response

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x70
mov rax, qword [rsp + 0x80]
cmp qword [rax + 0x10], 0
jne 0x140015195
xor al, al
jmp 0x140015351
mov dword [rsp + 0x20], 0
mov dword [rsp + 0x2c], 0
mov dword [rsp + 0x24], 0
mov dword [rsp + 0x20], 0
lea rdx, [rsp + 0x20]
mov rax, qword [rsp + 0x80]
mov rcx, qword [rax + 0x10]
call qword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
jne 0x1400151d7
xor al, al
jmp 0x140015351
mov eax, dword [rsp + 0x20]
mov ecx, dword [rsp + 0x24]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x24]
cvtsi2ss xmm0, rax
divss xmm0, dword [0x140035f50]
divss xmm0, dword [0x140035f54]
cvttss2si eax, xmm0
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x80]
movzx eax, byte [rax + 0x28]
test eax, eax
je 0x1400152a9
lea rdx, str.Download
mov rcx, qword [0x1400352a8]
call fcn.140012720
mov qword [rsp + 0x38], rax
mov edx, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x38]
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__::operator___int____ptr64]
lea rdx, [0x140035a64]
mov rcx, rax
call fcn.140012720
mov qword [rsp + 0x40], rax
imul eax, dword [rsp + 0x28], 0x3e8
imul eax, eax, 0x400
mov ecx, dword [rsp + 0x24]
sub ecx, eax
mov eax, ecx
xor edx, edx
mov ecx, 0x64
div ecx
mov edx, eax
mov rcx, qword [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__::operator___int____ptr64]
lea rdx, [0x1400359ec]
mov rcx, rax
call fcn.140012720
mov qword [rsp + 0x48], rax
lea rdx, [0x140013fa0]
mov rcx, qword [rsp + 0x48]
call qword [0x140035288]
mov eax, dword [rsp + 0x20]
inc eax
mov eax, eax
mov ecx, eax
call fcn.14002c3dc
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x1400152d5
xor al, al
jmp 0x140015351
mov eax, dword [rsp + 0x20]
inc eax
mov eax, eax
mov qword [rsp + 0x58], rax
mov rdi, qword [rsp + 0x30]
xor eax, eax
mov rcx, qword [rsp + 0x58]
rep stosb byte [rdi], al
lea r9, [rsp + 0x2c]
mov r8d, dword [rsp + 0x20]
mov rdx, qword [rsp + 0x30]
mov rax, qword [rsp + 0x80]
mov rcx, qword [rax + 0x10]
call qword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
jne 0x140015317
jmp 0x140015330
mov eax, dword [rsp + 0x2c]
mov r8d, eax
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x88]
call fcn.1400163c0
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x60]
call fcn.14002c3d4
cmp dword [rsp + 0x20], 0
ja 0x1400151ad
mov al, 1
add rsp, 0x70
pop rdi
ret
Function at 0x140015780
Capabilities:
Prepare http request

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov rax, qword [rsp + 0x50]
cmp qword [rax + 8], 0
jne 0x1400157a1
xor al, al
jmp 0x140015878
xor eax, eax
test eax, eax
je 0x1400157ae
xor al, al
jmp 0x140015878
mov rax, qword [rsp + 0x50]
cmp dword [rax + 0x2c], 0
je 0x1400157c7
mov rax, qword [rsp + 0x50]
cmp dword [rax + 0xb0], 0
jne 0x1400157ce
xor al, al
jmp 0x140015878
mov rax, qword [rsp + 0x50]
cmp dword [rax + 0xb0], 0xb
jne 0x140015821
mov dword [rsp + 0x30], 0x800000
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8, qword [rsp + 0x58]
mov rax, qword [rsp + 0x50]
mov rdx, qword [rax + 0x20]
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax + 8]
call qword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov rcx, qword [rsp + 0x50]
mov qword [rcx + 0x10], rax
jmp 0x140015864
mov dword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8, qword [rsp + 0x58]
mov rax, qword [rsp + 0x50]
mov rdx, qword [rax + 0x20]
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax + 8]
call qword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov rcx, qword [rsp + 0x50]
mov qword [rcx + 0x10], rax
mov rax, qword [rsp + 0x50]
cmp qword [rax + 0x10], 0
jne 0x140015876
xor al, al
jmp 0x140015878
mov al, 1
add rsp, 0x48
ret

Function at 0x140015880
Capabilities:
Receive http response

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rax, qword [rsp + 0x40]
cmp qword [rax + 0x10], 0
jne 0x140015899
xor al, al
jmp 0x1400158bf
xor edx, edx
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax + 0x10]
call qword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
je 0x1400158b5
mov byte [rsp + 0x20], 1
jmp 0x1400158ba
mov byte [rsp + 0x20], 0
movzx eax, byte [rsp + 0x20]
add rsp, 0x38
ret
Function at 0x14001d810
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x1d8
mov qword [rsp + 0x98], 0xfffffffffffffffe
cmp qword [rsp + 0x1e0], 0
je 0x14001d84c
cmp qword [rsp + 0x1e0], 0xffffffffffffffff
je 0x14001d84c
mov rcx, qword [rsp + 0x1e0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rsp + 0xa0]
call fcn.14001c080
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x60]
call fcn.14002b9f0
movzx eax, al
test eax, eax
jne 0x14001d883
mov dword [rsp + 0x38], 1
jmp 0x14001d88b
mov dword [rsp + 0x38], 0
movzx eax, byte [rsp + 0x38]
mov byte [rsp + 0x30], al
lea rcx, [rsp + 0xa0]
call fcn.1400144e0
movzx eax, byte [rsp + 0x30]
test eax, eax
je 0x14001d8b1
xor al, al
jmp 0x14001da2f
lea rcx, [rsp + 0x78]
call fcn.14001c170
nop
lea rcx, [rsp + 0x78]
call fcn.140016780
mov dword [rsp + 0x20], 1
mov r9d, SHGetSetSettings
mov r8d, 0x22
mov rdx, rax
lea rcx, [rsp + 0xc0]
call fcn.14001a2e0
nop
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
cdqe
cqo
mov ecx, 0x23d6df
idiv rcx
mov rax, rdx
add rax, 0x1649d
mov dword [rsp + 0x34], eax
movsxd rax, dword [rsp + 0x34]
mov rcx, rax
call fcn.14002c3dc
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], 0
jmp 0x14001d93e
mov rax, qword [rsp + 0x40]
inc rax
mov qword [rsp + 0x40], rax
movsxd rax, dword [rsp + 0x34]
cmp qword [rsp + 0x40], rax
jae 0x14001d96e
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
cdq
mov ecx, 0xff
idiv ecx
mov eax, edx
mov rcx, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x48]
add rdx, rcx
mov rcx, rdx
mov byte [rcx], al
jmp 0x14001d931
movsxd rax, dword [rsp + 0x34]
mov r8, rax
mov rdx, qword [rsp + 0x48]
lea rcx, [rsp + 0xc0]
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]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0x50]
add rcx, rax
mov rax, rcx
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::operator__void_const___ptr64]
movzx eax, al
lea rcx, [rsp + 0xc0]
call fcn.14001e3c0
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x70], rax
mov rcx, qword [rsp + 0x70]
call fcn.14002c3d4
lea rcx, [rsp + 0x78]
call fcn.140016780
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wremove]
test eax, eax
je 0x14001da0d
mov byte [rsp + 0x31], 0
lea rcx, [rsp + 0xc0]
call fcn.14001aa60
nop
lea rcx, [rsp + 0x78]
call fcn.1400144e0
movzx eax, byte [rsp + 0x31]
jmp 0x14001da2f
mov byte [rsp + 0x32], 1
lea rcx, [rsp + 0xc0]
call fcn.14001aa60
nop
lea rcx, [rsp + 0x78]
call fcn.1400144e0
movzx eax, byte [rsp + 0x32]
add rsp, 0x1d8
ret
Function at 0x14001dc40
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0xa8
mov rax, qword [rsp + 0xb0]
cmp qword [rax + 0x68], 0
je 0x14001dc6b
mov rax, qword [rsp + 0xb0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x14001dc72
mov al, 1
jmp 0x14001ddc0
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x50], rax
call fcn.140016960
mov dword [rsp + 0x38], eax
mov edx, dword [rsp + 0x38]
mov rcx, qword [rsp + 0xb0]
call qword [rsp + 0x50]
mov dword [rsp + 0x3c], eax
call fcn.140016960
mov dword [rsp + 0x40], eax
lea rdx, [rsp + 0x3c]
lea rcx, [rsp + 0x40]
call fcn.140016970
movzx eax, al
test eax, eax
je 0x14001dcc9
xor al, al
jmp 0x14001ddc0
mov qword [rsp + 0x68], 0x20
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax + 0x68]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x90]
mov rcx, qword [rsp + 0xb0]
add rcx, 0x74
lea rdx, [rsp + 0x60]
mov qword [rsp + 0x20], rdx
mov r9, rax
lea r8, [rsp + 0x70]
mov rdx, rcx
mov rcx, qword [rsp + 0x58]
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]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x14001dd39
cmp dword [rsp + 0x30], 1
je 0x14001dd45
cmp dword [rsp + 0x30], 3
je 0x14001ddba
jmp 0x14001ddbe
mov rax, qword [rsp + 0xb0]
mov byte [rax + 0x71], 0
lea rax, [rsp + 0x70]
mov rcx, qword [rsp + 0x60]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jbe 0x14001dd91
mov rax, qword [rsp + 0xb0]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x48]
mov edx, 1
lea rcx, [rsp + 0x70]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp qword [rsp + 0x48], rax
je 0x14001dd91
xor al, al
jmp 0x14001ddc0
mov rax, qword [rsp + 0xb0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x14001ddab
mov dword [rsp + 0x34], 1
jmp 0x14001ddb3
mov dword [rsp + 0x34], 0
movzx eax, byte [rsp + 0x34]
jmp 0x14001ddc0
mov al, 1
jmp 0x14001ddc0
xor al, al
add rsp, 0xa8
ret
Function at 0x14001f650
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rax, qword [rsp + 0x40]
cmp qword [rax + 0x68], 0
je 0x14001f689
mov r8, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
call 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]
jmp 0x14001f781
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll_protected:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Gnavail_void_const___ptr64]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x50], 0
jle 0x14001f71f
cmp qword [rsp + 0x20], 0
jle 0x14001f71f
mov rax, qword [rsp + 0x20]
cmp qword [rsp + 0x50], rax
jge 0x14001f6c9
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::gptr_void_const___ptr64]
mov r8, qword [rsp + 0x20]
mov rdx, rax
mov rcx, qword [rsp + 0x48]
call fcn.140011830
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x48]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x50]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov edx, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::gbump_int____ptr64]
cmp qword [rsp + 0x50], 0
jle 0x14001f771
mov rax, qword [rsp + 0x40]
cmp qword [rax + 0x80], 0
je 0x14001f771
mov rcx, qword [rsp + 0x40]
call fcn.14001e050
mov rax, qword [rsp + 0x40]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x50]
mov edx, 1
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, qword [rsp + 0x50]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x28]
sub rcx, rax
mov rax, rcx
add rsp, 0x38
ret
Function at 0x14001f790
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rax, qword [rsp + 0x40]
cmp qword [rax + 0x68], 0
je 0x14001f7c9
mov r8, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
call 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]
jmp 0x14001f8b7
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll_protected:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pnavail_void_const___ptr64]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x50], 0
jle 0x14001f85f
cmp qword [rsp + 0x20], 0
jle 0x14001f85f
mov rax, qword [rsp + 0x20]
cmp qword [rsp + 0x50], rax
jge 0x14001f809
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
mov r8, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x48]
mov rcx, rax
call fcn.140011830
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x48]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x50]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov edx, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pbump_int____ptr64]
cmp qword [rsp + 0x50], 0
jle 0x14001f8a7
mov rax, qword [rsp + 0x40]
cmp qword [rax + 0x80], 0
je 0x14001f8a7
mov rax, qword [rsp + 0x40]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x50]
mov edx, 1
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, qword [rsp + 0x50]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x28]
sub rcx, rax
mov rax, rcx
add rsp, 0x38
ret
Function at 0x140022690
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
mov eax, 0x2218
call fcn.14002c9f0
sub rsp, rax
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov rax, qword [rsp + 0x2220]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x1400226e9
mov qword [rsp + 0x30], 0
mov rcx, qword [rsp + 0x2230]
call fcn.140010dc0
mov rax, qword [rsp + 0x30]
jmp 0x140022870
lea rax, [rsp + 0xb8]
mov qword [rsp + 0x38], rax
mov rdx, qword [rsp + 0x2230]
mov rcx, qword [rsp + 0x38]
call fcn.140014180
mov qword [rsp + 0x40], rax
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x98]
call fcn.140024cc0
nop
lea r9, [rsp + 0x24]
mov r8d, 0x2000
lea rdx, [rsp + 0x210]
mov rcx, qword [rsp + 0x28]
call sub.KERNEL32.dll_K32EnumProcessModules
test eax, eax
je 0x140022847
mov dword [rsp + 0x20], 0
jmp 0x140022759
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
mov qword [rsp + 0x48], rax
mov ecx, dword [rsp + 0x24]
xor edx, edx
mov eax, ecx
mov ecx, 8
div rcx
mov rcx, qword [rsp + 0x48]
cmp rcx, rax
jae 0x140022847
mov eax, dword [rsp + 0x20]
mov r9d, 0x104
lea r8, [rsp + 0x100]
mov rdx, qword [rsp + rax*8 + 0x210]
mov rcx, qword [rsp + 0x28]
call sub.KERNEL32.dll_K32GetModuleFileNameExA
test eax, eax
je 0x140022842
lea rax, [rsp + 0xd8]
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0x100]
mov rcx, qword [rsp + 0x50]
call fcn.140010d10
mov qword [rsp + 0x58], rax
mov rdx, qword [rsp + 0x58]
lea rcx, [rsp + 0x78]
call fcn.140024cc0
xor r8d, r8d
lea rdx, [rsp + 0x98]
lea rcx, [rsp + 0x78]
call fcn.1400260d0
cmp rax, 0xffffffffffffffff
je 0x140022838
mov eax, dword [rsp + 0x20]
mov rax, qword [rsp + rax*8 + 0x210]
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0x78]
call fcn.140010dc0
nop
lea rcx, [rsp + 0x98]
call fcn.140010dc0
nop
mov rcx, qword [rsp + 0x2230]
call fcn.140010dc0
mov rax, qword [rsp + 0x60]
jmp 0x140022870
lea rcx, [rsp + 0x78]
call fcn.140010dc0
jmp 0x14002274f
mov qword [rsp + 0x68], 0
lea rcx, [rsp + 0x98]
call fcn.140010dc0
nop
mov rcx, qword [rsp + 0x2230]
call fcn.140010dc0
mov rax, qword [rsp + 0x68]
add rsp, 0x2218
ret
Function at 0x140026180
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x1d0
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov dword [rsp + 0x24], 0
xor edx, edx
mov ecx, 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0xa0]
mov rdi, rax
xor eax, eax
mov ecx, 0x130
rep stosb byte [rdi], al
mov dword [rsp + 0xa0], 0x130
lea rdx, [rsp + 0xa0]
mov rcx, qword [rsp + 0x28]
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x140026292
mov rdx, qword [rsp + 0x1e0]
lea rcx, [rsp + 0x80]
call fcn.140010d10
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0xcc]
lea rcx, [rsp + 0x60]
call fcn.140010d10
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x50], rax
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x50]
call fcn.14001f9f0
mov byte [rsp + 0x20], al
lea rcx, [rsp + 0x60]
call fcn.140010dc0
nop
lea rcx, [rsp + 0x80]
call fcn.140010dc0
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x140026278
mov eax, dword [rsp + 0xa8]
mov dword [rsp + 0x24], eax
jmp 0x140026292
lea rdx, [rsp + 0xa0]
mov rcx, qword [rsp + 0x28]
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x1400261e8
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x24]
add rsp, 0x1d0
pop rdi
ret
Function at 0x14002a1f0
Capabilities:
Hash data with md5

Disassembly:
mov qword [rsp + 8], rcx
mov rax, qword [rsp + 8]
mov byte [rax], 0
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 8]
mov dword [rcx + rax + 0x44], 0
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rsp + 8]
mov dword [rcx + rax + 0x44], 0
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 8]
mov dword [rcx + rax + 0x4c], 0x67452301
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rsp + 8]
mov dword [rcx + rax + 0x4c], 0xefcdab89
mov eax, 4
imul rax, rax, 2
mov rcx, qword [rsp + 8]
mov dword [rcx + rax + 0x4c], 0x98badcfe
mov eax, 4
imul rax, rax, 3
mov rcx, qword [rsp + 8]
mov dword [rcx + rax + 0x4c], 0x10325476
ret
Function at 0x14002b9f0
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0xb8
mov qword [rsp + 0x90], 0xfffffffffffffffe
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x14002ba29
xor al, al
jmp 0x14002bbd7
mov r8, qword [rsp + 0xc0]
lea rdx, str.RegistryMachineSystemCurrentControlSetServices_
lea rcx, [rsp + 0x70]
call fcn.14002b4b0
nop
lea rcx, [rsp + 0x70]
call fcn.140016780
mov rdx, rax
lea rcx, [rsp + 0x98]
call sub.ntdll.dll_RtlInitUnicodeString
mov r8, qword [rsp + 0xc0]
lea rdx, str.SYSTEMCurrentControlSetServices_
lea rcx, [rsp + 0x38]
call fcn.14002b4b0
nop
lea rcx, [rsp + 0x38]
call fcn.140016780
lea r8, [rsp + 0x58]
mov rdx, rax
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0
je 0x14002baf0
cmp dword [rsp + 0x28], 2
jne 0x14002bacc
mov byte [rsp + 0x20], 1
lea rcx, [rsp + 0x38]
call fcn.1400144e0
nop
lea rcx, [rsp + 0x70]
call fcn.1400144e0
movzx eax, byte [rsp + 0x20]
jmp 0x14002bbd7
mov byte [rsp + 0x21], 0
lea rcx, [rsp + 0x38]
call fcn.1400144e0
nop
lea rcx, [rsp + 0x70]
call fcn.1400144e0
movzx eax, byte [rsp + 0x21]
jmp 0x14002bbd7
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, str.NtUnloadDriver
mov rcx, qword [rsp + 0x30]
call qword [0x1400351d8]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0x98]
call qword [rsp + 0x68]
mov dword [rsp + 0x2c], eax
cmp dword [rsp + 0x2c], 0
je 0x14002bb72
lea rcx, [rsp + 0x38]
call fcn.140016780
mov rdx, rax
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov dword [rsp + 0x28], eax
mov byte [rsp + 0x22], 0
lea rcx, [rsp + 0x38]
call fcn.1400144e0
nop
lea rcx, [rsp + 0x70]
call fcn.1400144e0
movzx eax, byte [rsp + 0x22]
jmp 0x14002bbd7
lea rcx, [rsp + 0x38]
call fcn.140016780
mov rdx, rax
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0
je 0x14002bbb8
mov byte [rsp + 0x23], 0
lea rcx, [rsp + 0x38]
call fcn.1400144e0
nop
lea rcx, [rsp + 0x70]
call fcn.1400144e0
movzx eax, byte [rsp + 0x23]
jmp 0x14002bbd7
mov byte [rsp + 0x24], 1
lea rcx, [rsp + 0x38]
call fcn.1400144e0
nop
lea rcx, [rsp + 0x70]
call fcn.1400144e0
movzx eax, byte [rsp + 0x24]
add rsp, 0xb8
ret