joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140077030
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r14
sub rsp, 0x20
mov eax, dword [rcx + 0x18]
mov rbx, rcx
mov ebp, r8d
mov r14, rdx
lea ecx, [rax + rax]
mov eax, dword [rbx + 0x20]
add rax, 0x18
add rcx, rax
call qword [sub.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test rax, rax
jne 0x140077072
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
lea rcx, [rax + 0x18]
mov qword [rax], rbx
mov qword [rax + 8], rcx
mov eax, dword [rbx + 0x18]
add rax, rcx
mov qword [rsp + 0x48], rsi
mov qword [rdi + 0x10], rax
cmp ebp, dword [rbx + 0x1c]
jbe 0x1400770b9
call qword [rbx]
mov rcx, qword [rdi + 8]
mov r8d, ebp
mov rdx, r14
call qword [rbx + reloc.WS2_32.dll_htonl]
mov r14d, dword [rbx + 0x18]
add r14, qword [rdi + 0x10]
mov rdx, qword [rdi + 8]
mov rcx, r14
call qword [rbx + reloc.WS2_32.dll_recv]
mov rcx, qword [rdi + 8]
mov ebp, dword [rbx + 0x20]
call qword [rbx]
mov rcx, qword [rdi + 0x10]
call qword [rbx]
xor esi, esi
test rbp, rbp
je 0x140077112
mov rsi, rbp
nop dword [rax + rax]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x36
mov r8d, 1
mov byte [rsp + 0x40], al
mov rcx, qword [rdi + 8]
call qword [rbx + reloc.WS2_32.dll_htonl]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x5c
lea r14, [r14 + 1]
mov byte [rsp + 0x40], al
mov r8d, 1
mov rcx, qword [rdi + 0x10]
call qword [rbx + reloc.WS2_32.dll_htonl]
sub rbp, 1
jne 0x1400770d0
mov eax, dword [rbx + 0x1c]
cmp rsi, rax
jae 0x140077153
nop word [rax + rax]
mov rcx, qword [rdi + 8]
lea rdx, [0x14008a0fa]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov rcx, qword [rdi + 0x10]
lea rdx, [0x14008a0fb]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov eax, dword [rbx + 0x1c]
inc rsi
cmp rsi, rax
jb 0x140077120
mov rsi, qword [rsp + 0x48]
mov rax, rdi
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret

Function at 0x140078218
Capabilities:
Parse pe header

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

Disassembly:
call fcn.140cb61df
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 0x140cb6089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140cb606f
add dl, dl
jne 0x140cb6096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140cb60f6
xor eax, eax
add dl, dl
jne 0x140cb60a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140cb61ad
add dl, dl
jne 0x140cb60b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140cb60c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140cb60d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140cb60dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x140cb60ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x140cb607e
mov eax, 1
add dl, dl
jne 0x140cb6106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140cb6113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140cb60fb
sub eax, ebx
mov ebx, 1
jne 0x140cb614c
mov ecx, 1
add dl, dl
jne 0x140cb612e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140cb613b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140cb6123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140cb607e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140cb6168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140cb6175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140cb615d
cmp eax, 0x7d00
jae 0x140cb619b
cmp eax, 0x500
jb 0x140cb6196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140cb607e
cmp eax, 0x7f
ja 0x140cb619e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140cb607e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x140cb61d2
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 0x140cb607e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x100003a70
Capabilities:
Initialize winsock library

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x1e0
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov rax, qword [0x100011150]
xor rax, rsp
mov qword [rsp + 0x1d0], rax
mov rbp, r8
mov r12, rdx
xor r13d, r13d
cmp r8, r13
jne 0x100003abc
mov eax, 0x80004003
jmp 0x100003b98
mov qword [r8], r13
mov esi, 0x8007000e
cmp byte [rcx + 0x50], 0xe8
jbe 0x100003b49
add byte [rax], al
mov rdi, rax
mov qword [rsp + 0x20], rax
lea r14, [0x100001b30]
lea r15, [0x100001b58]
cmp rax, r13
je 0x100003b2e
mov dword [rax + 0x10], r13d
xor edx, edx
lea r8d, [rdx + 0x28]
lea rcx, [rax + 0x18]
call sub.msvcrt.dll_memset
mov byte [rdi + 0x40], r13b
mov byte [0x100011cc5], r13b
mov ecx, 0x202
lea rdx, [rsp + 0x30]
call qword [sym.imp.WS2_32.dll_WSAStartup]
call fcn.100009550
nop
mov qword [rdi], r14
mov qword [rdi + 8], r15
lock add dword [0x100011bb8], 1
jmp 0x100003b31
mov rdi, r13
cmp rdi, r13
je 0x100003b96
lea rcx, [rdi + 0x18]
call fcn.100004418
mov esi, eax
cmp eax, r13d
jl 0x100003b4a
mov byte [rdi + 0x40], 1
cmp eax, r13d
cmovge esi, r13d
cmp esi, r13d
jne 0x100003b6b
mov rax, qword [rdi]
mov r8, rbp
mov rdx, r12
mov rcx, rdi
call qword [rax]
mov esi, eax
cmp eax, r13d
je 0x100003b96
mov qword [rsp + 0x20], rdi
mov qword [rdi], r14
mov qword [rdi + 8], r15
mov dword [rdi + 0x10], 1
lock add dword [0x100011bb8], 0xffffffff
mov rcx, rdi
call fcn.100008de0
mov rcx, rdi
call sub.msvcrt.dll_free
mov eax, esi
mov rcx, qword [rsp + 0x1d0]
xor rcx, rsp
call fcn.10000be20
mov rbx, qword [rsp + 0x220]
add rsp, 0x1e0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140001110
Capabilities:
Encode data using xor
Query or enumerate registry value

Disassembly:
push rdi
sub rsp, 0x40
lea rax, [rsp + 0x68]
mov qword [rsp + 0x38], rbx
lea rdx, str.SOFTWARERegisterAppNt32
xor ebx, ebx
mov r9d, 0xf003f
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
mov edi, ebx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1400012a4
mov rcx, qword [rsp + 0x68]
lea rax, [rsp + 0x58]
lea rdx, str.IP_Value
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x58], 4
mov dword [rsp + 0x60], ebx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1400012a4
mov rcx, qword [rsp + 0x68]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rax
lea rsi, [0x140004150]
lea rdx, str.GATEWAY1_Value
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x50], 0x104
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x140001222
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, rsi
repne scasb al, byte [rdi]
mov r8d, ebx
mov rdi, rbx
not rcx
dec rcx
movsxd r9, ecx
test ecx, ecx
jle 0x14000121d
nop dword [rax + rax]
mov eax, 0x55555556
inc rdi
imul r8d
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dl
add al, al
add dl, al
movzx eax, r8b
inc r8d
sub al, dl
add al, 2
add byte [rdi + rsi - 1], al
cmp rdi, r9
jl 0x1400011f0
mov edi, 1
mov rcx, qword [rsp + 0x68]
lea rax, [rsp + 0x50]
lea rsi, [0x140004260]
mov qword [rsp + 0x28], rax
lea rdx, str.GATEWAY2_Value
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rsi
mov dword [rsp + 0x50], 0x104
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x14000129f
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, rsi
repne scasb al, byte [rdi]
mov rdi, rbx
not rcx
dec rcx
movsxd r8, ecx
test ecx, ecx
jle 0x14000129a
nop word [rax + rax]
mov eax, ebx
inc rdi
inc ebx
cdq
and eax, 1
xor eax, edx
sub eax, edx
inc al
add byte [rdi + rsi - 1], al
cmp rdi, r8
jl 0x140001280
mov edi, 1
mov rsi, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x38]
test rcx, rcx
je 0x1400012b9
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
add rsp, 0x40
pop rdi
ret
Function at 0x1400012d0
Capabilities:
Create process on windows
Download url
Receive data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
xor ebp, ebp
mov rdi, rdx
mov rsi, rcx
mov ebx, ebp
nop
xor r9d, r9d
mov r8, rdi
mov rdx, rsi
xor ecx, ecx
mov qword [rsp + 0x20], rbp
call sub.urlmon.dll_URLDownloadToFileA
test eax, eax
je 0x14000131f
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
inc ebx
cmp ebx, 0x64
jl 0x1400012f0
mov eax, ebp
jmp 0x140001360
mov rcx, rdi
call fcn.140001000
cmp eax, 0x1f40
jbe 0x140001353
lea rdx, str.open
xor r9d, r9d
mov r8, rdi
xor ecx, ecx
mov dword [rsp + 0x28], ebp
mov ebx, 1
mov qword [rsp + 0x20], rbp
call qword [sym.imp.SHELL32.dll_ShellExecuteA]
jmp 0x140001355
mov ebx, ebp
mov rcx, rsi
call qword [sym.imp.WININET.dll_DeleteUrlCacheEntryA]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x140001790
Capabilities:
Acquire debug privileges

Disassembly:
sub rsp, 0x28
lea rcx, str.SeDebugPrivilege
mov edx, 1
call fcn.140001060
call fcn.140001380
xor eax, eax
add rsp, 0x28
ret

Function at 0x140001c8b
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x140004120]
jne 0x14000186a
rol rcx, 0x10
test cx, 0xffff
jne 0x140001866
repz ret
ror rcx, 0x10
jmp 0x140001be4
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x140004430]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x140004528]
mov qword [rsp + 0x58], r11
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x140001c69
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x140004430]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x140001c8b
mov rax, qword [rsp + 0x88]
mov qword [0x140004528], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x1400044c8], rax
mov rax, qword [0x140004528]
mov qword [0x1400043a0], rax
mov rax, qword [rsp + 0x90]
mov qword [0x1400044b0], rax
mov dword [0x140004390], 0xc0000409
mov dword [0x140004394], 1
mov rax, qword [0x140004120]
mov qword [rsp + 0x68], rax
mov rax, qword [0x140004128]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x140004428], eax
mov ecx, 1
call sub.MSVCR90.dll___crt_debugger_hook
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x1400032e8]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x140004428], 0
jne 0x140001d12
mov ecx, 1
call sub.MSVCR90.dll___crt_debugger_hook
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret
Function at 0x401010
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [0x004045e0]
xor edx, edx
mov dword [rax], 1
mov rax, qword [0x004045f0]
mov dword [rax], 1
mov rax, qword [0x00404600]
mov dword [rax], 1
mov rax, qword [0x004045d0]
mov dword [rax], 1
mov rax, qword [0x004044c0]
cmp word [rax], 0x5a4d
je 0x4010b0
mov rax, qword [0x004045c0]
mov dword [0x00407008], edx
mov eax, dword [rax]
test eax, eax
je 0x4010a0
mov ecx, 2
call sym.__set_app_type
call sym.__p__fmode
mov rdx, qword [0x00404580]
mov edx, dword [rdx]
mov dword [rax], edx
call sym._setargv
mov rax, qword [0x00404470]
cmp dword [rax], 1
je 0x4010f0
xor eax, eax
add rsp, 0x28
ret
mov ecx, 1
call sym.__set_app_type
jmp 0x401075
movsxd rcx, dword [rax + 0x3c]
add rax, rcx
cmp dword [rax], 0x4550
jne 0x401058
movzx ecx, word [rax + 0x18]
cmp cx, 0x10b
je 0x401103
cmp cx, 0x20b
jne 0x401058
cmp dword [rax + 0x84], 0xe
jbe 0x401058
mov ecx, dword [rax + 0xf8]
xor edx, edx
test ecx, ecx
setne dl
jmp 0x401058
lea rcx, [sym._matherr]
call sym.__mingw_setusermatherr
xor eax, eax
add rsp, 0x28
ret
cmp dword [rax + 0x74], 0xe
jbe 0x401058
mov r8d, dword [rax + 0xe8]
xor edx, edx
test r8d, r8d
setne dl
jmp 0x401058
Function at 0x402740
Capabilities:
Parse pe header

Disassembly:
cmp word [rcx], 0x5a4d
je 0x402750
xor eax, eax
ret
jmp sym._ValidateImageBase.part.0

Function at 0x402760
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
lea rax, [rcx + rax + 0x18]
movzx ecx, word [rcx + 6]
test ecx, ecx
je 0x4027a1
sub ecx, 1
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
mov r8d, dword [rax + 0xc]
cmp r8, rdx
mov rcx, r8
ja 0x402798
add ecx, dword [rax + 8]
cmp rcx, rdx
ja 0x4027a3
add rax, 0x28
cmp rax, r9
jne 0x402784
xor eax, eax
ret

Function at 0x402840
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r8, qword [0x004044c0]
cmp word [r8], 0x5a4d
mov rdx, rcx
jne 0x4028ad
mov rcx, r8
call sym._ValidateImageBase.part.0
test eax, eax
je 0x4028ad
movsxd rax, dword [r8 + 0x3c]
mov rcx, rdx
sub rcx, r8
add r8, rax
movzx edx, word [r8 + 6]
movzx eax, word [r8 + 0x14]
test edx, edx
lea rax, [r8 + rax + 0x18]
je 0x4028ad
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x4028a4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x4028af
add rax, 0x28
cmp rax, r9
jne 0x402890
xor eax, eax
add rsp, 0x28
ret

Function at 0x4029b0
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r8, qword [0x004044c0]
xor eax, eax
cmp word [r8], 0x5a4d
mov rdx, rcx
je 0x4029d0
add rsp, 0x28
ret
mov rcx, r8
call sym._ValidateImageBase.part.0
test eax, eax
je 0x4029c8
movsxd rax, dword [r8 + 0x3c]
mov rcx, rdx
sub rcx, r8
add r8, rax
movzx edx, word [r8 + 6]
movzx eax, word [r8 + 0x14]
test edx, edx
lea rax, [r8 + rax + 0x18]
je 0x402a2d
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x402a24
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x402a34
add rax, 0x28
cmp rax, r9
jne 0x402a10
xor eax, eax
add rsp, 0x28
ret
mov eax, dword [rax + 0x24]
not eax
shr eax, 0x1f
add rsp, 0x28
ret

Function at 0x402a50
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r11, qword [0x004044c0]
cmp word [r11], 0x5a4d
mov r9d, ecx
jne 0x402abe
mov rcx, r11
call sym._ValidateImageBase.part.0
test eax, eax
je 0x402abe
movsxd rax, dword [r11 + 0x3c]
add rax, r11
mov edx, dword [rax + 0x90]
test edx, edx
je 0x402abe
movzx ecx, word [rax + 0x14]
lea rcx, [rax + rcx + 0x18]
movzx eax, word [rax + 6]
test eax, eax
je 0x402abe
sub eax, 1
lea rax, [rax + rax*4]
lea rax, [rcx + rax*8 + 0x28]
mov r10d, dword [rcx + 0xc]
cmp rdx, r10
mov r8, r10
jb 0x402ab5
add r8d, dword [rcx + 8]
cmp rdx, r8
jb 0x402ac5
add rcx, 0x28
cmp rcx, rax
jne 0x402aa0
xor eax, eax
add rsp, 0x28
ret
add rdx, r11
jne 0x402ad8
jmp 0x402abe
sub r9d, 1
add rdx, 0x14
mov ecx, dword [rdx + 4]
test ecx, ecx
jne 0x402ae6
mov eax, dword [rdx + 0xc]
test eax, eax
je 0x402abe
test r9d, r9d
jg 0x402ad0
mov eax, dword [rdx + 0xc]
add rax, r11
add rsp, 0x28
ret
Function at 0x140c4a1ee
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp], rsi
push rbx
lea rsi, [0x140c61880]
mov ebx, 0x9353da2
bswap ebx
movzx ebx, byte [r9]
xor ebx, edx
push 0xffffffffc192d223
and ebx, 0xff
mov ebx, dword [rsi + rbx*4]
shr edx, 8
xor edx, ebx
inc r9
xor edx, 0x351d1f3d
inc byte [rsp + 3]
dec rax
push 0x4b06d093
lea rsp, [rsp + 0x10]
jne 0x140c4a1fa
mov esi, 0xe515ea05
pop rbx
not esi
pop rsi
not edx
call fcn.140c658de
mov edx, dword [r11]
inc rbx
mov ebx, dword [r11 + 4]
jnp 0x140c62cfe
call fcn.140c39225
mov eax, 0x1ea81214
mov r9, qword [r11 + rax*2 - 0x3d502428]
bswap rax
sub eax, 0xdcadb83d
xor ax, 0x8a0
mov ax, word [rax + r11 - 0x23524f5b]
adc r11, 0xa
mov word [r9], ax
call fcn.140c5d715

Function at 0x140c5c6e7
Capabilities:
Encode data using xor

Disassembly:
not eax
push 0xffffffff90a6b2b6
mov dword [r11], eax
not dword [rsp + 2]
lea rsp, [rsp + 8]
jmp fcn.140c5deb1
mov qword [rsp], r11
mov r10d, 0xcaa15526
lea r10, [0x140c55638]
mov r11d, 0x2810c80d
movzx r11d, byte [r11 + r9 - 0x2810c80d]
xor r11d, eax
and r11d, 0xff
mov r11d, dword [r10 + r11*4]
shr eax, 8
push 0x7a4ad10
xor eax, r11d
inc r9
xor eax, 0x3f946d8c
ror qword [rsp], 0x52
push 0x2bb4b0bc
dec rdi
not byte [rsp + 3]
lea rsp, [rsp + 0x10]
jne 0x140c5c6f8
pop r11
jmp 0x140c27cf5
Function at 0x140002100
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x280
mov rax, qword [0x140048040]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x28], rax
xor ebp, ebp
mov dword [rsp + 0x20], ebp
lea r14, [0x14004aa60]
mov qword [rsp + 0x28], r14
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x60]
call sub.VCRUNTIME140.dll_memset
mov qword [0x14004aa60], rbp
mov qword [0x14004aa68], rbp
lea ecx, [rbp + 0x60]
call fcn.140031bc8
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [0x14004aa60], rax
mov dword [rsp + 0x20], 1
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], rbp
mov qword [rsp + 0x58], rbp
lea r8d, [rbp + 2]
lea rdx, [0x140035e44]
lea rcx, [rsp + 0x40]
call fcn.140003b40
nop
mov esi, 0x41
lea rax, [rsp + 0x40]
cmp qword [rsp + 0x58], 7
cmova rax, qword [rsp + 0x40]
mov word [rax], si
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 7
cmova rcx, qword [rsp + 0x40]
mov r8d, 0x104
lea rdx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x140002267
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x30]
call fcn.140003880
mov rcx, qword [rax]
add rcx, 0x40
lea rax, [rsp + 0x60]
mov rdx, 0xffffffffffffffff
nop dword [rax]
inc rdx
cmp word [rax + rdx*2], 0
jne 0x140002220
mov rax, qword [rcx + 0x18]
cmp rdx, rax
ja 0x14000225d
mov rdi, rcx
cmp rax, 7
jbe 0x14000223f
mov rdi, qword [rcx]
mov qword [rcx + 0x10], rdx
lea rbx, [rdx + rdx]
mov r8, rbx
lea rdx, [rsp + 0x60]
mov rcx, rdi
call sub.VCRUNTIME140.dll_memmove
mov word [rbx + rdi], bp
jmp 0x140002267
lea r9, [rsp + 0x60]
call fcn.140003d60
inc si
cmp si, 0x5a
jbe 0x1400021c0
mov rdx, qword [rsp + 0x58]
cmp rdx, 7
jbe 0x1400022b9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400022b4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400022b4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140031aa0
mov rax, r14
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.140031a80
lea r11, [rsp + 0x280]
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 0x140002320
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x70
mov rax, qword [0x140048040]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rsi, rdx
mov rbp, rcx
mov qword [rsp + 0x38], rcx
xor r12d, r12d
mov rax, qword gs:[0x58]
mov ecx, 4
mov rax, qword [rax]
mov ecx, dword [rcx + rax]
cmp dword [0x14004aa58], ecx
jg 0x140002541
mov rbx, qword [0x14004aa60]
mov rbx, qword [rbx]
cmp byte [rbx + 0x19], 0
jne 0x140002429
mov r14, qword [rsi + 0x10]
mov r15, qword [rsi + 0x18]
nop
lea rdi, [rbx + 0x20]
lea r9, [rdi + 0x20]
mov rax, qword [r9 + 0x10]
cmp qword [r9 + 0x18], 7
jbe 0x1400023a6
mov r9, qword [r9]
mov rcx, rsi
cmp r15, 7
jbe 0x1400023b2
mov rcx, qword [rsi]
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rdx, r14
call fcn.140003a50
test rax, rax
je 0x14000245d
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
je 0x1400023f8
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x1400023f3
nop
cmp rbx, qword [rax + 0x10]
jne 0x1400023f3
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x1400023e0
mov rbx, rax
jmp 0x14000241f
mov rbx, rax
mov rcx, qword [rax]
cmp byte [rcx + 0x19], 0
jne 0x14000241f
nop dword [rax]
nop dword [rax + rax]
mov rbx, rcx
mov rax, qword [rcx]
mov rcx, rax
cmp byte [rax + 0x19], 0
je 0x140002410
cmp byte [rbx + 0x19], 0
je 0x140002390
mov rdx, rsi
mov rcx, rbp
call fcn.140003000
mov rax, rbp
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140031a80
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x40]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
mov rax, qword [rdi + 0x30]
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
cmp r14, rax
jb 0x14000253b
sub r14, rax
mov r8, 0xffffffffffffffff
cmp r14, r8
cmovb r8, r14
cmp r15, 7
jbe 0x140002495
mov rsi, qword [rsi]
lea rdx, [rsi + rax*2]
lea rcx, [rsp + 0x40]
call fcn.140003b40
nop
mov r9, qword [rdi + 0x10]
cmp qword [rdi + 0x18], 7
jbe 0x1400024b2
mov rdi, qword [rdi]
mov r8, rdi
lea rcx, [rsp + 0x40]
call fcn.140004180
xorps xmm0, xmm0
movups xmmword [rbp], xmm0
mov qword [rbp + 0x10], r12
mov qword [rbp + 0x18], r12
movups xmm0, xmmword [rax]
movups xmmword [rbp], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x10], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 7
mov word [rax], r12w
mov rdx, qword [rsp + 0x58]
cmp rdx, 7
jbe 0x140002434
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002531
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002531
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140031aa0
jmp 0x140002434
call fcn.140003260
int3
lea rcx, [0x14004aa58]
call fcn.140031b50
cmp dword [0x14004aa58], 0xffffffff
jne 0x140002373
call fcn.140002100
lea rcx, [0x140034770]
call fcn.140031e2c
nop
lea rcx, [0x14004aa58]
call fcn.140031ae4
jmp 0x140002373
Function at 0x1400029b0
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r14
sub rsp, 0x70
xor r14d, r14d
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x140002af4
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], r14
lea rax, [rsp + 0xa8]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
jne 0x140002ae9
mov ebp, r14d
cmp dword [rsp + 0xa8], r14d
jbe 0x140002ae9
mov eax, 0x100
mov dword [rsp + 0xa0], eax
mov qword [rsp + 0x68], r14
mov rsi, r14
mov edi, eax
mov ecx, eax
call fcn.140031e4c
mov rbx, rax
mov r8d, edi
xor edx, edx
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov qword [rsp + 0x68], rbx
test rsi, rsi
je 0x140002a81
mov rcx, rsi
call fcn.140031aa0
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0xa0]
mov r8, rbx
mov edx, ebp
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
mov rsi, rbx
cmp eax, 0xea
jne 0x140002ac0
mov eax, dword [rsp + 0xa0]
jmp 0x140002a56
test eax, eax
jne 0x140002ad2
mov rdx, rbx
mov rcx, qword [rsp + 0x60]
call fcn.140002b10
nop
mov rcx, rbx
call fcn.140031aa0
inc ebp
cmp ebp, dword [rsp + 0xa8]
jb 0x140002a42
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret