joyce8/EMBER2024-capa huggingface dataset:
Function at 0x211920
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push rbp
push rbx
sub rsp, 0xa8
mov rbp, rsp
mov qword [rbp + 0x40], 0
mov qword [rbp + 0x78], 0
mov qword [rbp + 0x70], 0
mov qword [rbp + 0x48], rbp
mov qword [rbp + 0xc0], rcx
mov qword [rbp + 0xc8], rdx
nop
lea rcx, [rbp + 0x78]
mov rdx, qword [rbp + 0xc8]
call fcn.00020d00
mov rcx, qword [rbp + 0x78]
call fcn.00210e20
mov byte [rbp + 0x83], al
cmp byte [rbp + 0x83], 0
jne 0x211993
lea rcx, [rbp + 0x78]
mov edx, 1
mov r8d, 1
call fcn.00022200
mov rax, qword [rbp + 0xc0]
mov rax, qword [rax + 8]
mov qword [rbp + 0x98], rax
mov rcx, qword [rbp + 0xc0]
mov rdx, qword [rbp + 0xc8]
call fcn.00212b10
mov qword [rbp + 0x90], rax
cmp qword [rbp + 0x90], 0
je 0x211ae6
nop
mov rcx, qword [rbp + 0xc0]
mov rdx, qword [rbp + 0x90]
call fcn.00211330
mov rcx, qword [rbp + 0xc0]
lea rdx, [rbp + 0x54]
call fcn.00211c50
test al, al
je 0x211ac6
lea rcx, [rbp + 0x70]
xor edx, edx
mov r8d, dword [rbp + 0x58]
add r8d, 1
call fcn.00020910
mov eax, dword [rbp + 0x54]
sub eax, 1
mov dword [rbp + 0x84], eax
cmp dword [rbp + 0x84], 0
jl 0x211ac5
mov eax, dword [rbp + 0x58]
add eax, 1
mov dword [rbp + 0x88], eax
mov rcx, qword [rbp + 0x70]
call fcn.00021b20
mov rcx, qword [rbp + 0x90]
mov edx, dword [rbp + 0x84]
mov r8, rax
lea r9, [rbp + 0x88]
mov qword [rsp + 0x20], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], 0
call sub.advapi32.dll_RegEnumKeyExW
mov rcx, qword [rbp + 0xc0]
mov edx, eax
call fcn.00211250
test al, al
je 0x211ab1
mov rcx, qword [rbp + 0x70]
call fcn.00021b20
lea rcx, [rbp + 0x40]
mov rdx, rax
call fcn.00021bb0
mov rcx, qword [rbp + 0xc0]
mov rdx, qword [rbp + 0x40]
call fcn.00211920
sub dword [rbp + 0x84], 1
cmp dword [rbp + 0x84], 0xffffffff
jne 0x211a25
nop
nop
mov rcx, qword [rbp + 0xc0]
mov rdx, qword [rbp + 0x98]
call fcn.00211330
mov rcx, qword [rbp + 0x90]
call sub.advapi32.dll_RegCloseKey
cmp byte [0x0030d10c], 0
je 0x211b45
mov rcx, qword [rbp + 0xc0]
movzx rdx, byte [rbp + 0x83]
call fcn.00211310
mov rbx, rax
mov rcx, qword [rbp + 0x78]
call fcn.00021b20
mov rcx, rbx
mov rdx, rax
mov rax, qword [rbp + 0xc0]
mov r8d, dword [rax + 0x2c]
and r8d, 0x300
xor r9, r9
call sub.advapi32.dll_RegDeleteKeyExW
mov rcx, qword [rbp + 0xc0]
mov edx, eax
call fcn.00211250
mov byte [rbp + 0x8f], al
jmp 0x211b84
mov rcx, qword [rbp + 0xc0]
movzx rdx, byte [rbp + 0x83]
call fcn.00211310
mov rbx, rax
mov rcx, qword [rbp + 0x78]
call fcn.00021b20
mov rcx, rbx
mov rdx, rax
call sub.advapi32.dll_RegDeleteKeyW
mov rcx, qword [rbp + 0xc0]
mov edx, eax
call fcn.00211250
mov byte [rbp + 0x8f], al
nop
lea rcx, [rbp + 0x40]
call fcn.00020650
lea rcx, [rbp + 0x70]
mov edx, 2
call fcn.00020730
movzx rax, byte [rbp + 0x8f]
lea rsp, [rbp + 0xa8]
pop rbx
pop rbp
ret

Function at 0x211c20
Capabilities:
Delete registry value

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov rcx, rdx
call fcn.00021b20
mov rcx, qword [rbx + 8]
mov rdx, rax
call sub.advapi32.dll_RegDeleteValueW
mov rcx, rbx
mov edx, eax
call fcn.00211250
add rsp, 0x20
pop rbx
ret
Function at 0x211d00
Capabilities:
Query or enumerate registry key

Disassembly:
push rbp
push rsi
push rbx
sub rsp, 0x90
mov rbp, rsp
mov qword [rbp + 0x48], rcx
mov qword [rbp + 0x50], rdx
mov qword [rbp + 0x58], 0
mov qword [rbp + 0x68], 0
nop
mov rax, qword [rbp + 0x50]
mov rcx, rax
mov rbx, qword [rax]
call qword [rbx + 0x90]
mov rcx, qword [rbp + 0x48]
lea rdx, [rbp + 0x70]
call fcn.00211c50
test al, al
je 0x211dfd
lea rcx, [rbp + 0x68]
xor edx, edx
mov r8d, dword [rbp + 0x74]
add r8d, 1
call fcn.00020910
xor eax, eax
mov esi, dword [rbp + 0x70]
sub esi, 1
mov ebx, eax
cmp ebx, esi
jg 0x211dfc
sub esi, eax
add esi, 1
mov eax, dword [rbp + 0x74]
add eax, 1
mov dword [rbp + 0x8c], eax
mov rcx, qword [rbp + 0x68]
call fcn.00021b20
mov rcx, qword [rbp + 0x48]
mov rcx, qword [rcx + 8]
mov edx, ebx
mov r8, rax
lea r9, [rbp + 0x8c]
mov qword [rsp + 0x20], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], 0
call sub.advapi32.dll_RegEnumKeyExW
mov rcx, qword [rbp + 0x68]
call fcn.00021b20
lea rcx, [rbp + 0x58]
mov rdx, rax
call fcn.00021bb0
mov rcx, qword [rbp + 0x50]
mov rdx, qword [rbp + 0x58]
mov rax, qword [rbp + 0x50]
mov rax, qword [rax]
call qword [rax + 0x78]
add ebx, 1
sub esi, 1
test esi, esi
jne 0x211d75
nop
nop
lea rcx, [rbp + 0x58]
call fcn.00020650
lea rcx, [rbp + 0x68]
call fcn.00020650
lea rsp, [rbp + 0x90]
pop rbx
pop rsi
pop rbp
ret
Function at 0x2132a0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
sub rsp, 0x98
mov rbp, rsp
mov qword [rbp + 0x40], 0
mov qword [rbp + 0x58], 0
mov qword [rbp + 0x48], rbp
mov qword [rbp + 0xb0], rcx
mov qword [rbp + 0xb8], rdx
mov qword [rbp + 0xc0], r8
nop
mov rax, qword [rbp + 0xb0]
mov rax, qword [rax + 0x50]
mov rax, qword [rax + 8]
mov qword [rbp + 0x88], rax
mov rax, qword [rbp + 0xb0]
mov rcx, qword [rax + 0x50]
mov rdx, qword [rbp + 0xb8]
call fcn.00211330
nop
mov rax, qword [rbp + 0xb0]
mov rcx, qword [rax + 0x50]
lea rdx, [rbp + 0x64]
call fcn.00211c50
test al, al
je 0x213420
mov rcx, qword [rbp + 0xb0]
mov rdx, qword [rbp + 0xb8]
mov r8, qword [rbp + 0xc0]
xor r9, r9
call fcn.00213120
lea rcx, [rbp + 0x58]
xor edx, edx
mov r8d, dword [rbp + 0x70]
add r8d, 1
call fcn.00020910
xor eax, eax
mov ebx, dword [rbp + 0x6c]
sub ebx, 1
mov dword [rbp + 0x80], eax
cmp dword [rbp + 0x80], ebx
jg 0x21341f
sub ebx, eax
add ebx, 1
mov eax, dword [rbp + 0x70]
add eax, 1
mov dword [rbp + 0x84], eax
mov rcx, qword [rbp + 0x58]
call fcn.00021b20
mov rcx, qword [rbp + 0xb8]
mov edx, dword [rbp + 0x80]
mov r8, rax
lea r9, [rbp + 0x84]
mov qword [rsp + 0x20], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], 0
call sub.advapi32.dll_RegEnumValueW
mov rcx, qword [rbp + 0xb0]
mov rcx, qword [rcx + 0x50]
mov edx, eax
call fcn.00211250
test al, al
je 0x21340d
mov rcx, qword [rbp + 0x58]
call fcn.00021b20
lea rcx, [rbp + 0x40]
mov rdx, rax
call fcn.00021bb0
mov rcx, qword [rbp + 0xb0]
mov rdx, qword [rbp + 0xb8]
mov r8, qword [rbp + 0xc0]
mov r9, qword [rbp + 0x40]
call fcn.00213120
add dword [rbp + 0x80], 1
sub ebx, 1
test ebx, ebx
jne 0x21336f
nop
nop
mov rax, qword [rbp + 0xb0]
mov rcx, qword [rax + 0x50]
mov rdx, qword [rbp + 0x88]
call fcn.00211330
nop
lea rcx, [rbp + 0x40]
call fcn.00020650
lea rcx, [rbp + 0x58]
call fcn.00020650
lea rsp, [rbp + 0x98]
pop rbx
pop rbp
ret
Function at 0x245420
Capabilities:
Read http header

Disassembly:
push rbp
push rsi
push rbx
sub rsp, 0x90
mov rbp, rsp
mov qword [rbp + 0x30], rcx
mov qword [rbp + 0x38], rdx
mov dword [rbp + 0x44], r8d
mov qword [rbp + 0x48], r9
mov qword [rbp + 0x50], 0
mov qword [rbp + 0x58], 0
nop
mov ebx, dword [rbp + 0x44]
mov rax, qword [rbp + 0x48]
test rax, rax
je 0x24546e
or ebx, 0xffff
mov rcx, qword [rbp + 0x48]
call fcn.00021b20
mov rsi, rax
jmp 0x245470
xor esi, esi
mov dword [rbp + 0x8c], 0
mov rcx, qword [rbp + 0x38]
mov edx, ebx
mov r8, rsi

Function at 0x245850
Capabilities:
Initialize winhttp library

Disassembly:
push rbp
push rbx
sub rsp, 0x48
mov rbp, rsp
mov qword [rbp + 0x38], rbp
mov qword [rbp + 0x60], rcx
mov byte [rbp + 0x68], dl
cmp byte [rbp + 0x68], 0
je 0x24587c
mov rcx, qword [rbp + 0x60]
movzx rdx, byte [rbp + 0x68]
call fcn.0001dcd0
mov qword [rbp + 0x60], rax
nop
mov rcx, qword [rbp + 0x60]
call fcn.00261b60
mov rcx, qword [0x002435f8]
mov dl, 1
call fcn.002491c0
mov rcx, qword [rbp + 0x60]
mov qword [rcx + 0x110], rax
mov rcx, qword [0x001e91c8]
mov dl, 1
call fcn.001fa750
mov rcx, qword [rbp + 0x60]
mov qword [rcx + 0x108], rax
mov rcx, qword [0x002420f8]
call fcn.00248a50
lea rcx, [0x00245990]
mov edx, 1
xor r8, r8
xor r9, r9
mov dword [rsp + 0x20], 0
call sub.winhttp.dll_WinHttpOpen
mov rcx, qword [rbp + 0x60]
mov qword [rcx + 0x100], rax
test rax, rax
jne 0x245910
mov rcx, qword [0x002598d0]
mov dl, 1
mov r8, qword [0x002ffdb8]
call fcn.0004d730
mov rcx, rax
call fcn.0001f7b0
mov rax, qword [rbp + 0x60]
mov rcx, qword [rax + 0x100]
lea rdx, [0x00245650]
mov r8d, 0x10010
xor r9, r9
call sub.winhttp.dll_WinHttpSetStatusCallback
cmp byte [rbp + 0x68], 0
je 0x245973
mov rcx, qword [rbp + 0x60]
call fcn.0001dd10
mov qword [rbp + 0x60], rax
jmp 0x245973
mov rax, qword [rbp + 0x60]
lea rsp, [rbp + 0x48]
pop rbx
pop rbp
ret
Function at 0x246f70
Capabilities:
Prepare http request

Disassembly:
push rbp
push rsi
push rbx
sub rsp, 0xa0
mov rbp, rsp
mov qword [rbp + 0x40], rcx
mov qword [rbp + 0x48], rdx
mov qword [rbp + 0x50], 0
mov qword [rbp + 0x58], 0
mov qword [rbp + 0x88], 0
mov qword [rbp + 0x80], 0
nop
mov rax, qword [rbp + 0x40]
mov byte [rax + 0x120], 0
mov rax, qword [rbp + 0x48]
cmp dword [rax + 0x20], 0
jle 0x246fcc
mov rax, qword [rbp + 0x48]
movzx rbx, word [rax + 0x20]
jmp 0x246fce
xor ebx, ebx
mov rax, qword [rbp + 0x48]
mov rcx, qword [rax + 0x18]
call fcn.00021b20
mov rcx, qword [rbp + 0x40]
mov rcx, qword [rcx + 0x98]
mov rcx, qword [rcx + 0x100]
mov rdx, rax
mov r8d, ebx
xor r9, r9
call sub.winhttp.dll_WinHttpConnect
mov rcx, qword [rbp + 0x40]
mov qword [rcx + 0xf8], rax
test rax, rax
jne 0x24704d
mov rax, qword [rbp + 0x48]
mov rax, qword [rax + 0x18]
mov qword [rbp + 0x90], rax
mov byte [rbp + 0x98], 0x11
mov rcx, qword [0x00259a20]
mov dl, 1
mov r8, qword [0x002ff8f8]
lea r9, [rbp + 0x90]
mov dword [rsp + 0x20], 0
call fcn.0004d8f0
mov rcx, rax
call fcn.0001f7b0
xor ebx, ebx
mov rax, qword [rbp + 0x48]
mov rcx, qword [rax]
lea rdx, [0x00247240]
call fcn.00022190
test eax, eax
jne 0x24706c
or ebx, 0x800000
mov rcx, qword [rbp + 0x40]
lea rdx, [rbp + 0x88]
call fcn.001f3290
mov rcx, qword [rbp + 0x88]
call fcn.00021b20
mov rsi, rax
lea rcx, [rbp + 0x80]
mov rdx, qword [rbp + 0x48]
call fcn.002453c0
mov rcx, qword [rbp + 0x80]
call fcn.00021b20
mov rcx, qword [rbp + 0x40]
mov rcx, qword [rcx + 0xf8]
mov rdx, rsi
mov r8, rax
xor r9, r9
mov qword [rsp + 0x20], 0
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x30], ebx
call sub.winhttp.dll_WinHttpOpenRequest
mov rcx, qword [rbp + 0x40]
mov qword [rcx + 0x100], rax
test rax, rax
jne 0x24713e
call sub.KERNEL32.DLL_GetLastError
mov dword [rbp + 0x60], eax
mov byte [rbp + 0x68], 0
call sub.KERNEL32.DLL_GetLastError
lea rcx, [rbp + 0x58]
mov edx, eax
mov r8, qword [0x0030d140]
call fcn.0004b680
mov rax, qword [rbp + 0x58]
mov qword [rbp + 0x70], rax
mov byte [rbp + 0x78], 0x11
mov rcx, qword [0x00259a20]
mov dl, 1
mov r8, qword [0x002ffd50]
lea r9, [rbp + 0x60]
mov dword [rsp + 0x20], 1
call fcn.0004d8f0
mov rcx, rax
call fcn.0001f7b0
mov rax, qword [rbp + 0x40]
mov eax, dword [rax + 0x18]
mov rcx, qword [rbp + 0x40]
mov ecx, dword [rcx + 0x1c]
mov rdx, qword [rbp + 0x40]
mov rdx, qword [rdx + 0x100]
mov r8d, eax
mov r9d, ecx
mov dword [rsp + 0x20], ecx
mov rcx, rdx
mov edx, r8d
mov r8d, eax
call sub.winhttp.dll_WinHttpSetTimeouts
test eax, eax
jne 0x2471cb
call sub.KERNEL32.DLL_GetLastError
mov dword [rbp + 0x60], eax
mov byte [rbp + 0x68], 0
call sub.KERNEL32.DLL_GetLastError
lea rcx, [rbp + 0x50]
mov edx, eax
mov r8, qword [0x0030d140]
call fcn.0004b680
mov rax, qword [rbp + 0x50]
mov qword [rbp + 0x70], rax
mov byte [rbp + 0x78], 0x11
mov rcx, qword [0x00259a20]
mov dl, 1
mov r8, qword [0x002ffed0]
lea r9, [rbp + 0x60]
mov dword [rsp + 0x20], 1
call fcn.0004d8f0
mov rcx, rax
call fcn.0001f7b0
nop
lea rcx, [rbp + 0x50]
mov edx, 2
call fcn.00020730
lea rcx, [rbp + 0x80]
mov edx, 2
call fcn.00020730
lea rsp, [rbp + 0xa0]
pop rbx
pop rsi
pop rbp
ret
Function at 0x248a50
Capabilities:
Initialize winhttp library

Disassembly:
push rbp
push rbx
sub rsp, 0x48
mov rbp, rsp
mov qword [rbp + 0x38], rbp
mov qword [rbp + 0x60], rcx
mov rcx, qword [0x0030d138]
mov rax, qword [0x0030d138]
mov rbx, qword [rax]
call qword [rbx]
nop
cmp qword [0x0030d148], 0
jne 0x248acc
lea rcx, [0x00248b14]
mov edx, 1
xor r8, r8
xor r9, r9
mov dword [rsp + 0x20], 0
call sub.winhttp.dll_WinHttpOpen
mov qword [0x0030d148], rax
cmp qword [0x0030d148], 0
jne 0x248acc
mov rcx, qword [0x002598d0]
mov dl, 1
mov r8, qword [0x002ffdb8]
call fcn.0004d730
mov rcx, rax
call fcn.0001f7b0
nop
mov rcx, qword [0x0030d138]
mov rax, qword [0x0030d138]
mov rbx, qword [rax]
call qword [rbx + 8]
lea rsp, [rbp + 0x48]
pop rbx
pop rbp
ret
Function at 0x2a1a90
Capabilities:
Write file on windows

Disassembly:
push rbp
sub rsp, 0x90
mov rbp, rsp
mov qword [rbp + 0x40], 0
mov qword [rbp + 0x48], 0
mov qword [rbp + 0x50], 0
mov qword [rbp + 0x78], 0
mov qword [rbp + 0x58], rbp
mov qword [rbp + 0xa0], rcx
mov qword [rbp + 0xa8], rdx
mov rcx, qword [rbp + 0xa8]
call fcn.000207e0
nop
nop
lea rcx, [rbp + 0x50]
lea rdx, [0x002a1cc4]
lea r8, [0x002a1cf4]
mov r9d, 0x6cd7
call fcn.002a1020
mov rcx, qword [rbp + 0x50]
call fcn.00021b20
mov rcx, rax
mov edx, 0x40000000
mov r8d, 3
xor r9, r9
mov dword [rsp + 0x20], 3
mov dword [rsp + 0x28], 0x80
mov qword [rsp + 0x30], 0
call sub.KERNEL32.DLL_CreateFileW
mov dword [rbp + 0x8c], eax
mov eax, dword [rbp + 0x8c]
cmp rax, 0xffffffffffffffff
jne 0x2a1b7c
lea rcx, [rbp + 0x48]
lea rdx, [0x002a1d14]
lea r8, [0x002a1cf4]
mov r9d, 0x1e8d
call fcn.002a1020
mov rcx, qword [rbp + 0x48]
call fcn.00021b20
lea rcx, [0x00378c88]
mov rdx, rax
call fcn.00021bb0
jmp 0x2a1c3d
lea rcx, [rbp + 0x78]
mov rdx, qword [rbp + 0xa8]
call fcn.00020d00
mov dword [rbp + 0x88], 0
lea rcx, [rbp + 0x78]
call fcn.00020f70
mov qword [rbp + 0x68], rax
mov dword [rbp + 0x74], 0
cmp qword [rbp + 0x78], 0
je 0x2a1bbb
mov rax, qword [rbp + 0x78]
mov eax, dword [rax - 4]
mov dword [rbp + 0x74], eax
mov ecx, dword [rbp + 0x8c]
mov rdx, qword [rbp + 0x68]
mov r8d, dword [rbp + 0x74]
add r8d, r8d
lea r9, [rbp + 0x88]
mov qword [rsp + 0x20], 0
call sub.KERNEL32.DLL_WriteFile
mov dword [rbp + 0x84], eax
mov ecx, dword [rbp + 0x8c]
call sub.KERNEL32.DLL_CloseHandle
jmp 0x2a1c3c
nop
lea rcx, [rbp + 0x40]
mov edx, 3
call fcn.00020730
lea rcx, [rbp + 0x78]
call fcn.00020650
lea rcx, [rbp + 0xa8]
call fcn.00020650
mov rax, qword [rbp + 0xa0]
lea rsp, [rbp + 0x90]
pop rbp
ret
Function at 0x2a2110
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
sub rsp, 0x58
mov rbp, rsp
mov qword [rbp + 0x28], 0
mov qword [rbp + 0x48], 0
mov qword [rbp + 0x70], rcx
mov qword [rbp + 0x78], rdx
mov qword [rbp + 0x80], r8
mov rcx, qword [rbp + 0x78]
call fcn.000207e0
mov rcx, qword [rbp + 0x80]
call fcn.000207e0
nop
cmp byte [0x002fe364], 1
jne 0x2a223c
mov dword [rbp + 0x38], 0
cmp qword [rbp + 0x78], 0
je 0x2a2173
mov rax, qword [rbp + 0x78]
mov eax, dword [rax - 4]
mov dword [rbp + 0x38], eax
mov dword [rbp + 0x34], 0
cmp qword [rbp + 0x80], 0
je 0x2a2191
mov rax, qword [rbp + 0x80]
mov eax, dword [rax - 4]
mov dword [rbp + 0x34], eax
xor ecx, ecx
mov eax, dword [rbp + 0x38]
cdq
idiv dword [rbp + 0x34]
mov rbx, rax
mov dword [rbp + 0x44], ecx
cmp dword [rbp + 0x44], ebx
jg 0x2a21c5
sub ebx, ecx
add ebx, 1
lea rcx, [rbp + 0x48]
mov rdx, qword [rbp + 0x80]
call fcn.00021eb0
add dword [rbp + 0x44], 1
sub ebx, 1
test ebx, ebx
jne 0x2a21aa
nop
mov dword [rbp + 0x30], 0
cmp qword [rbp + 0x78], 0
je 0x2a21de
mov rax, qword [rbp + 0x78]
mov eax, dword [rax - 4]
mov dword [rbp + 0x30], eax
mov eax, 1
mov ebx, dword [rbp + 0x30]
mov dword [rbp + 0x44], eax
cmp dword [rbp + 0x44], ebx
jg 0x2a2239
sub ebx, eax
add ebx, 1
mov rax, qword [rbp + 0x78]
movsxd rcx, dword [rbp + 0x44]
mov rdx, qword [rbp + 0x48]
movsxd r8, dword [rbp + 0x44]
movzx rax, word [rax + rcx*2 - 2]
xor ax, word [rdx + r8*2 - 2]
mov word [rbp + 0x42], ax
lea rcx, [rbp + 0x28]
movzx rdx, word [rbp + 0x42]
call fcn.00021b60
mov rcx, qword [rbp + 0x70]
mov rdx, qword [rbp + 0x28]
call fcn.00021eb0
add dword [rbp + 0x44], 1
sub ebx, 1
test ebx, ebx
jne 0x2a21f3
nop
jmp 0x2a2249
mov rcx, qword [rbp + 0x70]
mov rdx, qword [rbp + 0x78]
call fcn.00020c80
nop
lea rcx, [rbp + 0x28]
call fcn.00020650
lea rcx, [rbp + 0x48]
call fcn.00020650
lea rcx, [rbp + 0x78]
mov edx, 2
call fcn.00020730
mov rax, qword [rbp + 0x70]
lea rsp, [rbp + 0x58]
pop rbx
pop rbp
ret
Function at 0x2a2940
Capabilities:
Create pipe
Create process on windows
Read file on windows

