joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800023a0
Capabilities:
Log keystrokes via polling

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x70
mov r12, qword [rsp + 0xd8]
mov rsi, r8
mov rbp, rcx
mov r8, qword [rsp + 0xd0]
mov ebx, edx
mov rdi, r9
cmp edx, 2
je 0x1800024a0
cmp edx, 0x100
je 0x180002400
mov r9, rdi
mov r8, rsi
mov edx, ebx
mov rcx, rbp
add rsp, 0x70
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
jmp qword [sym.imp.comctl32.dll_DefSubclassProc]
cmp rsi, 0x14
jne 0x1800023da
call qword [sym.imp.user32.dll_GetParent]
mov ecx, 0x14
mov r13, rax
call qword [sym.imp.user32.dll_GetKeyState]
test al, 1
jne 0x1800024b8
mov rcx, qword [r12 + 0x48]
test rcx, rcx
je 0x1800023da
pxor xmm0, xmm0
lea r14, [rsp + 0x20]
xor r8d, r8d
mov edx, 0x411
movups xmmword [rsp + 0x24], xmm0
mov r9, r14
mov qword [rsp + 0x28], r13
mov r13, qword [sym.imp.user32.dll_SendMessageW]
movups xmmword [rsp + 0x34], xmm0
movups xmmword [rsp + 0x44], xmm0
movups xmmword [rsp + 0x54], xmm0
mov dword [rsp + 0x64], 0
mov dword [rsp + 0x20], 0x48
call r13
mov rcx, qword [r12 + 0x48]
mov r9, r14
xor r8d, r8d
mov qword [rsp + 0x30], 1
mov edx, 0x411
call r13
mov dword [r12 + 0x50], 0
jmp 0x1800023da
lea rdx, [sym.CredDialogPasswordSubclassProc]
call qword [sym.imp.comctl32.dll_RemoveWindowSubclass]
jmp 0x1800023da
mov rdx, r12
mov rcx, r13
call sym.CredDialogShowCapsLockBalloon
jmp 0x1800023da
Function at 0x180003a10
Capabilities:
Access peb ldr_data

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x38
mov rdi, rcx
mov r13d, edx
test byte [0x1800070c0], 8
je 0x180003a6d
test edx, edx
lea rax, str.TRUE
lea rbx, str.FALSE
cmovne rbx, rax
call sym.wine_dbgstr_wn.constprop.0
lea r9, str.__s___s__n
mov ecx, 3
mov qword [rsp + 0x28], rbx
lea r8, str.CredUIConfirmCredentialsW
lea rdx, [0x1800070c0]
mov qword [rsp + 0x20], rax
call sym.wine_dbg_log.constprop.1
test rdi, rdi
je 0x180003ba0
lea rsi, [0x180007080]
lea rbp, [0x1800070b0]
mov rcx, rsi
call qword [sym.imp.kernel32.dll_EnterCriticalSection]
mov rbx, qword [0x1800070b0]
mov r12, qword [sym.imp.kernel32.dll_lstrcmpW]
cmp rbx, rbp
jne 0x180003ab4
jmp 0x180003b98
mov rbx, qword [rbx]
cmp rbx, rbp
je 0x180003b98
mov rdx, qword [rbx + 0x10]
mov rcx, rdi
call r12
test eax, eax
jne 0x180003aa8
xor edi, edi
test r13d, r13d
jne 0x180003bb8
mov rdx, qword [rbx]
mov rax, qword [rbx + 8]
mov r12, qword gs:[0x30]
mov qword [rdx + 8], rax
mov rdx, qword [rbx]
mov rbp, qword [sym.imp.kernel32.dll_HeapFree]
mov qword [rax], rdx
mov rax, qword [r12 + 0x60]
xor edx, edx
mov r8, qword [rbx + 0x10]
mov rcx, qword [rax + 0x30]
call rbp
mov rax, qword [r12 + 0x60]
mov r8, qword [rbx + 0x18]
xor edx, edx
mov rcx, qword [rax + 0x30]
call rbp
mov r8, qword [rbx + 0x20]
cmp word [r8], 0
je 0x180003b53
mov rax, r8
nop
add rax, 2
cmp word [rax], 0
jne 0x180003b20
sub rax, r8
sar rax, 1
cdqe
add rax, rax
je 0x180003b53
add rax, r8
nop word [rax + rax]
mov rdx, r8
add r8, 1
mov byte [rdx], 0
cmp r8, rax
jne 0x180003b40
mov r8, qword [rbx + 0x20]
mov r12, qword gs:[0x30]
mov rax, qword [r12 + 0x60]
xor edx, edx
mov rcx, qword [rax + 0x30]
call rbp
mov rax, qword [r12 + 0x60]
mov r8, rbx
xor edx, edx
mov rcx, qword [rax + 0x30]
call rbp
mov rcx, rsi
call qword [sym.imp.kernel32.dll_LeaveCriticalSection]
mov eax, edi
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
mov edi, 0x490
jmp 0x180003b79
mov edi, 0x57
mov eax, edi
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
mov rdx, qword [rbx + 0x18]
mov rcx, qword [rbx + 0x10]
mov r9d, dword [rbx + 0x28]
mov r8, qword [rbx + 0x20]
call sym.save_credentials
mov edi, eax
jmp 0x180003acd

Function at 0x180005080
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov rbx, rcx
call qword [sym.imp.ucrtbase.dll_strlen]
mov rsi, rax
xor eax, eax
test rsi, rsi
je 0x1800050d1
cmp byte [rbx + rsi - 1], 0xa
je 0x1800050ac
mov rax, qword gs:[0x30]
mov eax, dword [rax + 0x48]
xchg dword [0x18000d124], eax
mov ecx, 2
call qword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov edx, 1
mov r9, rax
mov r8, rsi
mov rcx, rbx
call qword [sym.imp.ucrtbase.dll_fwrite]
add rsp, 0x28
pop rbx
pop rsi
ret
Function at 0x180005660
Capabilities:
Write file on windows

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x110
cmp qword [0x18000d140], 0
mov ebx, ecx
mov rdi, rdx
mov rbp, r8
je 0x180005848
mov rcx, rdi
call qword [0x18000d140]
movzx eax, al
bt eax, ebx
jae 0x180005920
mov edx, dword [0x18000d124]
xor eax, eax
mov rsi, qword gs:[0x30]
cmp dword [rsi + 0x48], edx
je 0x180005725
test byte [0x1800070f0], 8
jne 0x1800057e0
lea rsi, [rsp + 0x40]
mov r12, rsi
lea rdx, str._04x:
test byte [0x180007100], 8
jne 0x180005780
mov rax, qword gs:[0x30]
mov r8d, dword [rax + 0x48]
mov rcx, r12
call sym.sprintf
test rbp, rbp
je 0x1800056fa
cmp ebx, 3
jbe 0x180005740
mov ecx, 2
call qword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov rcx, rsi
mov rbx, rax
call qword [sym.imp.ucrtbase.dll_strlen]
mov r9, rbx
mov edx, 1
mov rcx, rsi
mov r8, rax
call qword [sym.imp.ucrtbase.dll_fwrite]
add rsp, 0x110
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
cdqe
add rdi, 1
mov qword [rsp + 0x28], rbp
lea r8, str._s:_s:_s
lea rcx, [r12 + rax]
mov rax, rsi
mov qword [rsp + 0x20], rdi
sub rax, rcx
lea rdx, [rax + 0xc8]
lea rax, str.fixme
mov r9, qword [rax + rbx*8]
call sym.snprintf.constprop.0
jmp 0x1800056fa
cmp qword [0x18000d140], 0
je 0x1800058d0
lea rcx, [0x180007100]
call qword [0x18000d140]
lea rdx, str._04x:
test al, 8
je 0x1800056db
mov rax, qword gs:[0x30]
mov r8d, dword [rax + 0x40]
lea rdx, str._04x:
mov rcx, r12
mov qword [rsp + 0x38], rdx
call sym.sprintf
mov rdx, qword [rsp + 0x38]
cdqe
add r12, rax
jmp 0x1800056db
cmp qword [0x18000d140], 0
je 0x180005890
lea rcx, [0x1800070f0]
call qword [0x18000d140]
test al, 8
je 0x1800056bf
call qword [sym.imp.kernel32.dll_GetTickCount]
lea rsi, [rsp + 0x40]
lea rdx, str._3u._03u:
mov r8d, eax
mov rcx, rsi
mov r9, r8
imul r8, r8, 0x10624dd3
shr r8, 0x26
imul eax, r8d, 0x3e8
sub r9d, eax
call sym.sprintf
movsxd r12, eax
add r12, rsi
jmp 0x1800056c7
mov rsi, qword gs:[0x30]
lea rcx, str.ntdll.dll
mov r12d, dword [rsi + 0x68]
call qword [sym.imp.kernel32.dll_GetModuleHandleW]
lea rdx, str.__wine_dbg_get_channel_flags
mov rcx, rax
call qword [sym.imp.kernel32.dll_GetProcAddress]
lea rdx, [sym.fallback__wine_dbg_get_channel_flags]
test rax, rax
cmove rax, rdx
xchg qword [0x18000d140], rax
mov dword [rsi + 0x68], r12d
jmp 0x180005687
mov r12d, dword [rsi + 0x68]
lea rcx, str.ntdll.dll
call qword [sym.imp.kernel32.dll_GetModuleHandleW]
lea rdx, str.__wine_dbg_get_channel_flags
mov rcx, rax
call qword [sym.imp.kernel32.dll_GetProcAddress]
lea rdx, [sym.fallback__wine_dbg_get_channel_flags]
test rax, rax
cmove rax, rdx
xchg qword [0x18000d140], rax
mov dword [rsi + 0x68], r12d
jmp 0x1800057ee
mov r13, qword gs:[0x30]
lea rcx, str.ntdll.dll
mov r14d, dword [r13 + 0x68]
call qword [sym.imp.kernel32.dll_GetModuleHandleW]
lea rdx, str.__wine_dbg_get_channel_flags
mov rcx, rax
call qword [sym.imp.kernel32.dll_GetProcAddress]
lea rdx, [sym.fallback__wine_dbg_get_channel_flags]
test rax, rax
cmove rax, rdx
xchg qword [0x18000d140], rax
mov dword [r13 + 0x68], r14d
jmp 0x18000578e
mov eax, 0xffffffff
jmp 0x180005725
Function at 0x180005b60
Capabilities:
Query environment variable

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x230
mov rax, qword [0x18000d160]
mov rsi, rcx
mov rbx, rdx
test rax, rax
je 0x180005bf0
mov rcx, rbx
call rax
mov dword [rbx + 0xc], eax
test eax, eax
js 0x180005bda
lea rdi, [rsp + 0x20]
mov rcx, rsi
mov r8d, 0x104
mov rdx, rdi
lea rsi, str.SystemRoot
call qword [sym.imp.kernel32.dll_GetModuleFileNameW]
mov rcx, qword [rbx]
mov r8, rdi
lea rdx, str.MODULE
mov rax, qword [rcx]
call qword [rax + 0x18]
mov r8d, 0x104
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.kernel32.dll_GetEnvironmentVariableW]
mov rcx, qword [rbx]
mov r8, rdi
mov rdx, rsi
mov rax, qword [rcx]
call qword [rax + 0x18]
mov rax, qword [rbx]
add rsp, 0x230
pop rbx
pop rsi
pop rdi
ret
lea rcx, str.atl100.dll
call qword [sym.imp.kernel32.dll_LoadLibraryW]
mov rcx, rax
test rax, rax
je 0x180005c22
lea rdx, str.AtlCreateRegistrar
call qword [sym.imp.kernel32.dll_GetProcAddress]
mov qword [0x18000d160], rax
test rax, rax
jne 0x180005b7c
mov dword [rbx + 0xc], 0x80004002
xor eax, eax
jmp 0x180005bdd

Function at 0x180005c30
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x30
mov rax, rdx
mov rsi, rcx
mov rdx, r8
mov rbx, r9
mov r8, rax
call qword [sym.imp.kernel32.dll_FindResourceW]
mov rcx, rsi
mov rbp, rax
mov rdx, rax
call qword [sym.imp.kernel32.dll_LoadResource]
mov rdx, rbp
mov rcx, rsi
mov rdi, rax
call qword [sym.imp.kernel32.dll_SizeofResource]
mov r12d, eax
test rdi, rdi
je 0x180005d6c
cmp qword [rbx], 0
je 0x180005d58
mov r9d, r12d
mov r8, rdi
xor edx, edx
mov ecx, 0xfde9
mov dword [rsp + 0x28], 0
mov r13, qword [sym.imp.kernel32.dll_MultiByteToWideChar]
mov qword [rsp + 0x20], 0
call r13
mov ebp, eax
mov rdx, qword gs:[0x30]
mov rdx, qword [rdx + 0x60]
lea eax, [rbp + 1]
mov r14, rax
lea r8, [rax + rax]
mov rcx, qword [rdx + 0x30]
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapAlloc]
mov rsi, rax
test rax, rax
je 0x180005d70
xor edx, edx
mov ecx, 0xfde9
mov dword [rsp + 0x28], r14d
mov r9d, r12d
mov qword [rsp + 0x20], rax
mov r8, rdi
call r13
mov edx, dword [rbx + 8]
mov rcx, qword [rbx]
xor eax, eax
mov word [rsi + rbp*2], ax
test edx, edx
mov rax, qword [rcx]
mov rdx, rsi
jne 0x180005d50
call qword [rax + 0x50]
mov dword [rbx + 0xc], eax
mov r8, rsi
xor edx, edx
mov rax, qword gs:[0x30]
mov rax, qword [rax + 0x60]
mov rcx, qword [rax + 0x30]
call qword [sym.imp.kernel32.dll_HeapFree]
mov eax, dword [rbx + 0xc]
not eax
shr eax, 0x1f
add rsp, 0x30
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
call qword [rax + 0x48]
jmp 0x180005d13
mov rdx, rbx
mov rcx, rsi
call sym.create_registrar
test rax, rax
jne 0x180005c87
xor eax, eax
jmp 0x180005d3a
mov dword [rbx + 0xc], 0x8007000e
xor eax, eax
jmp 0x180005d3a
Function at 0x140130000
Capabilities:
Execute syscall

Disassembly:
xchg r9, r12
mov qword [rsp + 0x20], r12
xchg r12, r9
mov qword [rsp + 0x18], r8
xchg rdx, r11
je 0x140130027
jne 0x140130027
add r10d, 0x7935c6c6
add r15d, 0x84f5c79a
movabs r8, 0x1e1efe9221cf34eb
test rbx, rdx
xor edx, 0xcff68c17
xor edx, 0x2b582b44
lea r8d, [rbp - 0x7e31]
call 0x14012f15a
jmp 0x14013005d
mov qword [rsp + 0x10], r11
xchg r11, rdx
xchg r13, rcx
mov qword [rsp + 8], r13
xchg r13, rcx
nop
mov qword [rsp - 8], rbp
jmp 0x140130195
Function at 0x1400030d0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
push r15
mov rax, qword gs:[0x60]
mov r14d, ecx
mov rdx, qword [rax + 0x18]
mov rsi, qword [rdx + 0x10]
cmp qword [rsi + 0x30], 0
je 0x1400031cc
xor r15d, r15d
nop word [rax + rax]
mov rbx, qword [rsi + 0x30]
mov r9d, r15d
movups xmm0, xmmword [rsi + 0x58]
mov rsi, qword [rsi]
movsxd rax, dword [rbx + 0x3c]
mov r11d, dword [rax + rbx + 0x88]
test r11d, r11d
je 0x1400031c2
movq rax, xmm0
shr rax, 0x10
cmp r15w, ax
jae 0x140003171
psrldq xmm0, 8
movq r8, xmm0
movzx r10d, ax
movsx edx, byte [r8]
lea r8, [r8 + 1]
ror r9d, 0xd
cmp dl, 0x61
lea ecx, [r9 + rdx]
lea r9d, [rcx - 0x20]
cmovl r9d, ecx
sub r10, 1
jne 0x140003150
mov edi, dword [rbx + r11 + 0x18]
lea rbp, [rbx + r11]
mov r11d, dword [rbx + r11 + 0x20]
mov r10d, r15d
add r11, rbx
test edi, edi
je 0x1400031c2
nop dword [rax]
mov r8d, dword [r11]
lea r11, [r11 + 4]
add r8, rbx
mov eax, r15d
nop dword [rax]
movsx edx, byte [r8]
lea r8, [r8 + 1]
ror eax, 0xd
add eax, edx
test dl, dl
jne 0x1400031a0
lea ecx, [rax + r9]
cmp ecx, r14d
je 0x1400031e7
inc r10d
cmp r10d, edi
jb 0x140003190
cmp qword [rsi + 0x30], r15
jne 0x140003110
xor eax, eax
mov rbx, qword [rsp + 0x18]
mov rbp, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x30]
pop r15
pop r14
ret
mov eax, dword [rbp + 0x24]
lea ecx, [r10 + r10]
add rax, rbx
movzx edx, word [rcx + rax]
mov ecx, dword [rbp + 0x1c]
add rcx, rbx
mov eax, dword [rcx + rdx*4]
add rax, rbx
jmp 0x1400031ce
Function at 0x140079240
Capabilities:
Read file on windows

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
mov r12, qword [sym.imp.msvcrt.dll__errno]
mov rdi, rcx
mov rsi, rdx
mov ebx, r8d
mov rcx, qword [rdi]
call sub.msvcrt.dll__fileno_1
mov ecx, eax
mov r8d, ebx
mov rdx, rsi
call sub.msvcrt.dll__read
movsxd rbp, eax
cmp eax, 0xffffffff
je 0x140079288
mov rax, rbp
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
call r12
cmp dword [rax], 4
je 0x14007925a
mov rax, rbp
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret

Function at 0x1400b3b70
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
lea rcx, [0x1400b9220]
jmp 0x14000cc40

Function at 0x1400b3b80
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
lea rcx, [0x1400b9220]
jmp 0x14000cc40

Function at 0x1400b4330
Capabilities:
Create thread
Inject thread

Disassembly:
push rdi
push rsi
push rbx
add rsp, 0xffffffffffffff80
lea rsi, [0x1400b9260]
call fcn.14000b0f0
call qword [sym.imp.KERNEL32.dll_FreeConsole]
mov rbx, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov qword [rsp + 0x68], 0
mov qword [rsp + 0x70], 0x19600
call rbx
xor r8d, r8d
lea rdx, [rsp + 0x68]
lea r9, [rsp + 0x70]
mov dword [rsp + 0x28], 4
mov rcx, rax
mov dword [rsp + 0x20], 0x3000
call sub.ntdll.dll_NtAllocateVirtualMemory
call fcn.140016750
mov edx, dword [0x1400b9240]
mov r9d, 0x10
mov rcx, rsi
lea r8, [0x1400d2860]
call fcn.140016620
mov rdi, qword [rsp + 0x68]
call rbx
mov r9d, 0x19600
mov r8, rsi
mov qword [rsp + 0x20], 0
mov rcx, rax
mov rdx, rdi
call sub.ntdll.dll_NtWriteVirtualMemory
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x68]
lea r9, [rsp + 0x64]
mov r8d, 0x20
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x1400b4478
call fcn.140016750
mov rsi, qword [rsp + 0x68]
call rbx
lea rcx, [rsp + 0x78]
xor r8d, r8d
mov edx, 0x1fffff
mov qword [rsp + 0x50], 0
mov r9, rax
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], rsi
call sub.ntdll.dll_NtCreateThreadEx
call fcn.140016750
mov rcx, qword [rsp + 0x78]
xor r8d, r8d
xor edx, edx
call sub.ntdll.dll_NtWaitForSingleObject
call fcn.140016750
mov rcx, qword [rsp + 0x78]
call sub.ntdll.dll_NtClose
xor eax, eax
sub rsp, 0xffffffffffffff80
pop rbx
pop rsi
pop rdi
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.VirtualProtect_failed_with_error_code:__lx_n
mov edx, eax
call fcn.1400165d0
or eax, 0xffffffff
jmp 0x1400b4470
Function at 0x140001130
Capabilities:
Query environment variable

