joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180014c00
Capabilities:
Hash data with crc32

Disassembly:
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10d, 0xffffffff
mov eax, r10d
test r9b, r9b
je 0x180014c50
lea r11, [0x18004f2b0]
nop dword [rax]
cmp r9b, 0x23
jne 0x180014c33
cmp byte [r8], r9b
jne 0x180014c33
cmp byte [r8 + 1], r9b
cmove eax, r10d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [r11 + rdx*4]
test r9b, r9b
jne 0x180014c20
mov rcx, qword [0x1800ada40]
not eax
movsxd rdx, dword [rcx + 0x3e80]
mov r9, qword [rcx + 0x3e88]
mov r10, rdx
shl r10, 4
add r10, r9
test rdx, rdx
je 0x180014cb1
nop word [rax + rax]
mov r8, rdx
shr r8, 1
mov rcx, r8
add rcx, rcx
cmp dword [r9 + rcx*8], eax
jae 0x180014ca9
lea r9, [r9 + rcx*8]
mov rcx, 0xffffffffffffffff
sub rcx, r8
add r9, 0x10
add rdx, rcx
jmp 0x180014cac
mov rdx, r8
test rdx, rdx
jne 0x180014c80
cmp r9, r10
je 0x180014cc0
cmp dword [r9], eax
jne 0x180014cc0
mov rax, qword [r9 + 8]
ret
xor eax, eax
ret

Function at 0x180021450
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x5c10], 0
lea rbx, [rcx + 0x5c18]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x1800214f7
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x1800214aa
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.180023d40
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.18000ccd0
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5c10]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x5c20]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x1800ada02]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x1800214ff
mov rcx, rbx
call fcn.18000ccd0
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x180021980
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x1800ada40]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x1800219e3
mov qword [rsp], rbx
lea rbx, [0x18004f2b0]
nop dword [rax]
cmp r9b, 0x23
jne 0x1800219c3
cmp byte [r8], r9b
jne 0x1800219c3
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [rbx + rdx*4]
test r9b, r9b
jne 0x1800219b0
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5b88]
xor r8d, r8d
not eax
test ecx, ecx
jle 0x180021a17
mov r10, qword [r10 + 0x5b90]
mov r9, rcx
mov edx, r8d
lea rcx, [r10 + 8]
cmp dword [rcx], eax
je 0x180021a1e
inc r8d
inc rdx
add rcx, 0x48
cmp rdx, r9
jl 0x180021a04
xor eax, eax
add rsp, 8
ret
movsxd rax, r8d
lea rcx, [rax + rax*8]
lea rax, [r10 + rcx*8]
add rsp, 8
ret
Function at 0x180045dc0
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
push r14
push r15
sub rsp, 0x98
mov rax, qword [0x180060040]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rdi, rcx
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov r14, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x60]
cmp rdi, 0x40000000
jbe 0x180045e0f
lea rax, [rdi - 0x40000000]
cmp r14, rax
cmovb r14, rax
mov rsi, qword [0x1800b0a30]
lea r15, [rdi + 0x40000000]
cmp rcx, r15
cmovbe r15, rcx
sub r15, 0xfff
test rsi, rsi
je 0x180045e4d
cmp rsi, r14
jb 0x180045e45
cmp rsi, r15
jae 0x180045e45
cmp qword [rsi + 8], 0
jne 0x180046017
mov rsi, qword [rsi]
test rsi, rsi
jne 0x180045e30
mov qword [rsp + 0xc8], rbx
mov rbx, rdi
mov qword [rsp + 0xd0], rbp
mov qword [rsp + 0x90], r12
mov r12d, 0x40
cmp rdi, r14
jb 0x180045ee2
nop dword [rax]
nop word [rax + rax]
mov ebp, dword [rsp + 0x78]
mov rax, rbx
xor edx, edx
div rbp
sub rbx, rdx
sub rbx, rbp
cmp rbx, r14
jb 0x180045ed9
nop word [rax + rax]
mov r8d, 0x30
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x180045ed9
cmp dword [rsp + 0x40], 0x10000
je 0x180045f5b
mov rbx, qword [rsp + 0x28]
cmp rbx, rbp
jb 0x180045ed9
sub rbx, rbp
cmp rbx, r14
jae 0x180045ea0
test rsi, rsi
jne 0x180045fc0
cmp rdi, r15
ja 0x180045fff
nop dword [rax + rax]
mov ebp, dword [rsp + 0x78]
xor edx, edx
mov rax, rdi
mov ebx, ebp
div rbp
mov eax, ebp
sub rax, rdx
add rax, rdi
mov rdi, rax
cmp rax, r15
ja 0x180045fff
mov r8d, 0x30
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x180045fff
cmp dword [rsp + 0x40], 0x10000
je 0x180045f91
xor edx, edx
lea edi, [rbp - 1]
add rdi, qword [rsp + 0x38]
add rdi, qword [rsp + 0x20]
mov rax, rdi
div rbx
sub rdi, rdx
cmp rdi, r15
jbe 0x180045f12
jmp 0x180045fff
test rbx, rbx
je 0x180045ed9
mov r9d, r12d
mov edx, 0x1000
mov r8d, 0x3000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rsi, rax
test rax, rax
jne 0x180045fc0
cmp rbx, r14
jae 0x180045e80
jmp 0x180045ee2
test rdi, rdi
je 0x180045fff
mov r9d, r12d
mov edx, 0x1000
mov r8d, 0x3000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rsi, rax
test rax, rax
jne 0x180045fc0
cmp rdi, r15
jbe 0x180045ef0
jmp 0x180045fff
xor edx, edx
lea rcx, [rsi + 0x40]
mov dword [rsi + 0x10], edx
nop dword [rax]
mov qword [rcx], rdx
mov rax, rcx
mov qword [rsi + 8], rcx
add r12, 0x40
add rcx, 0x40
mov rdx, rax
cmp r12, 0xfc0
jbe 0x180045fd0
mov rax, qword [0x1800b0a30]
mov qword [rsi], rax
mov qword [0x1800b0a30], rsi
mov r12, qword [rsp + 0x90]
mov rbp, qword [rsp + 0xd0]
mov rbx, qword [rsp + 0xc8]
mov rax, rsi
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.18004b100
add rsp, 0x98
pop r15
pop r14
pop rdi
pop rsi
ret
Function at 0x1800469b0
Capabilities:
Enumerate threads
Suspend thread

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x50
mov rax, qword [0x180060040]
xor rax, rsp
mov qword [rsp + 0x40], rax
xor esi, esi
mov r14d, edx
mov qword [rcx], rsi
mov rbx, rcx
mov qword [rcx + 8], rsi
xor edx, edx
mov ecx, 4
mov ebp, r8d
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x180046adb
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x1c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x180046ad2
nop dword [rax + rax]
cmp dword [rsp + 0x20], 0x10
jb 0x180046ab4
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [rsp + 0x2c], eax
jne 0x180046ab4
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rsp + 0x28], eax
je 0x180046ab4
mov rdx, qword [rbx]
test rdx, rdx
jne 0x180046a72
mov rcx, qword [0x1800ada50]
mov r8d, 0x200
mov dword [rbx + 8], 0x80
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rbx], rax
mov rdx, rax
test rax, rax
je 0x180046ad2
jmp 0x180046aa7
mov eax, dword [rbx + 8]
cmp dword [rbx + 0xc], eax
jb 0x180046aa7
mov rcx, qword [0x1800ada50]
lea r9d, [rax + rax]
mov r8, rdx
shl r9, 2
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov rdx, rax
test rax, rax
je 0x180046ad2
mov eax, dword [rbx + 8]
add eax, eax
mov qword [rbx], rdx
mov dword [rbx + 8], eax
mov ecx, dword [rbx + 0xc]
mov eax, dword [rsp + 0x28]
mov dword [rdx + rcx*4], eax
inc dword [rbx + 0xc]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x1c
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x180046a20
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rbx], rsi
je 0x180046b35
cmp dword [rbx + 0xc], esi
jbe 0x180046b35
nop word [rax + rax]
mov r8, qword [rbx]
xor edx, edx
mov eax, esi
mov ecx, 0x5a
mov r8d, dword [r8 + rax*4]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rdi, rax
test rax, rax
je 0x180046b2e
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov r8d, ebp
mov edx, r14d
mov rcx, rdi
call fcn.180046800
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, dword [rbx + 0xc]
jb 0x180046af0
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.18004b100
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x180046b60
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
mov rax, qword [0x180060040]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov eax, ecx
lea r9, [rsp + 0x20]
imul rbx, rax, 0x38
mov esi, edx
add rbx, qword [0x1800b0a20]
mov r8, qword [rbx]
movzx eax, byte [rbx + 0x20]
and al, 1
movzx ecx, al
lea rdi, [r8 - 5]
cmove rdi, r8
mov r8d, 0x40
lea rbp, [rcx*2 + 5]
mov rcx, rdi
mov rdx, rbp
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x180046bd3
mov eax, 0xa
jmp 0x180046c66
test esi, esi
je 0x180046bf5
mov byte [rdi], 0xe9
mov eax, dword [rbx + 8]
sub eax, edi
sub eax, 5
mov dword [rdi + 1], eax
test byte [rbx + 0x20], 1
je 0x180046c18
mov rax, qword [rbx]
mov word [rax], 0xf9eb
jmp 0x180046c18
mov eax, dword [rbx + 0x18]
test byte [rbx + 0x20], 1
mov dword [rdi], eax
je 0x180046c11
movzx eax, word [rbx + 0x1c]
mov word [rdi + 4], ax
movzx eax, byte [rbx + 0x1e]
mov byte [rdi + 6], al
jmp 0x180046c18
movzx eax, byte [rbx + 0x1c]
mov byte [rdi + 4], al
mov r8d, dword [rsp + 0x20]
lea r9, [rsp + 0x20]
mov rdx, rbp
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8, rbp
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
movzx ecx, sil
shl sil, 2
add cl, cl
xor cl, byte [rbx + 0x20]
and cl, 2
xor cl, byte [rbx + 0x20]
xor sil, cl
and sil, 4
xor sil, cl
mov byte [rbx + 0x20], sil
xor eax, eax
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.18004b100
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x180046c90
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
xor edi, edi
mov esi, ecx
mov ecx, dword [0x1800b0a2c]
mov ebx, edi
test ecx, ecx
je 0x180046dcd
mov rax, qword [0x1800b0a20]
add rax, 0x20
nop
movzx edx, byte [rax]
shr edx, 1
and edx, 1
cmp edx, esi
jne 0x180046ce8
inc ebx
add rax, 0x38
cmp ebx, ecx
jb 0x180046cc0
mov eax, edi
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
cmp ebx, 0xffffffff
je 0x180046dcd
mov r8d, edi
lea rcx, [rsp + 0x20]
test esi, esi
mov edx, 0xffffffff
setne r8b
call fcn.1800469b0
mov r8d, dword [0x1800b0a2c]
cmp ebx, r8d
jae 0x180046d58
nop word [rax + rax]
mov eax, ebx
imul rcx, rax, 0x38
mov rax, qword [0x1800b0a20]
movzx edx, byte [rcx + rax + 0x20]
shr edx, 1
and edx, 1
cmp edx, esi
je 0x180046d51
mov edx, esi
mov ecx, ebx
call fcn.180046b60
mov edi, eax
test eax, eax
jne 0x180046d58
mov r8d, dword [0x1800b0a2c]
inc ebx
cmp ebx, r8d
jb 0x180046d20
cmp qword [rsp + 0x20], 0
je 0x180046dcd
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x180046db9
mov rbx, qword [rsp + 0x20]
mov qword [rsp + 0x40], rbp
mov ebp, eax
nop dword [rax]
nop dword [rax + rax]
mov r8d, dword [rbx]
xor edx, edx
mov ecx, 0x5a
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x180046daa
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rbx, 4
sub rbp, 1
jne 0x180046d80
mov rbp, qword [rsp + 0x40]
mov r8, qword [rsp + 0x20]
xor edx, edx
mov rcx, qword [0x1800ada50]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rsp + 0x48]
mov eax, edi
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x1800471b0
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r15
sub rsp, 0x30
xor r15d, r15d
mov esi, edx
mov ebx, r15d
xor eax, eax
mov rdi, rcx
mov ebp, 1
lock cmpxchg dword [0x1800ada4c], ebp
je 0x180047207
cmp rbx, 0x20
jae 0x1800471f0
xor ecx, ecx
jmp 0x1800471f2
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_Sleep]
inc rbx
xor eax, eax
lock cmpxchg dword [0x1800ada4c], ebp
jne 0x1800471e6
cmp qword [0x1800ada50], r15
je 0x180047303
test rdi, rdi
jne 0x180047227
mov ecx, esi
call fcn.180046c90
mov ebp, eax
jmp 0x180047308
mov ecx, dword [0x1800b0a2c]
mov ebx, r15d
test ecx, ecx
je 0x18004724f
mov r8, qword [0x1800b0a20]
mov rax, r8
nop
cmp rdi, qword [rax]
je 0x180047259
inc ebx
add rax, 0x38
cmp ebx, ecx
jb 0x180047240
mov ebp, 4
jmp 0x180047308
cmp ebx, 0xffffffff
je 0x18004724f
mov eax, ebx
imul rdx, rax, 0x38
movzx eax, byte [rdx + r8 + 0x20]
shr eax, 1
and eax, ebp
cmp eax, esi
je 0x1800472fa
mov r8d, ebp
lea rcx, [rsp + 0x20]
mov edx, ebx
call fcn.1800469b0
mov edx, esi
mov ecx, ebx
call fcn.180046b60
mov ebp, eax
cmp qword [rsp + 0x20], r15
je 0x180047308
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x1800472e4
mov rbx, qword [rsp + 0x20]
mov esi, eax
nop word [rax + rax]
mov r8d, dword [rbx]
xor edx, edx
mov ecx, 0x5a
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rdi, rax
test rax, rax
je 0x1800472da
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rbx, 4
sub rsi, 1
jne 0x1800472b0
mov r8, qword [rsp + 0x20]
xor edx, edx
mov rcx, qword [0x1800ada50]
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x180047308
neg esi
sbb ebp, ebp
add ebp, 6
jmp 0x180047308
mov ebp, 2
xchg dword [0x1800ada4c], r15d
mov rbx, qword [rsp + 0x40]
mov eax, ebp
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r15
ret
Function at 0x140007570
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x270
mov rax, qword [0x140056080]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rbx, rcx
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x14000764e
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x238
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140007645
nop word [rax + rax]
lea rcx, [rsp + 0x4c]
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x1400075e0
cmp qword [rbx + 0x18], 7
mov r8, rbx
mov rdx, qword [rbx + 0x10]
jbe 0x1400075fb
mov r8, qword [rbx]
cmp rdx, rax
jne 0x140007633
test rdx, rdx
je 0x140007626
lea rcx, [rsp + 0x4c]
sub r8, rcx
lea rax, [rsp + 0x4c]
movzx ecx, word [rax]
cmp word [r8 + rax], cx
jne 0x140007633
add rax, 2
sub rdx, 1
jne 0x140007612
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x140007650
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x1400075d0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.14001e070
mov rbx, qword [rsp + 0x280]
add rsp, 0x270
pop rdi
ret
Function at 0x140008890
Capabilities:
Capture public ip
Create http request
Read data from internet
Receive data

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x170
mov rax, qword [0x140056080]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov rbx, rcx
mov qword [rsp + 0x30], rcx
xor r14d, r14d
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
mov edx, 1
lea rcx, str.IPFetcher
call qword [sym.imp.WININET.dll_InternetOpenW]
mov rsi, rax
xor r8d, r8d
test rax, rax
jne 0x140008912
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], r14
lea rdx, [0x1400493bd]
mov rcx, rbx
call fcn.140006f50
mov rax, rbx
jmp 0x140008a1a
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], 0x800000
xor r9d, r9d
lea rdx, str.https:__api.ipify.org_formattext
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov rdi, rax
test rax, rax
jne 0x14000896b
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], r14
xor r8d, r8d
lea rdx, [0x1400493bd]
mov rcx, rbx
call fcn.140006f50
mov rax, rbx
jmp 0x140008a1a
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
movdqa xmm1, xmmword [0x14004dbb0]
movdqu xmmword [rsp + 0x50], xmm1
mov byte [rsp + 0x40], 0
nop word [rax + rax]
lea r9, [rsp + 0x3c]
mov r8d, 0xff
lea rdx, [rsp + 0x60]
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x1400089ed
mov eax, dword [rsp + 0x3c]
test eax, eax
je 0x1400089ed
cmp rax, 0x100
jae 0x140008a44
mov byte [rsp + rax + 0x60], 0
lea rax, [rsp + 0x60]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x1400089d2
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x40]
call fcn.1400178e0
jmp 0x140008990
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rsp + 0x50]
movups xmmword [rbx + 0x10], xmm1
mov rax, rbx
jmp 0x140008a1a
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.14001e070
lea r11, [rsp + 0x170]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
call fcn.14001e1a0
int3
Function at 0x140009a10
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x90
mov rax, qword [0x140056080]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov rdi, rcx
xor ebp, ebp
mov rbx, qword [0x140058f00]
mov rsi, qword [0x140058f08]
cmp rbx, rsi
je 0x140009bae
movabs r14, 0x7ffffffffffffffe
lea r15, [0x14004b584]
nop word [rax + rax]
mov rcx, qword [rdi + 0x10]
mov rax, r14
sub rax, rcx
cmp rax, 1
jb 0x140009c20
mov r9, rdi
cmp qword [rdi + 0x18], 7
jbe 0x140009a91
mov r9, qword [rdi]
mov qword [rsp + 0x30], 1
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x48]
call fcn.14001b110
nop
mov rdx, rbx
cmp qword [rbx + 0x18], 7
jbe 0x140009abc
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
lea rcx, [rsp + 0x48]
call fcn.1400163f0
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x78], rbp
mov qword [rsp + 0x80], rbp
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x68], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x78], xmm1
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], 7
mov word [rax], bp
mov rdx, qword [rsp + 0x60]
cmp rdx, 7
jbe 0x140009b41
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140009b3c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140009c26
call fcn.14001e090
lea rcx, [rsp + 0x68]
cmp qword [rsp + 0x80], 7
cmova rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov rdx, qword [rsp + 0x80]
cmp eax, 0xffffffff
je 0x140009bdd
cmp rdx, 7
jbe 0x140009ba1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140009b9c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140009c1a
call fcn.14001e090
add rbx, 0x20
cmp rbx, rsi
jne 0x140009a70
mov al, 1
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.14001e070
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
cmp rdx, 7
jbe 0x140009c16
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140009c11
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140009c1a
call fcn.14001e090
xor al, al
jmp 0x140009bb0
call fcn.14002719c
int3
call fcn.1400047d0
int3
call fcn.14002719c
int3
Function at 0x14000a520
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x20], rbp
push rsi
push r14
push r15
sub rsp, 0x490
mov rax, qword [0x140056080]
xor rax, rsp
mov qword [rsp + 0x480], rax
mov r14, rdx
mov qword [rsp + 0x28], rcx
mov rsi, rcx
xor edx, edx
mov ecx, 2
xor r15d, r15d
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbp, rax
cmp rax, 0xffffffffffffffff
je 0x14000a58a
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x30], 0x238
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x14000a5af
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xorps xmm0, xmm0
lea rdx, [0x14004b588]
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], r15
xor r8d, r8d
mov rcx, rsi
mov qword [rsi + 0x18], r15
call fcn.1400070c0
jmp 0x14000a69e
mov qword [rsp + 0x4b8], rbx
mov rbx, 0xffffffffffffffff
mov qword [rsp + 0x4c0], rdi
nop word [rax + rax]
lea rcx, [rsp + 0x5c]
mov rax, rbx
nop dword [rax + rax]
inc rax
cmp word [rcx + rax*2], r15w
jne 0x14000a5e0
cmp qword [r14 + 0x18], 7
mov r9, r14
mov rcx, qword [r14 + 0x10]
jbe 0x14000a5fb
mov r9, qword [r14]
cmp rcx, rax
jne 0x14000a64f
test rcx, rcx
je 0x14000a631
lea rdx, [rsp + 0x5c]
sub r9, rdx
lea rax, [rsp + 0x5c]
movzx edx, word [r9 + rax]
cmp dx, word [rax]
jne 0x14000a6c6
add rax, 2
sub rcx, 1
jne 0x14000a612
mov eax, r15d
test eax, eax
jne 0x14000a64f
mov r8d, dword [rsp + 0x38]
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdi, rax
test rax, rax
jne 0x14000a6d3
lea rdx, [rsp + 0x30]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x14000a5d0
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xorps xmm0, xmm0
lea rdx, [0x14004b588]
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], r15
xor r8d, r8d
mov qword [rsi + 0x18], r15
mov rcx, rsi
call fcn.1400070c0
mov rdi, qword [rsp + 0x4c0]
mov rbx, qword [rsp + 0x4b8]
mov rax, rsi
mov rcx, qword [rsp + 0x480]
xor rcx, rsp
call fcn.14001e070
mov rbp, qword [rsp + 0x4c8]
add rsp, 0x490
pop r15
pop r14
pop rsi
ret
mov eax, 1
cmovb eax, ebx
jmp 0x14000a62d
mov r9d, 0x104
lea r8, [rsp + 0x270]
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_K32GetModuleFileNameExW]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xorps xmm0, xmm0
lea rax, [rsp + 0x270]
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], r15
mov qword [rsi + 0x18], r15
inc rbx
cmp word [rax + rbx*2], r15w
jne 0x14000a714
mov r8, rbx
lea rdx, [rsp + 0x270]
jmp 0x14000a686