joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140009000
Capabilities:
Hash data using fnv

Disassembly:
mov rax, rsp
push rbp
push rsi
push r14
sub rsp, 0x50
mov rbp, r8
mov r14, rdx
mov rsi, rcx
cmp rdx, r8
je 0x140009104
mov rdx, qword [rcx + 0x18]
movabs r8, 0x100000001b3
mov qword [rax + 0x10], rbx
mov rbx, r14
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
mov r12, qword [rcx + 8]
movzx ecx, byte [r14 + 0x10]
mov qword [rax - 0x20], r13
mov r13, qword [r14 + 8]
mov qword [rax - 0x28], r15
movabs rax, 0xcbf29ce484222325
mov r15, qword [rsi + 0x30]
xor rcx, rax
movzx eax, byte [r14 + 0x11]
imul rcx, r8
mov qword [rsp + 0x30], rdx
xor rcx, rax
movzx eax, byte [r14 + 0x12]
imul rcx, r8
xor rcx, rax
movzx eax, byte [r14 + 0x13]
imul rcx, r8
xor rcx, rax
imul rcx, r8
and r15, rcx
shl r15, 4
add r15, rdx
mov rax, qword [r15]
mov qword [rsp + 0x20], rax
mov rax, qword [r15 + 8]
mov qword [rsp + 0x28], rax
nop dword [rax + rax]
mov rcx, rbx
mov rdi, rbx
mov rbx, qword [rbx]
mov edx, 0x18
call fcn.140015280
dec qword [rsi + 0x10]
cmp rdi, qword [rsp + 0x28]
je 0x140009110
cmp rbx, rbp
jne 0x1400090b0
cmp qword [rsp + 0x20], r14
jne 0x1400090dd
mov qword [r15], rbx
mov r12, qword [rsp + 0x88]
mov rdi, qword [rsp + 0x80]
mov r15, qword [rsp + 0x40]
mov qword [r13], rbx
mov qword [rbx + 8], r13
mov r13, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x78]
mov rax, rbp
add rsp, 0x50
pop r14
pop rsi
pop rbp
ret
cmp qword [rsp + 0x20], r14
jne 0x14000911f
mov qword [r15], r12
mov rax, r12
jmp 0x140009122
mov rax, r13
mov qword [r15 + 8], rax
cmp rbx, rbp
je 0x1400090dd
nop dword [rax + rax]
movzx ecx, byte [rbx + 0x10]
movabs rdx, 0x100000001b3
mov r15, qword [rsi + 0x30]
movabs rax, 0xcbf29ce484222325
xor rcx, rax
movzx eax, byte [rbx + 0x11]
imul rcx, rdx
xor rcx, rax
movzx eax, byte [rbx + 0x12]
imul rcx, rdx
xor rcx, rax
movzx eax, byte [rbx + 0x13]
imul rcx, rdx
xor rcx, rax
imul rcx, rdx
and r15, rcx
shl r15, 4
add r15, qword [rsp + 0x30]
mov r14, qword [r15 + 8]
nop dword [rax]
nop dword [rax + rax]
mov rcx, rbx
mov rdi, rbx
mov rbx, qword [rbx]
mov edx, 0x18
call fcn.140015280
dec qword [rsi + 0x10]
cmp rdi, r14
je 0x1400091b6
cmp rbx, rbp
jne 0x140009190
jmp 0x1400090da
mov qword [r15], r12
mov qword [r15 + 8], r12
cmp rbx, rbp
jne 0x140009130
jmp 0x1400090dd
Function at 0x140009250
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x140022200]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x140009323
cmp byte [rcx + 0x71], 0
je 0x140009323
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x14000931f
mov rcx, qword [rbx + 0x68]
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], r8
lea rdx, [rbx + 0x74]
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
mov rax, qword [rcx]
call qword [rax + 0x40]
test eax, eax
je 0x1400092e4
sub eax, 1
je 0x1400092e8
cmp eax, 2
jne 0x14000931f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140015260
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x140009316
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 0x14000931f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x1400092cc
xor al, al
jmp 0x1400092cc
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140015260
add rsp, 0x60
pop rbx
ret
Function at 0x140010330
Capabilities:
Hash data using fnv