Disassembly:
sub rsp, 0x28
mov r9, rdx
mov r8d, ecx
call fcn.140001ae0
test eax, eax
jne 0x14000134c
mov rax, qword [0x1400097f8]
mov qword [rsp + 0x30], rbx
test rax, rax
jne 0x140001172
mov rcx, qword [0x1400098c8]
lea rdx, [0x140006d50]
call fcn.140003840
mov qword [0x1400097f8], rax
lea rcx, [0x140006660]
mov qword [rsp + 0x20], rdi
call rax
mov rbx, rax
test rax, rax
je 0x14000127a
mov rax, qword [0x1400097d0]
mov qword [rsp + 0x38], rsi
test rax, rax
jne 0x1400011b7
mov rcx, qword [0x1400098c8]
lea rdx, [0x140006ed8]
call fcn.140003840
mov qword [0x1400097d0], rax
xor r9d, r9d
lea rcx, str._MessageBox
xor r8d, r8d
xor edx, edx
call rax
mov rsi, qword [str._MessageBox]
mov rdi, rax
mov rax, qword [0x140009920]
test rax, rax
jne 0x1400011f8
mov rcx, qword [0x1400098c8]
lea rdx, [0x140006ec0]
call fcn.140003840
mov qword [0x140009920], rax
mov r8, rdi
mov rdx, rsi
mov rcx, rbx
call rax
mov rax, qword [0x1400097d0]
test rax, rax
jne 0x140001229
mov rcx, qword [0x1400098c8]
lea rdx, [0x140006ed8]
call fcn.140003840
mov qword [0x1400097d0], rax
xor r9d, r9d
lea rcx, str._SHGetSpecialFolderPath
xor r8d, r8d
xor edx, edx
call rax
mov rsi, qword [str._SHGetSpecialFolderPath]
mov rdi, rax
mov rax, qword [0x140009920]
test rax, rax
jne 0x14000126a
mov rcx, qword [0x1400098c8]
lea rdx, [0x140006ec0]
call fcn.140003840
mov qword [0x140009920], rax
mov r8, rdi
mov rdx, rsi
mov rcx, rbx
call rax
mov rsi, qword [rsp + 0x38]
call fcn.1400013c0
lea rcx, [0x1400064b0]
mov ebx, eax
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
test rax, rax
je 0x140001318
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rdi, rax
mov rax, qword [0x140009878]
test rax, rax
jne 0x1400012c8
mov rcx, qword [0x1400098c8]
lea rdx, [0x1400069f8]
call fcn.140003840
mov qword [0x140009878], rax
lea rdx, [0x1400064c0]
mov rcx, rdi
call rax
test eax, eax
je 0x140001318
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rdi, rax
mov rax, qword [0x1400099b0]
test rax, rax
jne 0x140001309
mov rcx, qword [0x1400098c8]
lea rdx, [0x140006a10]
call fcn.140003840
mov qword [0x1400099b0], rax
xor r8d, r8d
lea rdx, [0x1400064c0]
mov rcx, rdi
call rax
mov rax, qword [0x1400097b8]
mov rdi, qword [rsp + 0x20]
test rax, rax
jne 0x140001343
mov rcx, qword [0x1400098c8]
lea rdx, [0x140006a98]
call fcn.140003840
mov qword [0x1400097b8], rax
call rax
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x28
ret
Function at 0x140007700
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
push rbx
mov rax, rcx
add qword [rcx + 0x30], r8
mov r11, qword [rcx + 0x40]
test r11, r11
je 0x140007742
mov r10d, 8
sub r10, r11
cmp r8, r10
mov rdi, r10
cmovb rdi, r8
cmp rdi, 4
jb 0x14000774a
mov esi, dword [rdx]
mov r9d, 4
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jb 0x14000775b
jmp 0x140007772
xor r10d, r10d
jmp 0x1400077fd
xor esi, esi
xor r9d, r9d
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jae 0x140007772
movzx ebx, word [rdx + r9]
lea ecx, [r9*8]
shl rbx, cl
or rsi, rbx
or r9, 2
cmp r9, rdi
jae 0x140007789
movzx edi, byte [rdx + r9]
shl r9d, 3
mov ecx, r9d
shl rdi, cl
or rsi, rdi
lea ecx, [r11*8]
shl rsi, cl
or rsi, qword [rax + 0x38]
mov qword [rax + 0x38], rsi
cmp r10, r8
jbe 0x1400077a9
add r11, r8
jmp 0x1400078db
mov r11, qword [rax + 0x18]
mov r9, qword [rax + 0x10]
mov rcx, qword [rax]
add rcx, r9
rol r9, 0xd
xor r11, rsi
xor r9, rcx
rol rcx, 0x20
mov rdi, qword [rax + 8]
add rdi, r11
rol r11, 0x10
xor r11, rdi
add rcx, r11
rol r11, 0x15
xor r11, rcx
add rdi, r9
rol r9, 0x11
mov qword [rax + 0x18], r11
xor r9, rdi
rol rdi, 0x20
mov qword [rax + 0x10], r9
mov qword [rax + 8], rdi
xor rcx, rsi
mov qword [rax], rcx
sub r8, r10
mov r11d, r8d
and r11d, 7
and r8, 0xfffffffffffffff8
cmp r10, r8
jae 0x140007872
mov rcx, qword [rax]
mov r9, qword [rax + 8]
mov rdi, qword [rax + 0x18]
mov rsi, qword [rax + 0x10]
nop
add rcx, rsi
rol rsi, 0xd
mov rbx, qword [rdx + r10]
xor rsi, rcx
rol rcx, 0x20
xor rdi, rbx
add r9, rdi
rol rdi, 0x10
xor rdi, r9
add rcx, rdi
rol rdi, 0x15
add r9, rsi
rol rsi, 0x11
xor rsi, r9
rol r9, 0x20
xor rdi, rcx
xor rcx, rbx
add r10, 8
cmp r10, r8
jb 0x140007820
mov qword [rax + 0x18], rdi
mov qword [rax + 0x10], rsi
mov qword [rax + 8], r9
mov qword [rax], rcx
cmp r11d, 4
jb 0x140007890
mov r9d, dword [rdx + r10]
mov r8d, 4
mov rcx, r8
or rcx, 1
cmp rcx, r11
jb 0x1400078a2
jmp 0x1400078bd
xor r9d, r9d
xor r8d, r8d
mov rcx, r8
or rcx, 1
cmp rcx, r11
jae 0x1400078bd
lea rcx, [rdx + r8]
movzx esi, word [r10 + rcx]
lea ecx, [r8*8]
shl rsi, cl
or r9, rsi
or r8, 2
cmp r8, r11
jae 0x1400078d7
add r10, r8
movzx edx, byte [rdx + r10]
shl r8d, 3
mov ecx, r8d
shl rdx, cl
or r9, rdx
mov qword [rax + 0x38], r9
mov qword [rax + 0x40], r11
pop rbx
pop rdi
pop rsi
ret
Function at 0x14000a2c0
Capabilities:
Get memory capacity

Disassembly:
push rsi
push rbx
sub rsp, 0xa8
mov ebx, r8d
mov rsi, rcx
test dl, dl
je 0x14000a347
xorps xmm0, xmm0
movaps xmmword [rsp + 0x20], xmm0
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x40], xmm0
movaps xmmword [rsp + 0x30], xmm0
mov dword [rsp + 0x20], 0x40
lea rcx, [rsp + 0x20]
call qword [sym.imp.kernel32.dll_GlobalMemoryStatusEx]
test eax, eax
je 0x14000a30c
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rsi + 0x70], xmm0
jmp 0x14000a347
call fcn.14000f540
mov qword [rsp + 0x98], rax
mov dword [rsp + 0xa0], edx
mov qword [rsp + 0x90], 1
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rsi + 0x70], xmm0
test rax, rax
je 0x14000a347
lea rcx, [rsp + 0x98]
call fcn.14000f5d0
test bl, bl
je 0x14000a3de
xorps xmm0, xmm0
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x60], xmm0
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x40], xmm0
movaps xmmword [rsp + 0x30], xmm0
movaps xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x80], 0
lea rcx, [rsp + 0x20]
mov edx, 0x68
call qword [sym.imp.kernel32.dll_K32GetPerformanceInfo]
test eax, eax
je 0x14000a3de
mov r8, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x30]
xor r9d, r9d
sub rdx, r8
cmovb rdx, r9
mov rcx, qword [rsp + 0x70]
mov rax, rcx
mul rdx
mov r10, 0xffffffffffffffff
cmovo rax, r10
mov rdx, qword [rsp + 0x28]
sub rdx, r8
cmovb rdx, r9
mov qword [rsi + 0x80], rax
mov rax, rcx
mul rdx
cmovo rax, r10
mov qword [rsi + 0x88], rax
add rsp, 0xa8
pop rbx
pop rsi
ret
Function at 0x14000cd60
Capabilities:
Accept command line arguments

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x68
lea rbp, [rsp + 0x60]
mov qword [rbp], 0xfffffffffffffffe
mov rax, rdx
mov rsi, rcx
lea rdx, [rbp - 4]
mov rcx, rax
call qword [sym.imp.shell32.dll_CommandLineToArgvW]
test rax, rax
je 0x14000ce40
mov rdi, rax
movsxd rax, dword [rbp - 4]
mov qword [rbp - 0x20], 0
mov qword [rbp - 0x18], 8
mov qword [rbp - 0x10], 0
lea r12, [rdi + rax*8]
lea rbx, [rbp - 0x40]
lea r14, [rbp - 0x20]
mov r15, rdi
jmp 0x14000cdf7
add r15, 8
mov rax, qword [rbp - 0x18]
mov rcx, r13
shl rcx, 5
movups xmm0, xmmword [rbp - 0x40]
movups xmm1, xmmword [rbp - 0x30]
movups xmmword [rax + rcx + 0x10], xmm1
movups xmmword [rax + rcx], xmm0
inc r13
mov qword [rbp - 0x10], r13
cmp r15, r12
je 0x14000ce26
mov rcx, r15
call fcn.14000f520
mov r8, rdx
mov rcx, rbx
mov rdx, rax
call fcn.140026850
mov r13, qword [rbp - 0x10]
cmp r13, qword [rbp - 0x20]
jne 0x14000cdd0
mov rcx, r14
call fcn.140008310
jmp 0x14000cdd0
mov rcx, rdi
call qword [sym.imp.kernel32.dll_LocalFree]
mov rax, qword [rbp - 0x10]
mov qword [rsi + 0x10], rax
movups xmm0, xmmword [rbp - 0x20]
movups xmmword [rsi], xmm0
jmp 0x14000ce57
mov qword [rsi], 0
mov qword [rsi + 8], 8
mov qword [rsi + 0x10], 0
add rsp, 0x68
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret