joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140002bb0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140005530]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x140002bcf
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x140002bd8
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret
Function at 0x140001330
Capabilities:
Get common file path
Map section object
Resume thread

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x640]
sub rsp, 0x740
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x630], rax
mov ebx, r8d
mov rdi, rdx
mov r14, rcx
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x420]
call fcn.140011120
xor edx, edx
lea rcx, [rbp + 0x210]
mov r8d, 0x208
call fcn.140011120
lea rdx, [rbp + 0x210]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
lea r9, [rbp + 0x420]
xor r8d, r8d
lea rdx, [0x14001347c]
lea rcx, [rbp + 0x210]
call qword [sym.imp.KERNEL32.dll_GetTempFileNameW]
mov r8d, ebx
lea rcx, [rbp + 0x420]
mov rdx, rdi
call fcn.140001ee0
mov rsi, rax
lea rcx, [rax - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x14000155a
xor edx, edx
lea rcx, [rbp]
mov r8d, 0x208
call fcn.140011120
xor r8d, r8d
lea rdx, [rbp]
mov rcx, r14
call fcn.140001920
mov edx, 0x104
lea rcx, [rbp]
call fcn.14000806c
xor r15d, r15d
lea rbx, [rbp]
test rax, rax
lea rcx, [0x140013450]
cmove rbx, r15
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.CreateProcessInternalW
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14001eb60], rax
test rax, rax
je 0x14000155a
xorps xmm0, xmm0
mov dword [rbp - 0x70], 0x68
xor ecx, ecx
mov qword [rsp + 0x60], r15
mov dword [rbp - 0xc], ecx
xor r9d, r9d
mov qword [rbp - 0x80], rcx
mov r8, r14
lea rcx, [rsp + 0x60]
xor edx, edx
mov qword [rsp + 0x58], rcx
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x50], rcx
lea rcx, [rbp - 0x70]
mov qword [rsp + 0x48], rcx
xor ecx, ecx
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x38], r15
mov dword [rsp + 0x30], 0x800000c
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], r15
movups xmmword [rbp - 0x6c], xmm0
movups xmmword [rbp - 0x5c], xmm0
movups xmmword [rbp - 0x4c], xmm0
movups xmmword [rbp - 0x3c], xmm0
movups xmmword [rbp - 0x2c], xmm0
movups xmmword [rbp - 0x1c], xmm0
movups xmmword [rsp + 0x70], xmm0
call rax
test eax, eax
je 0x14000155a
mov rdx, qword [rsp + 0x70]
lea rax, [rsp + 0x68]
mov dword [rsp + 0x48], 2
lea r8, [rsp + 0x60]
mov dword [rsp + 0x40], r15d
xor r9d, r9d
mov dword [rsp + 0x38], 1
mov rcx, rsi
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
mov qword [rsp + 0x68], r15
mov qword [rsp + 0x60], r15
call qword [sym.imp.ntdll.dll_NtMapViewOfSection]
test eax, eax
je 0x14000151f
cmp eax, 0x40000003
jne 0x14000155a
mov rbx, qword [rsp + 0x60]
test rbx, rbx
je 0x14000155a
mov rcx, rdi
call fcn.1400019f0
xor al, 1
lea r8, [rsp + 0x70]
movzx r9d, al
mov rdx, rbx
mov rcx, rdi
call fcn.140001a30
test al, al
je 0x14000155a
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov al, 1
jmp 0x14000155c
xor al, al
mov rcx, qword [rbp + 0x630]
xor rcx, rsp
call fcn.1400024e0
mov rbx, qword [rsp + 0x788]
add rsp, 0x740
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400019b0
Capabilities:
Parse pe header

Disassembly:
test rcx, rcx
je 0x1400019de
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400019de
movsxd rax, dword [rcx + 0x3c]
cmp eax, 0x400
jg 0x1400019de
add rax, rcx
cmp dword [rax], 0x4550
jne 0x1400019de
test rax, rax
je 0x1400019de
mov eax, dword [rax + 0x28]
ret
xor eax, eax
ret

Function at 0x1400019f0
Capabilities:
Parse pe header

Disassembly:
test rcx, rcx
je 0x140001a27
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140001a27
movsxd rax, dword [rcx + 0x3c]
cmp eax, 0x400
jg 0x140001a27
add rax, rcx
cmp dword [rax], 0x4550
jne 0x140001a27
test rax, rax
je 0x140001a27
mov ecx, 0x20b
cmp word [rax + 0x18], cx
sete al
ret
xor al, al
ret

Function at 0x140001ee0
Capabilities:
Process ghostly hollowing
Set file attributes
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x70
mov edi, r8d
mov rsi, rdx
call fcn.140002000
mov rbx, rax
lea rcx, [rax - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x140001f8d
xorps xmm0, xmm0
mov byte [rsp + 0x98], 1
mov r9d, 1
mov dword [rsp + 0x20], 0xd
lea r8, [rsp + 0x98]
mov rcx, rax
lea rdx, [rsp + 0x60]
movups xmmword [rsp + 0x60], xmm0
call qword [sym.imp.ntdll.dll_NtSetInformationFile]
test eax, eax
js 0x140001f8d
mov qword [rsp + 0x40], 0
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
xor r9d, r9d
mov dword [rsp + 0x30], edi
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rsi
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], rax
mov rcx, rbx
mov qword [rsp + 0x50], 0
call qword [sym.imp.ntdll.dll_NtWriteFile]
test eax, eax
jns 0x140001fa6
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rax, 0xffffffffffffffff
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
mov qword [rsp + 0x30], rbx
lea rcx, [rsp + 0x58]
mov dword [rsp + 0x28], 0x1000000
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], 2
mov edx, 0xf001f
mov qword [rsp + 0x58], 0
call qword [sym.imp.ntdll.dll_NtCreateSection]
test eax, eax
jne 0x140001f8d
mov rcx, rbx
call qword [sym.imp.ntdll.dll_NtClose]
mov rax, qword [rsp + 0x58]
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x140002dfc
Capabilities:
Parse pe header

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

Function at 0x140008da0
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x140008e0f
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140008e0f
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140008e0f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140008e0f
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140008e0f
cmp dword [rcx + 0x84], 0xe
jbe 0x140008e0f
cmp dword [rcx + 0xf8], 0
je 0x140008e0f
mov ecx, ebx
call fcn.140008ec0
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.140008c9c
nop
cmp dword [rbp + 0x20], 0
je 0x140008e5d
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140008e68
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x140008da0

Function at 0x140008fa4
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140008da0
Function at 0x14000b6c4
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x14000b74b
mov rsi, rbx
cmp word [rax], bp
je 0x14000b70a
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x14000b6f4
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x14000b6f0
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.14000a0cc
mov rdi, rax
test rax, rax
je 0x14000b738
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.1400114e0
mov rbp, rdi
xor ecx, ecx
call fcn.14000a3b4
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140010e40
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140010e68
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140010e68
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x1400031b0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x270
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rsi, rcx
xor edx, edx
mov ecx, 2
xor ebx, ebx
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x1400031f3
xor eax, eax
jmp 0x140003244
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x238
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140003239
nop dword [rax]
lea rdx, [rsp + 0x4c]
mov rcx, rsi
call fcn.1400035d0
lea ecx, [rbx + 1]
test al, al
lea rdx, [rsp + 0x20]
cmove ecx, ebx
mov ebx, ecx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140003210
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.14000f430
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x140003a90
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x90
mov rdi, rdx
mov rbx, rcx
mov dword [rsp + 0x20], 0
call fcn.140001750
mov dword [rsp + 0x20], 1
lea rcx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov rax, qword [rsp + 0x60]
cmp rax, qword [rsp + 0x68]
jae 0x140003b2c
nop dword [rax]
nop dword [rax + rax]
mov r9d, 0x30
lea r8, [rsp + 0x28]
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualQueryEx]
cmp rax, 0x30
jne 0x140003b2c
cmp dword [rsp + 0x48], 0x1000
jne 0x140003b1b
cmp dword [rsp + 0x4c], 1
je 0x140003b1b
lea rdx, [rsp + 0x28]
mov rcx, rbx
call fcn.140003d90
mov rax, qword [rsp + 0x40]
add rax, qword [rsp + 0x28]
cmp rax, qword [rsp + 0x68]
jb 0x140003ae0
mov rax, rbx
mov rbx, qword [rsp + 0xa8]
add rsp, 0x90
pop rdi
ret
Function at 0x14000a3a0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x270
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rsi, rcx
xor edx, edx
mov ecx, 2
xor edi, edi
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x14000a3f6
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
lea rdx, str.Failed_to_take_a_snapshot_of_processes._n
call fcn.14000a4a0
xor eax, eax
jmp 0x14000a44d
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x238
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x14000a442
mov rcx, rsi
call fcn.140005070
mov rdx, rax
lea rcx, [rsp + 0x4c]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x14000a43e
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x14000a410
jmp 0x14000a442
mov edi, dword [rsp + 0x28]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.14000f430
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x14000c5c0
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
push r14
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r14, rdx
mov rdi, rcx
je 0x14000c5e8
add rsp, 0x20
pop r14
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 qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rsi, rbx
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 rbp, rax
test rbx, rbx
jle 0x14000c65c
test rax, rax
jle 0x14000c63c
cmp rbx, rax
mov rcx, rdi
cmovl rbp, rbx
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, rbp
mov rdx, r14
mov rcx, rax
call fcn.140001c30
mov edx, ebp
mov rcx, rdi
add r14, rbp
sub rbx, rbp
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pbump_int____ptr64]
test rbx, rbx
jle 0x14000c65c
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x14000c65c
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov rbp, qword [rsp + 0x40]
sub rsi, rbx
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
pop rdi
pop rbx
ret
Function at 0x14000c680
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x20
mov rdi, r8
mov rbp, rdx
mov rsi, rcx
test r8, r8
jg 0x14000c6a0
xor eax, eax
add rsp, 0x20
pop rdi
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je 0x14000c6b5
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]
add rsp, 0x20
pop rdi
pop rsi
pop rbp
ret
mov qword [rsp + 0x50], rdi
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 + 0x58], rax
test rax, rax
je 0x14000c710
lea rdx, [rsp + 0x58]
mov qword [rsp + 0x40], rbx
lea rcx, [rsp + 0x50]
call fcn.140001350
mov rcx, rsi
mov rbx, qword [rax]
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, rbx
mov rcx, rbp
mov rdx, rax
call fcn.140001c30
sub qword [rsp + 0x50], rbx
mov edx, ebx
mov rcx, rsi
add rbp, rbx
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::gbump_int____ptr64]
mov rbx, qword [rsp + 0x40]
cmp qword [rsi + 0x80], 0
je 0x14000c79f
mov rcx, rsi
call fcn.14000d130
mov rcx, qword [rsp + 0x50]
cmp rcx, 0xfff
jbe 0x14000c76c
mov r9, qword [rsi + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, qword [rsp + 0x50]
add rbp, rax
sub rcx, rax
mov qword [rsp + 0x50], rcx
cmp rax, 0xfff
jne 0x14000c7a4
cmp rcx, rax
ja 0x14000c734
test rcx, rcx
je 0x14000c7a4
mov r9, qword [rsi + 0x80]
mov r8, rcx
mov rcx, rbp
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, qword [rsp + 0x50]
sub rcx, rax
sub rdi, rcx
mov rax, rdi
add rsp, 0x20
pop rdi
pop rsi
pop rbp
ret
mov rcx, qword [rsp + 0x50]
sub rdi, rcx
mov rax, rdi
add rsp, 0x20
pop rdi
pop rsi
pop rbp
ret
Function at 0x14000cb70
Capabilities:
Write file on windows

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x80
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov ebp, edx
mov rdi, rcx
call fcn.140001bd0
mov edx, ebp
mov ecx, eax
mov esi, eax
call fcn.140001be0
test al, al
je 0x14000cbaf
mov ecx, ebp
call fcn.14000d4d0
jmp 0x14000cce6
mov rcx, rdi
mov qword [rsp + 0xb0], rbx
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
test rax, rax
je 0x14000cbfb
mov rcx, rdi
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::epptr_void_const___ptr64]
mov rcx, rdi
mov rbx, rax
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
cmp rax, rbx
jae 0x14000cbfb
mov rcx, rdi
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pninc_void____ptr64]
mov ecx, ebp
mov rbx, rax
call fcn.14000d500
mov byte [rbx], al
mov eax, ebp
jmp 0x14000ccde
cmp qword [rdi + 0x80], 0
je 0x14000ccdc
mov rcx, rdi
call fcn.14000d130
mov rbx, qword [rdi + 0x68]
mov ecx, ebp
call fcn.14000d500
test rbx, rbx
jne 0x14000cc37
mov rdx, qword [rdi + 0x80]
movzx ecx, al
call fcn.14000b330
test al, al
jmp 0x14000ccd9
mov byte [rsp + 0x40], al
lea rdx, [rdi + 0x74]
lea rax, [rsp + 0x48]
mov rcx, rbx
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x41]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r8, [rsp + 0x40]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x50]
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 0x14000cc9d
sub eax, 1
je 0x14000cc9d
cmp eax, 2
jne 0x14000ccdc
mov rdx, qword [rdi + 0x80]
movzx ecx, byte [rsp + 0x40]
call fcn.14000b330
test al, al
jmp 0x14000ccd9
mov rbx, qword [rsp + 0x48]
lea rax, [rsp + 0x58]
sub rbx, rax
je 0x14000cccb
mov r9, qword [rdi + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rbx
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rbx, rax
jne 0x14000ccdc
lea rax, [rsp + 0x40]
mov byte [rdi + 0x71], 1
cmp qword [rsp + 0x50], rax
cmovne esi, ebp
mov eax, esi
mov rbx, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14000f430
add rsp, 0x80
pop rdi
pop rsi
pop rbp
ret
Function at 0x14000d1c0
Capabilities:
Write file on windows

Disassembly:
push rsi
sub rsp, 0x60
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rsi, rcx
je 0x14000d2b5
cmp byte [rcx + 0x71], 0
je 0x14000d2b5
mov rax, qword [rcx]
mov qword [rsp + 0x78], rbx
mov qword [rsp + 0x80], rdi
mov rbx, qword [rax + 0x18]
call fcn.140001bd0
mov edx, eax
mov rcx, rsi
mov edi, eax
call rbx
mov edx, eax
mov ecx, edi
call fcn.140001be0
mov rdi, qword [rsp + 0x80]
test al, al
jne 0x14000d2b1
mov rcx, qword [rsi + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rsi + 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 0x14000d276
sub eax, 1
je 0x14000d27a
cmp eax, 2
jne 0x14000d2b1
mov byte [rsi + 0x71], 0
mov al, 1
mov rbx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14000f430
add rsp, 0x60
pop rsi
ret
mov byte [rsi + 0x71], 0
mov rbx, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rbx, rax
je 0x14000d2a8
mov r9, qword [rsi + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rbx
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rbx, rax
jne 0x14000d2b1
cmp byte [rsi + 0x71], 0
sete al
jmp 0x14000d25e
xor al, al
jmp 0x14000d25e
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14000f430
add rsp, 0x60
pop rsi
ret
Function at 0x14000d960
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, 0x1070
call fcn.140010460
sub rsp, rax
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x1060], rax
mov rdi, rdx
mov rbx, rcx
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 1
lea rcx, str.HTTP_Client
call qword [sym.imp.WININET.dll_InternetOpenW]
mov rsi, rax
test rax, rax
jne 0x14000d9f4
lea rdx, str.xd_moment
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140001d90
lea rdx, [0x140001f70]
mov rcx, rax
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___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
lea rdx, [0x140012271]
mov rcx, rbx
call fcn.140007ae0
jmp 0x14000daf1
mov rcx, rdi
call fcn.140001860
mov rdx, rax
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x80000000
xor r9d, r9d
xor r8d, r8d
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov rdi, rax
test rax, rax
jne 0x14000da67
lea rdx, str.bruh_moment
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140001d90
lea rdx, [0x140001f70]
mov rcx, rax
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___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
lea rdx, [0x140012271]
mov rcx, rbx
call fcn.140007ae0
jmp 0x14000daf1
lea rcx, [rsp + 0x40]
call fcn.140007b50
nop
lea r9, [rsp + 0x30]
mov r8d, 0x1000
lea rdx, [rsp + 0x60]
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x14000dac7
nop
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x14000dac7
mov r8d, eax
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x40]
call fcn.140007fd0
lea r9, [rsp + 0x30]
mov r8d, 0x1000
lea rdx, [rsp + 0x60]
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x14000da90
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.140001880
nop
lea rcx, [rsp + 0x40]
call fcn.140001870
mov rax, rbx
mov rcx, qword [rsp + 0x1060]
xor rcx, rsp
call fcn.14000f430
lea r11, [rsp + 0x1070]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret