joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180003d90
Capabilities:
Hook routines via microsoft detours

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x58
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x60]
call fcn.180004320
mov qword [rsp + 0x28], 0
cmp qword [0x180021ac8], 0
jne 0x180003dd8
cmp qword [0x180021ac0], 0
je 0x180003dd8
mov rax, qword [0x180021ac0]
mov qword [0x180021ac8], rax
cmp qword [0x180021ac8], 0
je 0x180003e7e
mov rax, qword [0x180021ac8]
cmp qword [rax + 0x10], 0
je 0x180003e7e
mov rax, qword [0x180021ac8]
mov rcx, qword [rsp + 0x38]
cmp qword [rax + 0x10], rcx
jb 0x180003e7e
mov rax, qword [0x180021ac8]
mov rcx, qword [rsp + 0x30]
cmp qword [rax + 0x10], rcx
ja 0x180003e7e
mov rax, qword [0x180021ac8]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x38]
cmp qword [rsp + 0x28], rax
jb 0x180003e44
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x28], rax
jbe 0x180003e4b
xor eax, eax
jmp 0x180003ff9
mov rax, qword [0x180021ac8]
mov rcx, qword [rsp + 0x28]
mov rcx, qword [rcx + 0x48]
mov qword [rax + 0x10], rcx
mov r8d, 0x60
mov edx, 0xcc
mov rcx, qword [rsp + 0x28]
call fcn.180008d40
mov rax, qword [rsp + 0x28]
jmp 0x180003ff9
mov rax, qword [0x180021ac0]
mov qword [0x180021ac8], rax
jmp 0x180003ea0
mov rax, qword [0x180021ac8]
mov rax, qword [rax + 8]
mov qword [0x180021ac8], rax
cmp qword [0x180021ac8], 0
je 0x180003eed
cmp qword [0x180021ac8], 0
je 0x180003eeb
mov rax, qword [0x180021ac8]
cmp qword [rax + 0x10], 0
je 0x180003eeb
mov rax, qword [0x180021ac8]
mov rcx, qword [rsp + 0x38]
cmp qword [rax + 0x10], rcx
jb 0x180003eeb
mov rax, qword [0x180021ac8]
mov rcx, qword [rsp + 0x30]
cmp qword [rax + 0x10], rcx
ja 0x180003eeb
jmp 0x180003e1c
jmp 0x180003e8e
mov rcx, qword [rsp + 0x60]
call fcn.180006190
and eax, 0xffff
mov eax, eax
mov rcx, qword [rsp + 0x60]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
mov r8, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x60]
call fcn.180004000
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
je 0x180003ff7
mov rax, qword [rsp + 0x48]
mov qword [0x180021ac8], rax
mov rax, qword [0x180021ac8]
mov dword [rax], 0x52727464
mov rax, qword [0x180021ac8]
mov qword [rax + 0x10], 0
mov rax, qword [0x180021ac8]
mov rcx, qword [0x180021ac0]
mov qword [rax + 8], rcx
mov rax, qword [0x180021ac8]
mov qword [0x180021ac0], rax
mov qword [rsp + 0x40], 0
mov rax, qword [0x180021ac8]
add rax, 0x60
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x2a8
jmp 0x180003fa8
mov eax, dword [rsp + 0x20]
dec eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 1
jle 0x180003fe2
movsxd rax, dword [rsp + 0x20]
imul rax, rax, 0x60
mov rcx, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x40]
mov qword [rcx + rax + 0x48], rdx
movsxd rax, dword [rsp + 0x20]
imul rax, rax, 0x60
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
jmp 0x180003f9e
mov rax, qword [0x180021ac8]
mov rcx, qword [rsp + 0x40]
mov qword [rax + 0x10], rcx
jmp 0x180003e1c
xor eax, eax
add rsp, 0x58
ret
Function at 0x180004d10
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov r8d, 0x30
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x80]
call sub.KERNEL32.dll_VirtualQuery
nop
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x180004d57
xor al, al
jmp 0x180004df9
mov rax, qword [rsp + 0x28]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp dword [rax], 0x4550
je 0x180004d81
xor al, al
jmp 0x180004df9
mov eax, 8
imul rax, rax, 0xc
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx + rax + 0x88]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
cmp qword [rsp + 0x88], rax
jb 0x180004df1
mov eax, 8
imul rax, rax, 0xc
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx + rax + 0x88]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov ecx, 8
imul rcx, rcx, 0xc
mov rdx, qword [rsp + 0x30]
mov ecx, dword [rdx + rcx + 0x8c]
add rax, rcx
cmp qword [rsp + 0x88], rax
jae 0x180004df1
mov al, 1
jmp 0x180004df9
jmp 0x180004df7
xor al, al
add rsp, 0x78
ret

Function at 0x180005100
Capabilities:
Allocate or change rwx memory

Disassembly:
sub rsp, 0x38
mov rax, qword [0x180021ac0]
mov qword [rsp + 0x28], rax
jmp 0x180005120
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 8]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x18000514f
lea r9, [rsp + 0x20]
mov r8d, 0x40
mov edx, 0x10000
mov rcx, qword [rsp + 0x28]
call sub.KERNEL32.dll_VirtualProtect
test eax, eax
jne 0x18000514d
call sub.KERNEL32.dll_GetLastError
jmp 0x180005151
jmp 0x180005112
xor eax, eax
add rsp, 0x38
ret
Function at 0x1800057e0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov dword [rsp + 0x20], 0
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [0x180021ad8], eax
je 0x18000580d
mov eax, 0x10dd
jmp 0x180005a26
cmp dword [0x180021adc], 0
je 0x180005821
mov eax, dword [0x180021adc]
jmp 0x180005a26
cmp qword [rsp + 0x78], 0
jne 0x180005833
mov eax, 0x57
jmp 0x180005a26
cmp qword [rsp + 0x70], 0
jne 0x180005845
mov eax, 6
jmp 0x180005a26
mov rax, qword [rsp + 0x70]
cmp qword [rax], 0
jne 0x180005877
mov dword [rsp + 0x20], 6
mov eax, dword [rsp + 0x20]
mov dword [0x180021adc], eax
mov rax, qword [rsp + 0x70]
mov qword [0x180021ae0], rax
mov eax, dword [rsp + 0x20]
jmp 0x180005a26
mov ecx, 0x30
call fcn.180007940
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x1800058e9
mov dword [rsp + 0x20], 8
mov eax, dword [rsp + 0x20]
mov dword [0x180021adc], eax
cmp qword [rsp + 0x30], 0
je 0x1800058d4
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x50], rax
mov edx, 0x30
mov rcx, qword [rsp + 0x50]
call fcn.18000797c
mov qword [rsp + 0x30], 0
mov rax, qword [rsp + 0x70]
mov qword [0x180021ae0], rax
mov eax, dword [rsp + 0x20]
jmp 0x180005a26
xor edx, edx
mov rax, qword [rsp + 0x70]
mov rcx, qword [rax]
call fcn.1800057b0
mov qword [rsp + 0x38], rax
xor edx, edx
mov rcx, qword [rsp + 0x78]
call fcn.1800057b0
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x38]
movzx eax, byte [rax + 0x3e]
mov dword [rsp + 0x24], eax
movsxd rax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x38]
mov rcx, qword [rcx + 0x48]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
cmp dword [rsp + 0x24], 0
je 0x180005946
movsxd rax, dword [rsp + 0x24]
cmp rax, 0x1e
jbe 0x180005963
mov dword [rsp + 0x20], 9
cmp dword [0x180021ad0], 0
je 0x18000595e
jmp 0x1800058aa
jmp 0x1800058a0
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x78]
cmp qword [rax + 0x50], rcx
je 0x180005990
mov dword [rsp + 0x20], 9
cmp dword [0x180021ad0], 0
je 0x18000598b
jmp 0x1800058aa
jmp 0x1800058a0
mov dword [rsp + 0x28], 0
movsxd rax, dword [rsp + 0x24]
lea r9, [rsp + 0x28]
mov r8d, 0x40
mov rdx, rax
mov rcx, qword [rsp + 0x40]
call sub.KERNEL32.dll_VirtualProtect
test eax, eax
jne 0x1800059c7
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
jmp 0x1800058a0
mov rax, qword [rsp + 0x30]
mov dword [rax + 8], 1
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x70]
mov qword [rax + 0x10], rcx
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
mov qword [rax + 0x20], rcx
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x40]
mov qword [rax + 0x18], rcx
mov rax, qword [rsp + 0x30]
mov ecx, dword [rsp + 0x28]
mov dword [rax + 0x28], ecx
mov rax, qword [rsp + 0x30]
mov rcx, qword [0x180021af0]
mov qword [rax], rcx
mov rax, qword [rsp + 0x30]
mov qword [0x180021af0], rax
xor eax, eax
add rsp, 0x68
ret
Function at 0x180005a30
Capabilities:
Resume thread

Disassembly:
sub rsp, 0x68
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [0x180021ad8], eax
je 0x180005a4b
mov eax, 0x10dd
jmp 0x180005b70
mov rax, qword [0x180021af0]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x180005af5
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 0x20]
movzx eax, byte [rax + 0x3e]
lea r9, [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
mov r8d, dword [rcx + 0x28]
mov edx, eax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rax + 0x18]
call sub.KERNEL32.dll_VirtualProtect
mov rax, qword [rsp + 0x28]
cmp dword [rax + 8], 0
jne 0x180005ac0
mov rax, qword [rsp + 0x28]
cmp qword [rax + 0x20], 0
je 0x180005ac0
mov rax, qword [rsp + 0x28]
mov rcx, qword [rax + 0x20]
call fcn.180004460
mov rax, qword [rsp + 0x28]
mov qword [rax + 0x20], 0
mov rax, qword [rsp + 0x28]
mov rax, qword [rax]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x38], rax
mov edx, 0x30
mov rcx, qword [rsp + 0x38]
call fcn.18000797c
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x28], rax
jmp 0x180005a57
mov qword [0x180021af0], 0
call fcn.180004ec0
mov rax, qword [0x180021ae8]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x180005b59
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 8]
call sub.KERNEL32.dll_ResumeThread
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x48], rax
mov edx, 0x10
mov rcx, qword [rsp + 0x48]
call fcn.18000797c
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x30], rax
jmp 0x180005b11
mov qword [0x180021ae8], 0
mov dword [0x180021ad8], 0
xor eax, eax
add rsp, 0x68
ret
Function at 0x1800060a0
Capabilities:
Suspend thread

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x48
cmp dword [0x180021adc], 0
je 0x1800060bd
mov eax, dword [0x180021adc]
jmp 0x180006183
call sub.KERNEL32.dll_GetCurrentThread
cmp qword [rsp + 0x50], rax
jne 0x1800060d0
xor eax, eax
jmp 0x180006183
mov ecx, 0x10
call fcn.180007940
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x18000613e
mov dword [rsp + 0x20], 8
cmp qword [rsp + 0x28], 0
je 0x180006123
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x38], rax
mov edx, 0x10
mov rcx, qword [rsp + 0x38]
call fcn.18000797c
mov qword [rsp + 0x28], 0
mov eax, dword [rsp + 0x20]
mov dword [0x180021adc], eax
mov qword [0x180021ae0], 0
mov eax, dword [rsp + 0x20]
jmp 0x180006183
mov rcx, qword [rsp + 0x50]
call sub.KERNEL32.dll_SuspendThread
cmp eax, 0xffffffff
jne 0x180006158
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
jmp 0x1800060f9
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x50]
mov qword [rax + 8], rcx
mov rax, qword [rsp + 0x28]
mov rcx, qword [0x180021ae8]
mov qword [rax], rcx
mov rax, qword [rsp + 0x28]
mov qword [0x180021ae8], rax
xor eax, eax
add rsp, 0x48
ret
Function at 0x18000f2dc
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x18000f30c
xor eax, eax
jmp 0x18000f3cf
mov rbp, rbx
cmp word [rax], si
je 0x18000f331
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x18000f318
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x18000f314
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.18000f1fc
movsxd r14, eax
test eax, eax
jne 0x18000f36f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x18000f305
mov rcx, r14
call fcn.18000cafc
mov rdi, rax
test rax, rax
jne 0x18000f388
xor ecx, ecx
call fcn.18000d834
jmp 0x18000f364
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.18000f1fc
test eax, eax
jne 0x18000f3b9
mov rcx, rdi
call fcn.18000d834
jmp 0x18000f3c3
xor ecx, ecx
call fcn.18000d834
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x18001eb10
Capabilities:
Allocate or change rwx memory
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x98
mov rax, qword [0x1800c33b0]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov eax, 8
imul rax, rax, 0
lea rcx, [0x1800c33e0]
mov rax, qword [rcx + rax]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x40], rax
mov byte [rsp + 0x60], 0x48
mov byte [rsp + 0x61], 0xb8
mov byte [rsp + 0x62], 0xcb
mov byte [rsp + 0x63], 0x52
mov byte [rsp + 0x64], 0x43
mov byte [rsp + 0x65], 0x65
mov byte [rsp + 0x66], 0x7b
mov byte [rsp + 0x67], WSAStartup
mov byte [rsp + 0x68], 0x42
mov byte [rsp + 0x69], 0x43
mov byte [rsp + 0x70], 0x48
mov byte [rsp + 0x71], 0xb8
mov byte [rsp + 0x72], 0xac
mov byte [rsp + 0x73], 0x88
mov byte [rsp + 0x74], 0x36
mov byte [rsp + 0x75], 0x23
mov byte [rsp + 0x76], 0xfa
mov byte [rsp + 0x77], WSAStartup
mov byte [rsp + 0x78], 0xc8
mov byte [rsp + 0x79], 0xd8
movabs rax, 0x7dca3ea9c587c7e8
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x80], rax
mov dword [rsp + 0x20], 0
mov r8d, 0xa
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x28]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x18001ec11
mov rax, qword [rsp + 0x28]
inc rax
mov qword [rsp + 0x28], rax
jmp 0x18001ebe9
mov r8d, 0xa
lea rdx, [rsp + 0x70]
mov rcx, qword [rsp + 0x40]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x18001ec39
mov rax, qword [rsp + 0x40]
inc rax
mov qword [rsp + 0x40], rax
jmp 0x18001ec11
mov rax, qword [rsp + 0x28]
add rax, 0x11
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x40]
sub rcx, rax
mov rax, rcx
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x34], 0x40
mov dword [rsp + 0x38], 0
mov eax, dword [rsp + 0x30]
lea r9, [rsp + 0x38]
mov r8d, dword [rsp + 0x34]
mov edx, eax
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [rsp + 0x20], 0
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x48], rax
jmp 0x18001eca7
mov rax, qword [rsp + 0x48]
inc rax
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x40]
cmp qword [rsp + 0x48], rax
je 0x18001ece9
mov eax, dword [rsp + 0x20]
movzx eax, byte [rsp + rax + 0x80]
mov rcx, qword [rsp + 0x48]
movzx ecx, byte [rcx]
xor ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x48]
mov byte [rcx], al
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
and eax, 7
mov dword [rsp + 0x20], eax
jmp 0x18001ec9a
mov eax, dword [rsp + 0x30]
lea r9, [rsp + 0x34]
mov r8d, dword [rsp + 0x38]
mov edx, eax
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.180084a40
add rsp, 0x98
ret
Function at 0x140004340
Capabilities:
Create process on windows

Disassembly:
mov rax, rsp
push rbx
sub rsp, 0x90
xorps xmm0, xmm0
mov rbx, rcx
movups xmmword [rax - 0x78], xmm0
mov dword [rax - 0x78], 0x70
xor ecx, ecx
mov dword [rax - 0x74], 0x40
cmp qword [rbx + 0x18], 0xf
mov qword [rax - 0x70], rcx
movups xmmword [rax - 0x68], xmm0
movups xmmword [rax - 0x58], xmm0
movups xmmword [rax - 0x48], xmm0
movups xmmword [rax - 0x38], xmm0
movups xmmword [rax - 0x28], xmm0
movups xmmword [rax - 0x18], xmm0
lea rax, str.runas
mov qword [rsp + 0x30], rax
mov rax, rbx
jbe 0x14000439a
mov rax, qword [rbx]
mov qword [rsp + 0x38], rax
test dl, dl
lea rax, [0x1400d423a]
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x40], rax
mov eax, 5
cmovne eax, ecx
mov qword [rsp + 0x58], rcx
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x50], eax
call qword [sym.imp.SHELL32.dll_ShellExecuteExA]
mov rcx, rbx
test eax, eax
je 0x1400043e8
call fcn.140003c10
mov eax, 1
add rsp, 0x90
pop rbx
ret
call fcn.140003c10
xor eax, eax
add rsp, 0x90
pop rbx
ret
Function at 0x140004660
Capabilities:
Create process on windows

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x90
xor eax, eax
xorps xmm0, xmm0
mov dword [rsp + 0x54], eax
mov rdi, rdx
xor edx, edx
movaps xmmword [rsp + 0x60], xmm0
cmp qword [rcx + 0x18], 0xf
movzx r13d, r8b
movaps xmmword [rsp + 0x70], xmm0
mov rsi, rcx
mov qword [r11 - 0x38], rax
lea rax, str.runas
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x20], 0x70
mov dword [rsp + 0x24], 0x40
mov qword [rsp + 0x28], rdx
jbe 0x1400046d3
mov rcx, qword [rcx]
lea rax, [rsi + 0x18]
jmp 0x1400046d7
lea rax, [rcx + 0x18]
cmp qword [rdi + 0x18], 0xf
lea rbx, [rdi + 0x18]
mov qword [rsp + 0x38], rcx
lea r14, [rsi + 0x18]
mov rcx, rdi
jbe 0x1400046f4
mov rcx, qword [rdi]
mov r14, rax
lea rax, [0x1400d423a]
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x48], rax
lea rcx, [rsp + 0x20]
movzx eax, r9b
xor eax, 1
mov qword [rsp + 0x58], rdx
mov dword [rsp + 0x50], eax
mov qword [rsp + 0x88], rdx
call qword [sym.imp.SHELL32.dll_ShellExecuteExA]
mov r12d, eax
mov r15, r14
test eax, eax
je 0x140004760
test r13b, r13b
je 0x140004752
mov rcx, qword [rsp + 0x88]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea r15, [rsi + 0x18]
lea rbx, [rdi + 0x18]
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rsi + 0x18]
mov rbp, rbx
cmp rdx, 0xf
jbe 0x1400047a4
mov rcx, qword [rsi]
inc rdx
cmp rdx, 0x1000
jb 0x14000479c
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000481f
mov rcx, r8
lea rbp, [rdi + 0x18]
call fcn.14008fed8
mov r14, r15
xor r15d, r15d
mov qword [r14], 0xf
mov qword [rsi + 0x10], r15
mov byte [rsi], r15b
mov rdx, qword [rbx]
cmp rdx, 0xf
jbe 0x1400047ed
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x1400047e5
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000481f
mov rcx, r8
call fcn.14008fed8
mov rbx, rbp
lea r11, [rsp + 0x90]
mov qword [rbx], 0xf
mov rbx, qword [r11 + 0x30]
mov eax, r12d
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov qword [rdi + 0x10], r15
mov byte [rdi], r15b
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x140004830
Capabilities:
Enumerate files on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
push r14
lea rbp, [rsp - 0xb0]
sub rsp, 0x1b0
mov rdi, rdx
mov rbx, rcx
xor r14d, r14d
mov dword [rsp + 0x20], r14d
mov qword [rcx], r14
mov qword [rcx + 8], r14
mov qword [rcx + 0x10], r14
mov dword [rsp + 0x20], 1
lea r8, str._.
lea rcx, [rsp + 0x48]
call fcn.1400024e0
nop
lea rcx, [rsp + 0x48]
cmp qword [rsp + 0x60], 0xf
cmova rcx, qword [rsp + 0x48]
lea rdx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x14000498b
test byte [rsp + 0x70], 0x10
jne 0x14000496b
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x40], r14
lea rax, [rbp - 0x64]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x1400048e0
lea rdx, [rbp - 0x64]
lea rcx, [rsp + 0x28]
call fcn.140002630
nop
mov rdx, qword [rbx + 8]
cmp rdx, qword [rbx + 0x10]
je 0x140004925
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rsp + 0x38]
movups xmmword [rdx + 0x10], xmm1
mov edx, 0xf
mov byte [rsp + 0x28], 0
add qword [rbx + 8], 0x20
jmp 0x140004937
lea r8, [rsp + 0x28]
mov rcx, rbx
call fcn.140002900
mov rdx, qword [rsp + 0x40]
cmp rdx, 0xf
jbe 0x14000496b
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004966
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400049c6
call fcn.14008fed8
lea rdx, [rsp + 0x70]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x1400048b3
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindClose]
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 0xf
jbe 0x1400049d2
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400049cd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400049cd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.14008fed8
movdqa xmm0, xmmword [0x1400d44d0]
movdqu xmmword [rsp + 0x58], xmm0
mov byte [rsp + 0x48], 0
mov rdx, qword [rdi + 0x18]
cmp rdx, 0xf
jbe 0x140004a1b
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x140004a16
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140004a45
mov rcx, r8
call fcn.14008fed8
mov qword [rdi + 0x10], r14
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
mov rax, rbx
lea r11, [rsp + 0x1b0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x140005380
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
mov eax, 0x13e0
call fcn.140090250
sub rsp, rax
mov rsi, rdx
mov rdi, rcx
xor ebx, ebx
mov dword [rsp + 0x20], ebx
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
lea ecx, [rbx + 0x40]
call fcn.14008fe9c
mov rbp, rax
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x38], 0x34
mov qword [rsp + 0x40], 0x3f
movups xmm0, xmmword [str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz]
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x1400d42f8]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [0x1400d4308]
movups xmmword [rax + 0x20], xmm0
mov ecx, dword [0x1400d4318]
mov dword [rax + 0x30], ecx
mov byte [rax + 0x34], bl
call sub.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_
mov dword [rsp + 0x13d4], 0xffffffff
mov dword [rsp + 0x54], eax
lea edx, [rbx + 1]
nop dword [rax]
nop word [rax + rax]
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul eax, ecx, 0x6c078965
add eax, edx
mov dword [rsp + rdx*4 + 0x54], eax
inc rdx
cmp rdx, 0x270
jb 0x140005420
mov dword [rsp + 0x50], 0x270
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rbx
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
mov dword [rsp + 0x20], 1
test rsi, rsi
je 0x14000550b
lea rax, [rsp + 0x50]
mov qword [rsp + 0x1410], rax
movzx ebx, byte [rsp + 0x1410]
lea rcx, [rsp + 0x1410]
call fcn.140005620
mov ecx, eax
imul rax, rcx, 0x34
cmp eax, 0x2f
ja 0x1400054b8
nop word [rax + rax]
lea rcx, [rsp + 0x1410]
call fcn.140005620
mov ecx, eax
imul rax, rcx, 0x34
cmp eax, 0x30
jb 0x1400054a0
shr rax, 0x20
movsxd rcx, eax
movzx r9d, byte [rcx + rbp]
mov rcx, qword [rdi + 0x10]
mov rdx, qword [rdi + 0x18]
cmp rcx, rdx
jae 0x1400054f0
lea rax, [rcx + 1]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rdx, 0xf
jbe 0x1400054e5
mov rax, qword [rdi]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x140005501
movzx r8d, bl
mov edx, 1
mov rcx, rdi
call fcn.140003210
sub rsi, 1
jne 0x140005482
mov edx, 0x40
mov rcx, rbp
call fcn.14008fed8
mov rax, rdi
mov rbx, qword [rsp + 0x1408]
add rsp, 0x13e0
pop rdi
pop rsi
pop rbp
ret