Disassembly:
push rbx
push rsi
sub rsp, 0x28
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov ebx, 1
mov eax, ebx
shl rax, cl
cmp rdx, rax
ja 0x1400104ee
lea rax, [rdx - 1]
mov qword [rsp + 0x58], rdi
mov rdi, qword [rsi + 8]
or rax, rbx
bsr rcx, rax
mov r8, rdi
mov qword [rsp + 0x20], r14
inc ecx
shl rbx, cl
lea rcx, [rsi + 0x18]
lea rdx, [rbx + rbx]
call fcn.14000bf30
mov rdx, qword [rsi + 8]
lea rax, [rbx - 1]
mov qword [rsi + 0x30], rax
mov qword [rsi + 0x38], rbx
mov rdx, qword [rdx]
cmp rdx, rdi
je 0x1400104b7
mov qword [rsp + 0x50], rbp
mov rcx, rdx
movabs rbp, 0xcbf29ce484222325
movabs rbx, 0x100000001b3
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rcx + 0x11]
movzx r9d, byte [rcx + 0x10]
mov r11, qword [rsi + 0x30]
xor r9, rbp
mov rdx, qword [rdx]
imul r9, rbx
xor r9, rax
movzx eax, byte [rcx + 0x12]
imul r9, rbx
xor r9, rax
movzx eax, byte [rcx + 0x13]
imul r9, rbx
xor r9, rax
imul r9, rbx
and r11, r9
shl r11, 4
add r11, qword [rsi + 0x18]
mov r10, qword [r11]
cmp r10, rdi
jne 0x140010423
mov qword [r11], rcx
mov qword [r11 + 8], rcx
jmp 0x1400104a6
mov rax, qword [r11 + 8]
mov r9d, dword [rcx + 0x10]
cmp r9d, dword [rax + 0x10]
jne 0x140010460
mov r10, qword [rax]
cmp r10, rcx
je 0x14001045a
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], r10
mov rax, qword [r10 + 8]
mov qword [rax], rcx
mov qword [r10 + 8], r8
mov qword [rdx + 8], r9
mov qword [rcx + 8], rax
mov qword [r11 + 8], rcx
jmp 0x1400104a6
mov r8, rax
cmp r10, rax
je 0x140010482
nop dword [rax + rax]
mov rax, qword [rax + 8]
mov r8, rax
cmp r9d, dword [rax + 0x10]
je 0x1400104c8
cmp r10, rax
jne 0x140010470
mov r10, qword [rcx + 8]
mov qword [r10], rdx
mov r9, qword [rdx + 8]
mov qword [r9], r8
mov rax, qword [r8 + 8]
mov qword [rax], rcx
mov qword [r8 + 8], r9
mov qword [rdx + 8], r10
mov qword [rcx + 8], rax
mov qword [r11], rcx
mov rcx, rdx
cmp rdx, rdi
jne 0x1400103d0
mov rbp, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
mov r14, qword [rsp + 0x20]
add rsp, 0x28
pop rsi
pop rbx
ret
mov r10, qword [rax]
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], r10
mov rax, qword [r10 + 8]
mov qword [rax], rcx
mov qword [r10 + 8], r8
mov qword [rdx + 8], r9
mov qword [rcx + 8], rax
jmp 0x1400104a6
lea rcx, str.invalid_hash_bucket_count
call fcn.1400121ec
int3
Function at 0x140013520
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x47]
sub rsp, 0x90
mov rax, qword [0x140022200]
xor rax, rsp
mov qword [rbp + 0x3f], rax
mov edi, 0xffff
xor r14d, r14d
movzx esi, dx
mov rbx, rcx
cmp di, dx
jne 0x140013564
movzx eax, r14w
jmp 0x14001369a
mov rax, qword [rcx + 0x40]
mov r8, qword [rax]
test r8, r8
je 0x1400135a0
mov rax, qword [rcx + 0x58]
movsxd r9, dword [rax]
lea rdx, [r8 + r9*2]
cmp r8, rdx
jae 0x1400135a0
lea ecx, [r9 - 1]
mov dword [rax], ecx
movzx eax, si
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 2]
mov qword [rdx], rcx
mov word [r8], si
jmp 0x14001369a
cmp qword [rcx + 0x80], r14
je 0x140013697
mov r8, qword [rcx + 0x18]
lea rax, [rcx + 0x70]
cmp qword [r8], rax
jne 0x1400135de
mov rdx, qword [rcx + 0x90]
mov rcx, qword [rcx + 0x88]
mov qword [r8], rcx
sub rdx, rcx
mov rax, qword [rbx + 0x38]
sar rdx, 1
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x140013607
movzx ecx, si
mov rdx, qword [rbx + 0x80]
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fputwc
cmp ax, di
je 0x140013697
movzx edi, si
jmp 0x140013697
lea r8, [rbp + 0xf]
mov word [rbp + 7], si
mov rax, qword [rcx]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x38], r8
lea r9, [rbp + 9]
lea r8, [rbp + 0x3f]
mov qword [rsp + 0x30], r8
lea r8, [rbp + 0x1f]
mov rax, qword [rax + 0x38]
mov qword [rsp + 0x28], r8
lea r8, [rbp + 0x17]
mov qword [rsp + 0x20], r8
lea r8, [rbp + 7]
call qword [0x1400185d0]
test eax, eax
je 0x14001365c
sub eax, 1
je 0x14001365c
cmp eax, 2
jne 0x140013697
movzx ecx, word [rbp + 7]
jmp 0x1400135ea
mov r14, qword [rbp + 0xf]
lea rax, [rbp + 0x1f]
sub r14, rax
je 0x140013686
mov r9, qword [rbx + 0x80]
lea rcx, [rbp + 0x1f]
mov r8, r14
mov edx, 1
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
cmp r14, rax
jne 0x140013697
lea rax, [rbp + 7]
mov byte [rbx + 0x72], 1
cmp qword [rbp + 0x17], rax
movzx eax, si
jne 0x14001369a
movzx eax, di
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.140015260
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x14005fe6c
Capabilities:
Get hostname

Disassembly:
mov rax, rsp
mov dword [rax + 8], ecx
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x60
mov qword [rbp - 0x40], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov rdi, rdx
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x20], xmm0
xor esi, esi
mov qword [rbp - 0x10], rsi
mov dword [rbp + 0x30], esi
lea r8, [rbp + 0x30]
xor edx, edx
lea ecx, [rsi + 3]
call qword [sym.imp.KERNEL32.dll_GetComputerNameExW]
test eax, eax
je 0x14005feb4
lea ebx, [rsi + 0xd]
jmp 0x14005ff1f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp eax, 0xea
jne 0x14005ff1f
mov word [rbp + 0x20], si
mov edx, dword [rbp + 0x30]
lea rax, [rbp - 0x20]
mov qword [rbp - 0x30], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x28], rax
movaps xmm0, xmmword [rbp - 0x30]
movdqa xmmword [rbp - 0x30], xmm0
lea r8, [rbp - 0x30]
lea rcx, [rbp - 0x20]
call fcn.14003cffc
lea r8, [rbp + 0x30]
mov rdx, qword [rbp - 0x20]
mov ecx, 3
call qword [sym.imp.KERNEL32.dll_GetComputerNameExW]
test eax, eax
jne 0x14005ff11
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x14005ff1f
mov rdx, qword [rbp - 0x20]
mov rcx, rdi
call fcn.1400033fc
mov ebx, esi
lea rcx, [rbp - 0x20]
call fcn.1400174fc
mov eax, ebx
mov rbx, qword [rsp + 0x88]
add rsp, 0x60
pop rdi
pop rsi
pop rbp
ret
Function at 0x140060a48
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov ecx, 1
mov dword [0x1400bd0c0], eax
call fcn.140060cf8
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x1400bd0c0], 0
jne case.default.0x140060a9e
mov ecx, 1
call fcn.140060cf8
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]
int1
mov esp, dword ds:[rbx - 0x54]
or dword [rcx - 0x18], edx
pushfq
jb 0x140125efa
fild word [0xee4f1cf8]
nop
invalid
jmp 0x140125e79
cmp eax, 0x7075e489
xor ebx, dword [rbx + 0x78]
mov esi, 0xed44618f
xlatb
adc edi, dword [rcx + rdi - 0x5b]
out dx, al
add eax, 0x37b4602f
push rdi
jg 0x140125ec2
fiadd dword [rbp + 0x3f6fc1b3]
adc dword [rbp + rsi*4 + 0xd], ecx
cmp al, 0x80
mul dword [rax - 0x4c92c88d]
mov ecx, 0x39e5f8d
pop rdi
mov eax, 0x5b365cd0
rcl dword [rbx - 0x5211f3e7], 0xd7
and byte [rbx + 0x23], dl
cmc
cdq
jp 0x140125fb7
ret
enter 0xffffffffffffaff6, 0x5f
push rsp
fstp qword [rdx]
movabs eax, dword [0x21a6311d374b6d91]
imul esi, dword [rsp + rcx*8 - 0x12a88e61], 0x29
xchg byte [rbp + 0x2cfed257], bl
ror ebp, 1
push 0x6f
push rdx
adc bh, ah
sbb dword [rdx + 6], esi
fldcw word [rbx + 0xc9eb087]
cmp bh, byte [rax]
cld
test byte [0xebc81624], cl
enter 0xffffffffffffb18f, 0xffffffffffffffa2
outsb dx, byte [rsi]
adc edx, dword [r11 - 0x21b44871]
ror ecx, 0x50
or edi, dword [rdi - 0x1a]
add al, 0x42
jo 0x14012601c
mov cl, 6
nop
push rsi
test byte [rbp + 0x2e3185e0], dh
jns 0x140125fd8
in al, 0xbb
cmpsd dword [rsi], dword [rdi]
xchg dword [rbp - 0x643737a1], edx
insd dword [rdi], dx
mov bl, 0xfe
jrcxz 0x14012605e
invalid
xchg esp, eax
pop rcx
rol dword [rsi - 0x7463a00b], 0x28
invalid
mov r13d, 0x8fdbfc2
out dx, al
invalid
Function at 0x10001000
Capabilities:
Check for time delay via gettickcount
Contain obfuscated stackstrings

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x168
mov rax, qword [0x10004438]
mov qword [rsp + 0x150], rax
movsxd rax, dword [rcx + 0x3c]
xor r12d, r12d
mov rbp, rcx
mov edx, dword [rax + rcx + 0x90]
cmp edx, r12d
je 0x10001208
lea rdi, [rcx + rdx]
lea rcx, [rsp + 0x30]
mov byte [rsp + 0x30], 0x6b
mov byte [rsp + 0x31], 0x65
mov byte [rsp + 0x32], 0x72
mov byte [rsp + 0x33], 0x6e
mov byte [rsp + 0x34], 0x65
mov byte [rsp + 0x35], 0x6c
mov byte [rsp + 0x36], 0x33
mov byte [rsp + 0x37], 0x32
mov byte [rsp + 0x38], 0x2e
mov byte [rsp + 0x39], 0x64
mov byte [rsp + 0x3a], 0x6c
mov byte [rsp + 0x3b], 0x6c
mov byte [rsp + 0x3c], r12b
mov byte [rsp + 0x20], 0x4c
mov byte [rsp + 0x21], 0x6f
mov byte [rsp + 0x22], 0x61
mov byte [rsp + 0x23], 0x64
mov byte [rsp + 0x24], 0x4c
mov byte [rsp + 0x25], 0x69
mov byte [rsp + 0x26], 0x62
mov byte [rsp + 0x27], 0x72
mov byte [rsp + 0x28], 0x61
mov byte [rsp + 0x29], 0x72
mov byte [rsp + 0x2a], 0x79
mov byte [rsp + 0x2b], 0x41
mov byte [rsp + 0x2c], r12b
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, [rsp + 0x20]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp rax, r12
mov r15, rax
je 0x10001234
cmp rdi, r12
je 0x10001208
movabs rsi, 0x8000000000000000
cmp dword [rdi + 4], r12d
jne 0x1000110b
cmp dword [rdi + 0xc], r12d
je 0x10001208
mov ecx, dword [rdi + 0xc]
add rcx, rbp
call r15
cmp rax, r12
mov r14, rax
je 0x1000122e
mov ebx, dword [rdi + 0x10]
add rbx, rbp
cmp dword [rdi], r12d
je 0x100011ef
mov esi, dword [rdi]
add rsi, rbp
jmp 0x10001180
mov r12d, 0x64
call qword [sym.imp.KERNEL32.dll_GetTickCount]
dec r12
jne 0x1000113c
movabs rax, 0x8000000000000000
mov rcx, r14
test qword [rsi], rax
je 0x1000115e
movzx edx, word [rsi]
jmp 0x10001163
lea rdx, [r13 + rbp + 2]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
xor r12d, r12d
cmp rax, r12
mov qword [rbx], rax
je 0x10001234
add rbx, 8
add rsi, 8
mov r13, qword [rsi]
cmp r13, r12
jne 0x10001136
jmp 0x100011f4
test qword [rbx], rsi
je 0x10001194
movzx eax, word [rbx]
jmp 0x100011e8
lea rcx, [rsp + 0x40]
xor edx, edx
mov r8d, 0x104
call sub.msvcrt.dll_memset
mov rdx, qword [rbx]
add rdx, rbp
jmp 0x100011b1
inc rdx
cmp byte [rdx], r12b
je 0x100011ae
lea rcx, [rsp + 0x40]
call sub.msvcrt.dll_strcpy
mov esi, 0x64
call qword [sym.imp.KERNEL32.dll_GetTickCount]
dec rsi
jne 0x100011c5
lea rdx, [rsp + 0x40]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
movabs rsi, 0x8000000000000000
mov qword [rbx], rax
add rbx, 8
cmp qword [rbx], r12
jne 0x1000118a
add rdi, 0x14
movabs rsi, 0x8000000000000000
jne 0x100010fb
mov eax, 1
mov rcx, qword [rsp + 0x150]
call fcn.100023c0
add rsp, 0x168
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor eax, eax
jmp 0x1000120d
Function at 0x100012f4
Capabilities:
Enumerate pe sections
Get system information on windows
Inspect section memory permissions

Disassembly:
mov dword [rsp + 0x20], r9d
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x68
mov rbp, rcx
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x30]
mov esi, r9d
mov ebx, r8d
mov edi, edx
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov r13d, dword [rsp + 0x34]
mov rcx, rsi
mov r12, rsi
call sub.msvcrt.dll_void____ptr64___cdecl_operator_new_unsigned_long_long_unsigned___int64__
lea rdx, [rbp + rdi]
mov byte [rax], bl
movsxd rsi, dword [rbp + 0x3c]
mov r15, rax
add rsi, rbp
cmp rsi, rdx
jbe 0x10001351
xor eax, eax
jmp 0x100014d7
movzx eax, word [rsi + 0x14]
mov r8, r12
xor edx, edx
lea r14, [rax + rsi + 0x18]
movzx eax, word [rsi + 6]
lea ecx, [rax + rax*4]
mov qword [rsp + 0x20], r14
shl ecx, 3
sub ecx, ebp
mov ebp, ecx
mov rcx, r15
add ebp, r14d
call sub.msvcrt.dll_memset
xor ebx, ebx
cmp bx, word [rsi + 6]
mov r10, r13
mov qword [rsp + 0xb0], r13
movzx edi, bx
jne 0x100013a0
mov r8, rbx
mov r9d, ebp
mov eax, 0x60000000
jmp 0x100013b6
movzx eax, di
lea rcx, [rax + rax*4]
mov r8d, dword [r14 + rcx*8 + 0xc]
mov r9d, dword [r14 + rcx*8 + 0x10]
mov eax, dword [r14 + rcx*8 + 0x24]
mov dword [rsp + 0xc0], eax
xor edx, edx
mov rax, r8
div r10
xor edx, edx
mov r12d, 0x64
mov r13, rax
lea rax, [r9 + r8 - 1]
div r10
mov r14, rax
call qword [sym.imp.KERNEL32.dll_GetTickCount]
dec r12
jne 0x100013db
cmp r13d, r14d
movsxd rcx, r13d
ja 0x10001439
mov edx, dword [rsp + 0xc0]
lea rax, [rcx + r15]
mov r8d, edx
mov r9d, edx
and edx, 0x80000000
and r8d, 0x20000000
and r9d, 0x40000000
sub r14d, r13d
lea ecx, [r14 + 1]
cmp r8d, ebx
je 0x10001422
or byte [rax], 1
cmp r9d, ebx
je 0x1000142a
or byte [rax], 2
cmp edx, ebx
je 0x10001431
or byte [rax], 4
inc rax
dec rcx
jne 0x1000141a
mov r14, qword [rsp + 0x20]
mov r10, qword [rsp + 0xb0]
inc di
cmp di, word [rsi + 6]
jbe 0x10001391
mov rbp, qword [rsp + 0x28]
mov r12d, dword [rsp + 0xc8]
mov esi, ebx
mov rdi, r15
mov r13, r10
cmp byte [rdi], 2
je 0x10001494
cmp byte [rdi], 4
je 0x1000148c
cmp byte [rdi], 6
je 0x10001484
mov dword [rsp + 0xb8], 0x40
jmp 0x100014bb
mov r8d, 4
jmp 0x1000149a
mov r8d, 0x20
jmp 0x1000149a
mov r8d, 2
mov edx, dword [rsp + 0x34]
lea r9, [rsp + 0xb8]
mov rcx, rbp
mov dword [rsp + 0xb8], r8d
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp eax, ebx
je 0x100014cd
inc esi
add rbp, r13
inc rdi
cmp esi, r12d
jbe 0x10001468
mov ebx, 1
mov rcx, r15
call sub.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_
mov eax, ebx
add rsp, 0x68
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x100014e8
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Get system information on windows

