joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001a1f0
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x14001a21f
mov rcx, qword [rcx + 0x38]
test rcx, rcx
je 0x14001a217
mov rax, qword [rcx]
xor edx, edx
call rax
nop
mov qword [rdi + 0x10], 0
mov rbx, qword [rdi + 8]
test rbx, rbx
je 0x14001a268
mov ecx, dword [0x14002952c]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14001a258
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x14001a258
xor ecx, ecx
xor eax, eax
cmp qword [rdx + rax*8], 0
je 0x14001a273
inc ecx
inc rax
cmp rax, 2
jl 0x14001a246
mov rcx, rbx
call fcn.14001ca7c
mov qword [rdi + 8], 0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
movzx eax, byte [rbx + 0x48]
mov byte [rbx], al
movsxd rax, ecx
mov qword [rdx + rax*8], rbx
mov qword [rdi + 8], 0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x14001a680
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x160
mov rax, qword [0x140028040]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov qword [rsp + 0x28], rcx
mov ebx, edx
movsd xmm0, qword [str._unknown_]
mov rdi, rcx
movzx eax, word [0x140020a50]
lea rcx, [rsp + 0x4a]
xor edx, edx
movsd qword [rsp + 0x40], xmm0
mov r8d, 0xfa
mov word [rsp + 0x48], ax
call fcn.14001d8ea
mov r8d, ebx
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x14001a723
lea r9, [rsp + 0x30]
mov r8d, 8
lea rdx, [rsp + 0x28]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_K32EnumProcessModules]
test eax, eax
je 0x14001a723
mov rdx, qword [rsp + 0x28]
lea r8, [rsp + 0x40]
mov r9d, 0x104
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_K32GetModuleFileNameExA]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xorps xmm0, xmm0
lea rax, [rsp + 0x40]
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], 0
mov r8, 0xffffffffffffffff
mov qword [rdi + 0x18], 0
nop
inc r8
cmp byte [rax + r8], 0
jne 0x14001a750
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.1400047c0
mov rax, rdi
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.14001ca20
mov rbx, qword [rsp + 0x180]
add rsp, 0x160
pop rdi
ret
Function at 0x14001a790
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x190
mov rax, qword [0x140028040]
xor rax, rsp
mov qword [rsp + 0x180], rax
mov rbx, rcx
mov qword [rsp + 0x40], rcx
mov dword [rsp + 0x50], 0x130
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov r15, rax
lea rdx, [rsp + 0x50]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32First]
xor r12d, r12d
cmp eax, 1
jne 0x14001a8e2
lea rdx, [rsp + 0x50]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_Process32Next]
cmp eax, 1
jne 0x14001a8e2
nop word [rax + rax]
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x38], r12
lea rax, [rsp + 0x7c]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rax + r8], r12b
jne 0x14001a830
lea rdx, [rsp + 0x7c]
lea rcx, [rsp + 0x20]
call fcn.1400047c0
mov rdx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x14001a855
mov rdx, qword [rbx]
lea rcx, [rsp + 0x20]
mov rbp, qword [rsp + 0x38]
cmp rbp, 0xf
seta r14b
mov rdi, qword [rsp + 0x20]
cmova rcx, rdi
mov r8, qword [rsp + 0x30]
cmp r8, qword [rbx + 0x10]
jne 0x14001a889
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x14001a889
mov sil, 1
jmp 0x14001a88c
xor sil, sil
test r14b, r14b
je 0x14001a8c2
lea rdx, [rbp + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x14001a8ba
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001a963
mov rcx, rdi
call fcn.14001ca84
mov rcx, r15
test sil, sil
jne 0x14001a96a
lea rdx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_Process32Next]
cmp eax, 1
je 0x14001a810
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x14001a926
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x14001a921
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14001a9b1
mov rcx, r8
call fcn.14001ca84
xor eax, eax
mov byte [rbx], 0
mov qword [rbx + 0x18], select
mov qword [rbx + 0x10], r12
mov rcx, qword [rsp + 0x180]
xor rcx, rsp
call fcn.14001ca20
lea r11, [rsp + 0x190]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [rsp + 0x58]
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x14001a9aa
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x14001a9a5
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14001a9b1
mov rcx, r8
call fcn.14001ca84
mov eax, edi
jmp 0x14001a928
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x14001a9c0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rdi
sub rsp, 0x858
mov rax, qword [0x140028040]
xor rax, rsp
mov qword [rsp + 0x840], rax
mov rdi, r9
lea rax, [rsp + 0x30]
mov rbx, r8
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x14001aa20
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcerr]
lea rdx, str.Error_opening_registry_key._n
call fcn.14001ab00
xor al, al
jmp 0x14001aae2
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
xor r9d, r9d
lea rax, [rsp + 0x40]
mov dword [rsp + 0x38], 0x800
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rdx, rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x30]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
je 0x14001aa78
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcerr]
lea rdx, str.Error_reading_from_registry._n
call fcn.14001ab00
xor al, al
jmp 0x14001aae2
lea rax, [rsp + 0x40]
mov rdx, 0xffffffffffffffff
inc rdx
cmp word [rax + rdx*2], 0
jne 0x14001aa84
mov rax, qword [rdi + 0x18]
cmp rdx, rax
ja 0x14001aad3
mov qword [rsp + 0x850], rsi
mov rsi, rdi
cmp rax, 7
jbe 0x14001aaab
mov rsi, qword [rdi]
lea rbx, [rdx + rdx]
mov qword [rdi + 0x10], rdx
mov r8, rbx
lea rdx, [rsp + 0x40]
mov rcx, rsi
call sub.VCRUNTIME140.dll_memmove
xor eax, eax
mov word [rbx + rsi], ax
mov rsi, qword [rsp + 0x850]
jmp 0x14001aae0
lea r9, [rsp + 0x40]
mov rcx, rdi
call fcn.14001ace0
mov al, 1
mov rcx, qword [rsp + 0x840]
xor rcx, rsp
call fcn.14001ca20
add rsp, 0x858
pop rdi
pop rbx
ret
Function at 0x14001c970
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x14001c9aa
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x14001c9af
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x14001c9f8
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x14001f920]
cmp byte [rcx + rax], 0
je 0x14001c9f8
dec r8
sub rdx, 1
jne 0x14001c9de
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x14001d674
Capabilities:
Parse pe header

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

Disassembly:
cmp rcx, qword [0x0040d058]
jne 0x40102a
rol rcx, 0x10
test cx, 0xffff
jne 0x401026
repz ret
ror rcx, 0x10
jmp 0x401430
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x0040e220]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x0040e318]
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 0x4014b5
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, [0x0040e220]
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 0x4014d7
mov rax, qword [rsp + 0x88]
mov qword [0x0040e318], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x0040e2b8], rax
mov rax, qword [0x0040e318]
mov qword [0x0040e190], rax
mov rax, qword [rsp + 0x90]
mov qword [0x0040e2a0], rax
mov dword [0x0040e180], 0xc0000409
mov dword [0x0040e184], 1
mov rax, qword [0x0040d058]
mov qword [rsp + 0x68], rax
mov rax, qword [0x0040d060]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x0040e218], eax
mov ecx, 1
call fcn.00403820
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x004092c8]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x0040e218], 0
jne 0x40155e
mov ecx, 1
call fcn.00403820
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 0x404800
Capabilities:
Link many functions at runtime

Disassembly:
mov rax, rsp
sub rsp, 0x68
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov qword [rax - 8], r12
mov qword [rax - 0x10], r13
mov r13, rcx
mov edi, r8d
mov r12, rdx
call fcn.00403190
xor ebx, ebx
cmp qword [0x0040ee50], rbx
mov rsi, rax
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x34], ebx
jne 0x404931
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
test rax, rax
mov rbp, rax
jne 0x404863
xor eax, eax
jmp 0x404a11
lea rdx, str.MessageBoxA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x40485c
mov rcx, rax
call fcn.00403120
lea rdx, str.GetActiveWindow
mov rcx, rbp
mov qword [0x0040ee50], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.00403120
lea rdx, str.GetLastActivePopup
mov rcx, rbp
mov qword [0x0040ee58], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.00403120
lea rcx, [rsp + 0x30]
mov qword [0x0040ee60], rax
call fcn.00401bd0
test eax, eax
je 0x4048e7
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rbx
call fcn.00404030
cmp dword [rsp + 0x30], 2
jne 0x404931
lea rdx, str.GetUserObjectInformationA
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.00403120
test rax, rax
mov qword [0x0040ee70], rax
je 0x404931
lea rdx, str.GetProcessWindowStation
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.00403120
mov qword [0x0040ee68], rax
mov rcx, qword [0x0040ee68]
cmp rcx, rsi
je 0x4049c3
cmp qword [0x0040ee70], rsi
je 0x4049c3
call fcn.004031f0
call rax
test rax, rax
mov rbp, rax
je 0x40498e
mov rcx, qword [0x0040ee70]
call fcn.004031f0
lea rcx, [rsp + 0x38]
mov r9d, 0xc
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
lea r8, [rsp + 0x40]
mov rcx, rbp
call rax
test eax, eax
je 0x40498e
test byte [rsp + 0x48], 1
jne 0x4049c3
lea rcx, [rsp + 0x34]
call fcn.00401c20
test eax, eax
je 0x4049b0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rbx
call fcn.00404030
cmp dword [rsp + 0x34], 4
jb 0x4049bd
bts edi, 0x15
jmp 0x4049f7
bts edi, 0x12
jmp 0x4049f7
mov rcx, qword [0x0040ee58]
cmp rcx, rsi
je 0x4049f7
call fcn.004031f0
call rax
test rax, rax
mov rbx, rax
je 0x4049f7
mov rcx, qword [0x0040ee60]
cmp rcx, rsi
je 0x4049f7
call fcn.004031f0
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x0040ee50]
call fcn.004031f0
mov r9d, edi
mov r8, r12
mov rdx, r13
mov rcx, rbx
call rax
mov r13, qword [rsp + 0x58]
mov r12, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x88]
mov rsi, qword [rsp + 0x80]
mov rbp, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x70]
add rsp, 0x68
ret
Function at 0x140001180
Capabilities:
Get storage device properties

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x4a0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x490], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
xor edi, edi
mov qword [rsp + 0x68], rdi
mov qword [rsp + 0x70], 0xf
lea ecx, [rdi + 0x20]
call fcn.140001660
mov rcx, rax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x68], 0x12
mov qword [rsp + 0x70], 0x1f
movups xmm0, xmmword [str..PhysicalDrive0]
movups xmmword [rax], xmm0
movzx eax, word [0x1400033d0]
mov word [rcx + 0x10], ax
mov byte [rcx + 0x12], dil
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0xc0000000
lea r8d, [rdi + 3]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rbx, rax
mov dword [rsp + 0x40], edi
xor edx, edx
mov r8d, 0x400
lea rcx, [rsp + 0x90]
call sub.VCRUNTIME140.dll_memset
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x38], rdi
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x400
lea rax, [rsp + 0x90]
mov qword [rsp + 0x20], rax
lea r9d, [rdi + 0xc]
lea r8, [rsp + 0x48]
mov edx, 0x2d1400
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x78], xmm0
mov dword [rsp + 0x88], eax
mov eax, dword [rsp + 0xa8]
lea r8, [rsp + 0x90]
add r8, rax
lea edx, [rdi + 0x14]
lea rcx, [rsp + 0x78]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
lea rdx, str.Serial_Number:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400013b0
mov rcx, rax
lea rdx, [rsp + 0x78]
call fcn.1400013b0
mov rcx, rax
lea rdx, [0x140001580]
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, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, 0x2b67
call qword [sym.imp.KERNEL32.dll_Sleep]
nop
mov rdx, qword [rsp + 0x70]
cmp rdx, 0xf
jbe 0x140001327
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001322
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001322
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000169c
xor eax, eax
mov rcx, qword [rsp + 0x490]
xor rcx, rsp
call fcn.140001640
mov rbx, qword [rsp + 0x4b0]
add rsp, 0x4a0
pop rdi
ret

Function at 0x140001fe0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000202a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000202a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000202a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000202a
cmp dword [rcx + 0x84], 0xe
jbe 0x14000202a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14000202c
xor al, al
add rsp, 0x28
ret
Function at 0x140001350
Capabilities:
Encode data using xor
Encrypt data using rc4 ksa

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x78
mov dword [rsp + 0x64], 0x727a3f6
mov byte [rsp + 0x43], 0xae
mov ax, word [rsp + 0x62]
mov word [rsp + 0x62], ax
cmp r9d, 0
mov qword [rsp + 0x28], rdx
mov dword [rsp + 0x24], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rcx
mov word [rsp + 0xe], ax
jne 0x1400013a6
mov eax, 0x727a3f6
mov ecx, dword [rsp + 0x24]
mov edx, ecx
mov r8d, edx
mov qword [rsp + 0x50], r8
mov word [rsp + 0x62], 0xc491
mov qword [rsp + 0x58], 0
sub eax, dword [rsp + 0x64]
mov dword [rsp + 0x44], 0
mov r9b, byte [rsp + 0x6b]
mov byte [rsp + 0x6b], r9b
mov dword [rsp + 0x3c], eax
jmp 0x1400014cd
Function at 0x401010
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [0x0040c4a0]
xor ecx, ecx
mov dword [rax], 1
mov rax, qword [0x0040c4b0]
mov dword [rax], 1
mov rax, qword [0x0040c4c0]
mov dword [rax], 1
mov rax, qword [0x0040c440]
cmp word [rax], 0x5a4d
jne 0x40105a
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x4010c0
mov rax, qword [0x0040c490]
mov dword [0x0040f020], ecx
mov eax, dword [rax]
test eax, eax
je 0x4010b0
mov ecx, 2
call sym.__set_app_type
call sym.__p__fmode
mov rdx, qword [0x0040c570]
mov edx, dword [rdx]
mov dword [rax], edx
call sym.__p__commode
mov rdx, qword [0x0040c550]
mov edx, dword [rdx]
mov dword [rax], edx
call sym._setargv
mov rax, qword [0x0040c3f0]
cmp dword [rax], 1
je 0x4010f8
xor eax, eax
add rsp, 0x28
ret
mov ecx, 1
call sym.__set_app_type
jmp 0x401077
movzx edx, word [rax + 0x18]
cmp dx, 0x10b
je 0x401110
cmp dx, 0x20b
jne 0x40105a
cmp dword [rax + 0x84], 0xe
jbe 0x40105a
mov edx, dword [rax + 0xf8]
xor ecx, ecx
test edx, edx
setne cl
jmp 0x40105a
mov rcx, qword [sym._matherr]
call sym.__mingw_setusermatherr
xor eax, eax
add rsp, 0x28
ret
cmp dword [rax + 0x74], 0xe
jbe 0x40105a
mov r8d, dword [rax + 0xe8]
xor ecx, ecx
test r8d, r8d
setne cl
jmp 0x40105a
Function at 0x401819
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
push rbp
push rdi
mov eax, 0x1058
call fcn.00403d10
sub rsp, rax
lea rbp, [rsp + 0x80]
lea rdx, [rbp - 0x50]
mov eax, 0
mov ecx, 0x200
mov rdi, rdx
rep stosq qword [rdi], rax
mov dword [rsp + 0x20], 0
mov r9d, 0
mov r8d, 0
mov edx, 1
lea rax, str.User_Agent
mov rcx, rax
mov rax, qword [sym.imp.WININET.dll_InternetOpenA]
call rax
mov qword [rbp + 0xfc8], rax
cmp qword [rbp + 0xfc8], 0
jne 0x40188b
mov eax, 0
jmp 0x401962
mov rax, qword [rbp + 0xfc8]
mov qword [rsp + 0x28], 1
mov dword [rsp + 0x20], 0x80000000
mov r9d, 0
mov r8d, 0
lea rdx, str.https:__srantheman.000webhostapp.com_ip
mov rcx, rax
mov rax, qword [sym.imp.WININET.dll_InternetOpenUrlA]
call rax
mov qword [rbp + 0xfc0], rax
cmp qword [rbp + 0xfc0], 0
jne 0x4018ed
mov rax, qword [rbp + 0xfc8]
mov rcx, rax
mov rax, qword [sym.imp.WININET.dll_InternetCloseHandle]
call rax
mov eax, 0
jmp 0x401962
lea rcx, [rbp + 0xfbc]
lea rdx, [rbp - 0x50]
mov rax, qword [rbp + 0xfc0]
mov r9, rcx
mov r8d, 0xfff
mov rcx, rax
mov rax, qword [sym.imp.WININET.dll_InternetReadFile]
call rax
mov eax, dword [rbp + 0xfbc]
mov eax, eax
mov byte [rbp + rax - 0x50], 0
lea rax, [rbp - 0x50]
mov rdx, rax
lea rax, [0x0040f040]
mov rcx, rax
call sym.strcpy
mov rax, qword [rbp + 0xfc0]
mov rcx, rax
mov rax, qword [sym.imp.WININET.dll_InternetCloseHandle]
call rax
mov rax, qword [rbp + 0xfc8]
mov rcx, rax
mov rax, qword [sym.imp.WININET.dll_InternetCloseHandle]
call rax
mov eax, 0
add rsp, 0x1058
pop rdi
pop rbp
ret
Function at 0x401bb9
Capabilities:
Get socket status
Receive data
Receive data on socket

Disassembly:
push rbp
sub rsp, 0x270
lea rbp, [rsp + 0x80]
mov dword [rbp + 0x200], ecx
mov qword [rbp + 0x208], rdx
mov dword [rbp + 0x210], r8d
mov eax, dword [rbp + 0x210]
movsxd rdx, eax
mov rax, qword [rbp + 0x208]
mov r8, rdx
mov edx, 0
mov rcx, rax
call sym.memset
mov dword [rbp - 0x48], 0x1e
mov dword [rbp - 0x44], 0
mov dword [rbp - 0x40], 0
mov dword [rbp + 0x1ec], 0
jmp 0x401c3d
mov eax, dword [rbp + 0x1ec]
mov rdx, qword [rbp + rax*8 - 0x38]
mov eax, dword [rbp + 0x200]
cdqe
cmp rdx, rax
je 0x401c48
add dword [rbp + 0x1ec], 1
mov eax, dword [rbp - 0x40]
cmp dword [rbp + 0x1ec], eax
jb 0x401c1e
mov eax, dword [rbp - 0x40]
cmp dword [rbp + 0x1ec], eax
jne 0x401c78
mov eax, dword [rbp - 0x40]
cmp eax, 0x3f
ja 0x401c78
mov eax, dword [rbp + 0x200]
movsxd rdx, eax
mov eax, dword [rbp + 0x1ec]
mov qword [rbp + rax*8 - 0x38], rdx
mov eax, dword [rbp - 0x40]
add eax, 1
mov dword [rbp - 0x40], eax
mov eax, dword [rbp + 0x200]
lea ecx, [rax + 1]
lea r8, [rbp - 0x40]
lea rax, [rbp - 0x40]
lea rdx, [rbp - 0x48]
mov qword [rsp + 0x20], rdx
mov r9, r8
mov r8d, 0
mov rdx, rax
mov rax, qword [sym.imp.WS2_32.dll_select]
call rax
mov dword [rbp + 0x1d0], eax
cmp dword [rbp + 0x1d0], 0
jg 0x401d90
jmp 0x401d80
mov dword [rbp - 0x48], 0x1e
mov dword [rbp - 0x44], 0
mov dword [rbp - 0x40], 0
mov dword [rbp + 0x1e4], 0
jmp 0x401cff
mov eax, dword [rbp + 0x1e4]
mov rdx, qword [rbp + rax*8 - 0x38]
mov eax, dword [rbp + 0x200]
cdqe
cmp rdx, rax
je 0x401d0a
add dword [rbp + 0x1e4], 1
mov eax, dword [rbp - 0x40]
cmp dword [rbp + 0x1e4], eax
jb 0x401ce0
mov eax, dword [rbp - 0x40]
cmp dword [rbp + 0x1e4], eax
jne 0x401d3a
mov eax, dword [rbp - 0x40]
cmp eax, 0x3f
ja 0x401d3a
mov eax, dword [rbp + 0x200]
movsxd rdx, eax
mov eax, dword [rbp + 0x1e4]
mov qword [rbp + rax*8 - 0x38], rdx
mov eax, dword [rbp - 0x40]
add eax, 1
mov dword [rbp - 0x40], eax
mov eax, dword [rbp + 0x200]
lea ecx, [rax + 1]
lea r8, [rbp - 0x40]
lea rax, [rbp - 0x40]
lea rdx, [rbp - 0x48]
mov qword [rsp + 0x20], rdx
mov r9, r8
mov r8d, 0
mov rdx, rax
mov rax, qword [sym.imp.WS2_32.dll_select]
call rax
mov dword [rbp + 0x1d0], eax
cmp dword [rbp + 0x1d0], 0
jg 0x401d8f
add dword [rbp + 0x1e8], 1
nop
cmp dword [rbp + 0x1e8], 9
jle 0x401cbf
jmp 0x401d90
nop
mov dword [rbp + 0x1d4], 0
mov rax, qword [rbp + 0x208]
mov qword [rbp + 0x1d8], rax
jmp 0x401e0b
mov eax, dword [0x00410040]
cdqe
lea rdx, [rbp - 0x49]
mov r9d, 0
mov r8d, 1
mov rcx, rax
mov rax, qword [sym.imp.WS2_32.dll_recv]
call rax
cmp eax, 1
je 0x401de4
mov rax, qword [rbp + 0x1d8]
mov byte [rax], 0
mov eax, 0xffffffff
jmp 0x401e32
mov rax, qword [rbp + 0x1d8]
lea rdx, [rax + 1]
mov qword [rbp + 0x1d8], rdx
movzx edx, byte [rbp - 0x49]
mov byte [rax], dl
movzx eax, byte [rbp - 0x49]
cmp al, 0xa
je 0x401e21
add dword [rbp + 0x1d4], 1
mov eax, dword [rbp + 0x210]
lea edx, [rax - 1]
mov dword [rbp + 0x210], edx
cmp eax, 1
jg 0x401daa
jmp 0x401e22
nop
mov rax, qword [rbp + 0x1d8]
mov byte [rax], 0
mov eax, dword [rbp + 0x1d4]
add rsp, 0x270
pop rbp
ret