Disassembly:
push rbp
push rdi
sub rsp, 0x128
mov rbp, rsp
mov qword [rbp + 0x58], 0
mov qword [rbp + 0x140], rcx
mov qword [rbp + 0x148], rdx
mov rcx, qword [rbp + 0x148]
call fcn.000207e0
nop
mov dword [rbp + 0x108], 0x18
mov dword [rbp + 0x118], 0xffffffff
mov qword [rbp + 0x110], 0
lea rcx, [rbp + 0x100]
lea rdx, [rbp + 0xf8]
lea r8, [rbp + 0x108]
xor r9, r9
call sub.KERNEL32.DLL_CreatePipe
test eax, eax
je 0x2a2b57
mov ecx, 0x961
call fcn.00019180
mov qword [rbp + 0x70], rax
lea rcx, [rbp + 0x90]
mov edx, 0x68
xor r8, r8
call fcn.0001b7e0
mov dword [rbp + 0x90], 0x68
lea rax, [rbp + 0xcc]
or dword [rax], 0x100
mov ecx, 0xfffffff6
call sub.KERNEL32.DLL_GetStdHandle
mov qword [rbp + 0xe0], rax
mov rax, qword [rbp + 0xf8]
mov qword [rbp + 0xe8], rax
mov rax, qword [rbp + 0xf8]
mov qword [rbp + 0xf0], rax
lea rax, [rbp + 0xcc]
add dword [rax], 1
mov word [rbp + 0xd0], 0
lea rdi, [rbp + 0x78]
xor eax, eax
stosq qword [rdi], rax
stosq qword [rdi], rax
stosq qword [rdi], rax
lea rcx, [rbp + 0x148]
call fcn.00020f90
mov rcx, qword [rbp + 0x148]
call fcn.00021b20
xor ecx, ecx
mov rdx, rax
xor r8, r8
xor r9, r9
mov dword [rsp + 0x20], 0xffffffff
mov dword [rsp + 0x28], 0x20
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], 0
lea rax, [rbp + 0x90]
mov qword [rsp + 0x40], rax
lea rax, [rbp + 0x78]
mov qword [rsp + 0x48], rax
call sub.KERNEL32.DLL_CreateProcessW
test eax, eax
je 0x2a2b21
mov rcx, qword [rbp + 0x78]
mov edx, 0x64
call sub.KERNEL32.DLL_WaitForSingleObject
mov dword [rbp + 0x68], eax
cmp dword [rbp + 0x68], 0x102
je 0x2a2a9f
mov dword [rbp + 0x6c], 0
mov rcx, qword [rbp + 0x100]
mov rdx, qword [rbp + 0x70]
mov r8d, 0x960
lea r9, [rbp + 0x6c]
mov qword [rsp + 0x20], 0
call sub.KERNEL32.DLL_ReadFile
mov rax, qword [rbp + 0x70]
mov ecx, dword [rbp + 0x6c]
mov byte [rax + rcx], 0
mov rcx, qword [rbp + 0x70]
mov rdx, qword [rbp + 0x70]
call sub.user32.dll_OemToCharA
lea rcx, [rbp + 0x58]
mov rdx, qword [rbp + 0x70]
call fcn.00021b80
mov rcx, qword [rbp + 0x140]
mov rdx, qword [rbp + 0x58]
call fcn.00021eb0
cmp dword [rbp + 0x6c], 0x960
jae 0x2a2ab9
mov rcx, qword [rbp + 0x70]
call fcn.000191e0
mov rcx, qword [rbp + 0x78]
call sub.KERNEL32.DLL_CloseHandle
mov rcx, qword [rbp + 0x80]
call sub.KERNEL32.DLL_CloseHandle
mov rcx, qword [rbp + 0x100]
call sub.KERNEL32.DLL_CloseHandle
mov rcx, qword [rbp + 0xf8]
call sub.KERNEL32.DLL_CloseHandle
nop
lea rcx, [rbp + 0x58]
call fcn.00020650
lea rcx, [rbp + 0x148]
call fcn.00020650
mov rax, qword [rbp + 0x140]
lea rsp, [rbp + 0x128]
pop rdi
pop rbp
ret
Function at 0x2a4cf0
Capabilities:
Encode data using xor

Disassembly:
push rbp
sub rsp, 0x40
mov rbp, rsp
mov qword [rbp + 0x50], rcx
mov byte [rbp + 0x58], dl
cmp qword [rbp + 0x50], 0
je 0x2a4d71
mov rcx, qword [rbp + 0x50]
mov rax, qword [rbp + 0x50]
mov rax, qword [rax]
call qword [rax]
cmp rax, 1
jl 0x2a4d71
mov rax, qword [rbp + 0x50]
mov rax, qword [rax + 8]
mov qword [rbp + 0x28], rax
mov qword [rbp + 0x30], 0
mov rcx, qword [rbp + 0x50]
mov rax, qword [rbp + 0x50]
mov rax, qword [rax]
call qword [rax]
xor ecx, ecx
lea rax, [rax - 1]
mov qword [rbp + 0x38], rcx
cmp qword [rbp + 0x38], rax
jg 0x2a4d70
neg rcx
lea rax, [rax + rcx + 1]
mov rcx, qword [rbp + 0x28]
movzx rdx, byte [rbp + 0x58]
xor byte [rcx], dl
add qword [rbp + 0x28], 1
add qword [rbp + 0x38], 1
sub rax, 1
test rax, rax
jne 0x2a4d52
nop
lea rsp, [rbp + 0x40]
pop rbp
ret

Function at 0x2a4d80
Capabilities:
Create process on windows

Disassembly:
push rbp
push rbx
sub rsp, 0xf8
mov rbp, rsp
mov qword [rbp + 0x58], rbp
mov qword [rbp + 0x110], rcx
mov qword [rbp + 0x118], rdx
nop
mov dword [rbp + 0xec], 0
lea rcx, [rbp + 0x80]
mov edx, 0x68
xor r8, r8
call fcn.0001b7e0
mov dword [rbp + 0x80], 0x68
mov word [rbp + 0xc0], 0
mov dword [rbp + 0xbc], 1
lea rcx, [rbp + 0x68]
mov edx, 0x18
xor r8, r8
call fcn.0001b7e0
mov rcx, qword [rbp + 0x110]
call fcn.00021b20
mov rbx, rax
mov rcx, qword [rbp + 0x118]
call fcn.00021b20
mov rcx, rbx
mov rdx, rax
xor r8, r8
xor r9, r9
mov dword [rsp + 0x20], 0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], 0
lea rax, [rbp + 0x80]
mov qword [rsp + 0x40], rax
lea rax, [rbp + 0x68]
mov qword [rsp + 0x48], rax
call sub.KERNEL32.DLL_CreateProcessW
test eax, eax
je 0x2a4e81
mov eax, dword [rbp + 0x78]
mov dword [rbp + 0xec], eax
mov rcx, qword [rbp + 0x68]
call sub.KERNEL32.DLL_CloseHandle
mov rcx, qword [rbp + 0x70]
call sub.KERNEL32.DLL_CloseHandle
jmp 0x2a4e81
mov eax, dword [rbp + 0xec]
lea rsp, [rbp + 0xf8]
pop rbx
pop rbp
ret
Function at 0x2a67d0
Capabilities:
Create process on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x88
mov rbp, rsp
mov qword [rbp + 0x60], 0
mov qword [rbp + 0x58], 0
mov qword [rbp + 0x50], 0
mov qword [rbp + 0x48], 0
mov qword [rbp + 0x40], 0
mov qword [rbp + 0x38], 0
mov qword [rbp + 0x68], 0
mov qword [rbp + 0x70], 0
mov qword [rbp + 0x78], rbp
nop
mov rcx, qword [0x002fe368]
call fcn.002a22d0
cmp al, 1
jne 0x2a6971
cmp byte [0x00378c80], 0
jne 0x2a6971
nop
lea rcx, [rbp + 0x70]
call fcn.002a6770
lea rcx, [0x0030d210]
mov rdx, qword [rbp + 0x70]
call fcn.00020c80
lea rcx, [rbp + 0x68]
mov edx, dword [0x00378cb0]
call fcn.000423d0
lea rcx, [0x00378cb8]
mov rdx, qword [rbp + 0x68]
call fcn.00020c80
lea rcx, [rbp + 0x60]
lea rdx, [0x002a69c8]
lea r8, [0x002a69e4]
mov r9d, 0x8061
call fcn.002a1020
mov rcx, qword [rbp + 0x60]
call fcn.00021b20
mov rbx, rax
lea rcx, [rbp + 0x50]
lea rdx, [0x002a6a04]
lea r8, [0x002a69e4]
mov r9d, 0x9638
call fcn.002a1020
mov rcx, qword [rbp + 0x50]
call fcn.00021b20
lea rcx, [rbp + 0x48]
mov rdx, rax
call fcn.00021bb0
lea rcx, [rbp + 0x40]
lea rdx, [0x002a6a34]
lea r8, [0x002a69e4]
mov r9d, 0xd2d8
call fcn.002a1020
mov rcx, qword [rbp + 0x40]
call fcn.00021b20
lea rcx, [rbp + 0x38]
mov rdx, rax
call fcn.00021bb0
lea rcx, [rbp + 0x58]
mov edx, 4
mov r8, qword [rbp + 0x48]
mov r9, qword [0x0030d210]
mov rax, qword [rbp + 0x38]
mov qword [rsp + 0x20], rax
mov rax, qword [0x00378cb8]
mov qword [rsp + 0x28], rax
call fcn.000220b0
mov rcx, qword [rbp + 0x58]
call fcn.00021b20
xor ecx, ecx
xor edx, edx
mov r8, rbx
mov r9, rax
mov qword [rsp + 0x20], 0
mov dword [rsp + 0x28], 1
call sub.shell32.dll_ShellExecuteW
mov byte [0x00378c71], 0
jmp 0x2a6972
nop
lea rcx, [rbp + 0x38]
mov edx, 8
call fcn.00020730
lea rsp, [rbp + 0x88]
pop rbx
pop rbp
ret
Function at 0x2b07d0
Capabilities:
Create thread

Disassembly:
push rbp
sub rsp, 0x70
mov rbp, rsp
mov qword [rbp + 0x60], 0
mov qword [rbp + 0x30], 0
mov qword [rbp + 0x58], 0
mov qword [rbp + 0x40], 0
mov qword [rbp + 0x38], 0
mov qword [rbp + 0x50], 0
mov qword [rbp + 0x48], 0
mov qword [rbp + 0x68], rbp
nop
cmp byte [0x00378c70], 0
je 0x2b082a
mov rcx, qword [0x002fe368]
call fcn.002a3f80
nop
xor ecx, ecx
xor edx, edx
lea r8, [fcn.002a7a40]
xor r9, r9
mov dword [rsp + 0x20], 0
lea rax, [0x0030d204]
mov qword [rsp + 0x28], rax
call sub.KERNEL32.DLL_CreateThread
mov qword [0x0030d1e8], rax
jmp 0x2b0863
mov rcx, qword [0x002fe368]
call fcn.002a33b0
mov rcx, qword [0x002fe368]
call fcn.002aa810
nop
lea rcx, [rbp + 0x50]
lea rdx, [0x002b09a8]
lea r8, [0x002b09c0]
mov r9d, 0xd563
call fcn.002a1020
mov rcx, qword [rbp + 0x50]
call fcn.00021b20
lea rcx, [rbp + 0x48]
mov rdx, rax
call fcn.00021bb0
lea rcx, [rbp + 0x58]
mov rdx, qword [rbp + 0x48]
call fcn.000522b0
lea rcx, [rbp + 0x40]
lea rdx, [0x002b09e0]
lea r8, [0x002b09c0]
mov r9d, 0xa2a7
call fcn.002a1020
mov rcx, qword [rbp + 0x40]
call fcn.00021b20
lea rcx, [rbp + 0x38]
mov rdx, rax
call fcn.00021bb0
lea rcx, [rbp + 0x60]
mov edx, 3
mov r8, qword [rbp + 0x58]
mov r9, qword [rbp + 0x38]
mov rax, qword [0x002fe398]
mov qword [rsp + 0x20], rax
call fcn.000220b0
lea rcx, [rbp + 0x30]
mov rdx, qword [0x00378c30]
lea r8, [0x002b09f0]
call fcn.00021f80
mov rcx, qword [rbp + 0x60]
mov rdx, qword [rbp + 0x30]
call fcn.00193310
jmp 0x2b093d
nop
lea rcx, [rbp + 0x30]
mov edx, 7
call fcn.00020730
lea rsp, [rbp + 0x70]
pop rbp
ret

Function at 0x2b1ba0
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
mov dword [rsp + 0x40], ecx
cmp dword [rsp + 0x40], 0
je 0x2b1be4
cmp dword [rsp + 0x40], 1
jne 0x2b1be4
xor ecx, ecx
xor edx, edx
lea r8, [0x002b0a40]
xor r9, r9
mov dword [rsp + 0x20], 0
lea rax, [0x0030d1f4]
mov qword [rsp + 0x28], rax
call sub.KERNEL32.DLL_CreateThread
mov qword [0x0030d1c8], rax
cmp dword [rsp + 0x40], 2
je 0x2b1bf0
cmp dword [rsp + 0x40], 3
add rsp, 0x38
ret