Disassembly:
mov qword [rsp + 0x18], r8
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x70
mov r12, rcx
test rcx, rcx
jne 0x1000150b
xor eax, eax
jmp 0x100016d3
mov qword [rsp + 0x30], 0
movsxd rsi, dword [rcx + 0x3c]
add rsi, rcx
cmp word [rsi + 0x14], 0xf0
je 0x1000152a
xor eax, eax
jmp 0x100016d3
cmp word [rsi + 6], 1
jae 0x10001538
xor eax, eax
jmp 0x100016d3
mov r13d, dword [rsi + 0x54]
mov ebx, dword [rsi + 0x50]
lea rcx, [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
xor edx, edx
mov eax, ebx
mov r15d, dword [rsp + 0x3c]
div r15d
mov r14d, eax
mov dword [rsp + 0x28], eax
test edx, edx
je 0x10001569
inc r14d
mov dword [rsp + 0x28], r14d
imul r15d, r14d
mov edx, r15d
xor ecx, ecx
lea r9d, [rcx + 0x40]
mov r8d, 0x1000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rdi, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x100016d3
mov r8, r13
mov rdx, r12
mov rcx, rax
call sub.msvcrt.dll_memmove
xor bx, bx
mov word [rsp + 0x20], bx
cmp bx, word [rsi + 6]
jae 0x10001621
movzx eax, bx
lea rcx, [rax + rax*4]
mov ecx, dword [rsi + rcx*8 + 0x114]
add rcx, rdi
mov qword [rsp + 0xb0], rcx
mov dword [rsp + 0x24], 0
xor r13d, r13d
mov dword [rsp + 0x24], r13d
cmp r13d, 0x14
jge 0x100015ee
call qword [sym.imp.KERNEL32.dll_GetTickCount]
inc r13d
mov dword [rsp + 0x24], r13d
jmp 0x100015d8
movzx eax, bx
lea rdx, [rax + rax*4]
mov eax, dword [rsi + rdx*8 + 0x11c]
add rax, r12
mov r8d, dword [rsi + rdx*8 + 0x118]
mov rdx, rax
mov rcx, qword [rsp + 0xb0]
call sub.msvcrt.dll_memcpy
inc bx
mov word [rsp + 0x20], bx
jmp 0x100015a9
mov edx, r15d
mov rcx, rdi
call section..text
test eax, eax
jne 0x10001648
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
jmp 0x100016d3
mov edx, r15d
mov rcx, rdi
call fcn.10001238
test eax, eax
jne 0x1000166c
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
jmp 0x100016d3
mov r9d, r14d
xor r8d, r8d
mov edx, r15d
mov rcx, rdi
call fcn.100012f4
test eax, eax
jne 0x10001696
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
jmp 0x100016d3
mov ebx, dword [rsi + 0x28]
add rbx, rdi
mov esi, 0x3e8
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_Sleep]
mov r8, qword [rsp + 0xc0]
mov edx, 1
mov rcx, rdi
call rbx
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x100016d0
mov rax, rdi
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
Function at 0x100016e4
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x118
mov rax, qword [0x10004438]
mov qword [rsp + 0x100], rax
mov esi, r9d
mov r10, rcx
mov rbp, r8
mov r9d, edx
lea rcx, [rsp]
xor eax, eax
mov byte [rcx], al
inc eax
inc rcx
cmp eax, 0x100
jl 0x10001711
xor edi, edi
lea rbx, [rsp]
xor r11d, r11d
mov r8b, byte [rbx]
mov eax, r11d
inc r11d
cdq
idiv esi
movsxd rax, edx
mov dl, byte [rax + rbp]
mov al, r8b
lea ecx, [rdi + rax]
add edx, ecx
movzx edi, dl
mov al, byte [rsp + rdi]
mov byte [rbx], al
inc rbx
cmp r11d, 0x100
mov byte [rsp + rdi], r8b
jl 0x10001728
xor ebp, ebp
test r9d, r9d
jle 0x100017c8
mov r11b, byte [rsp + 0x160]
lea esi, [rbp + 1]
mov rbx, r9
mov dil, r11b
and dil, 0x80
sub rsi, r10
lea eax, [r10 + rsi]
movzx r9d, al
movzx edx, byte [rsp + r9]
lea eax, [rdx + rbp]
movzx ebp, al
mov rcx, rbp
mov al, byte [rsp + rbp]
mov byte [rsp + r9], al
mov byte [rsp + rbp], dl
mov al, byte [rsp + r9]
add eax, edx
test dil, dil
movzx eax, al
mov cl, byte [rsp + rax]
jne 0x100017b7
mov al, r11b
add al, byte [r10]
xor al, cl
mov byte [r10], al
jmp 0x100017c0
xor cl, byte [r10]
add cl, r11b
mov byte [r10], cl
inc r10
dec rbx
jne 0x10001779
mov rcx, qword [rsp + 0x100]
call fcn.100023c0
add rsp, 0x118
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x10001a94
Capabilities:
Enumerate services

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x50
mov r13, rcx
mov ebx, 1
xor edx, edx
lea r8d, [rbx + 3]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
test rax, rax
mov rsi, rax
je 0x10001bf0
mov qword [rsp + 0x48], 0
lea rax, [rsp + 0xa8]
lea edi, [rbx + 0x2f]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0xa0]
mov r9d, ebx
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x98]
mov r8d, edi
mov qword [rsp + 0x30], rax
xor edx, edx
mov rcx, rsi
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov dword [rsp + 0xa8], 0
call qword [sym.imp.ADVAPI32.dll_EnumServicesStatusExA]
test eax, eax
jne 0x10001be7
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xea
jne 0x10001be7
mov ecx, dword [rsp + 0x98]
call qword [sym.imp.msvcrt.dll_malloc]
mov qword [rsp + 0x48], 0
mov r9d, ebx
mov r12, rax
lea rax, [rsp + 0xa8]
mov r8d, edi
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0xa0]
xor edx, edx
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x98]
mov rcx, rsi
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0x98]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], r12
call qword [sym.imp.ADVAPI32.dll_EnumServicesStatusExA]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
xor ebp, ebp
cmp dword [rsp + 0xa0], ebp
mov r14d, eax
jbe 0x10001bde
mov rdi, r12
mov rcx, qword [rdi]
mov rdx, r13
call sub.msvcrt.dll_strcmp
test eax, eax
je 0x10001bcb
cmp dword [rdi + 0x2c], r14d
je 0x10001bdc
add ebp, ebx
add rdi, 0x38
cmp ebp, dword [rsp + 0xa0]
jb 0x10001bb6
jmp 0x10001bde
xor ebx, ebx
mov rcx, r12
call qword [sym.imp.msvcrt.dll_free]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, ebx
add rsp, 0x50
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret