joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140010188
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_IsDebuggerPresent]
mov ecx, 1
mov dword [0x140019760], eax
call fcn.140010b30
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_UnhandledExceptionFilter]
cmp dword [0x140019760], 0
jne case.default.0x1400101de
mov ecx, 1
call fcn.140010b30
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TerminateProcess]
cmc
movabs eax, dword [0x1a07195c5493fcf9]
invalid
Function at 0x407e40
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x40
cmp byte [0x0042e090], 0
je 0x407ede
cmp word [0x0042e3a0], 0xd7b2
jne 0x407e73
cmp dword [0x0042e3a8], 0
jbe 0x407e73
lea rcx, [0x0042e398]
call qword [0x0042e3c0]
mov ecx, 0xfffffff5
call sub.kernel32.dll_GetStdHandle
mov rcx, rax
lea rdx, [0x0042a4c8]
mov r8d, 0x25
lea r9, [rsp + 0x3c]
mov qword [rsp + 0x20], 0
call sub.kernel32.dll_WriteFile
mov ecx, 0xfffffff5
call sub.kernel32.dll_GetStdHandle
mov rbx, rax
lea rcx, [0x00407f14]
call fcn.00408da0
mov rcx, rbx
mov rdx, rax
mov r8d, 2
lea r9, [rsp + 0x3c]
mov qword [rsp + 0x20], 0
call sub.kernel32.dll_WriteFile
jmp 0x407f00
cmp byte [0x0042903a], 0
jne 0x407f00
xor rcx, rcx
lea rdx, [0x0042a4c8]
lea r8, str.Error
xor r9, r9
call sub.user32.dll_MessageBoxA
add rsp, 0x40
pop rbx
ret

Function at 0x40a580
Capabilities:
Check os version

Disassembly:
sub rsp, 0x28
lea rcx, [0x00432c78]
call sub.kernel32.dll_InitializeCriticalSection
mov word [0x00432ca0], 0x7f
call sub.kernel32.dll_GetVersion
and eax, 0xff
cmp eax, 6
setae al
mov byte [0x00432c70], al
cmp byte [0x00432c70], 0
je 0x40a61f
lea rcx, [0x0040a624]
call sub.kernel32.dll_GetModuleHandleW
mov rcx, rax
lea rdx, [0x0040a63e]
call sub.kernel32.dll_GetProcAddress
mov qword [0x00432c58], rax
lea rcx, [0x0040a624]
call sub.kernel32.dll_GetModuleHandleW
mov rcx, rax
lea rdx, [0x0040a65c]
call sub.kernel32.dll_GetProcAddress
mov qword [0x00432c60], rax
lea rcx, [0x0040a624]
call sub.kernel32.dll_GetModuleHandleW
mov rcx, rax
lea rdx, [0x0040a67a]
call sub.kernel32.dll_GetProcAddress
mov qword [0x00432c68], rax
add rsp, 0x28
ret
Function at 0x40a8a0
Capabilities:
Get geographical location

Disassembly:
push rbp
sub rsp, 0x1d0
mov rbp, rsp
mov qword [rbp + 0x50], rcx
mov qword [rbp + 0x40], rdx
mov word [rbp + 0x4e], r8w
mov qword [rbp + 0x68], 0
mov qword [rbp + 0x60], 0
mov qword [rbp + 0x58], 0
nop
mov rcx, qword [rbp + 0x40]
call fcn.00408270
movzx rax, word [rbp + 0x4e]
cmp word [0x0042a998], ax
ja 0x40a988
movzx rax, word [rbp + 0x4e]
cmp ax, word [0x0042ad98]
mov word [rbp + 0x4e], ax
ja 0x40a988
mov ecx, 0x40
xor r8, r8
cmp ecx, r8d
jb 0x40a987
mov eax, ecx
add eax, r8d
mov r9d, 2
xor edx, edx
div r9d
lea rdx, [0x0042a998]
mov r9d, eax
add r9, r9
movzx r10, word [rbp + 0x4e]
cmp word [rdx + r9*8], r10w
jbe 0x40a941
mov ecx, eax
sub ecx, 1
jmp 0x40a982
lea rdx, [0x0042a998]
mov r8d, eax
add r8, r8
movzx r9, word [rbp + 0x4e]
cmp word [rdx + r8*8], r9w
jae 0x40a963
mov r8d, eax
add r8d, 1
jmp 0x40a982
mov rcx, qword [rbp + 0x50]
mov rdx, qword [rbp + 0x40]
lea r8, [0x0042a9a0]
mov eax, eax
add rax, rax
mov r8, qword [r8 + rax*8]
call fcn.0040a740
jmp 0x40a987
cmp ecx, r8d
jae 0x40a910
nop
mov rax, qword [rbp + 0x40]
cmp qword [rax], 0
jne 0x40aa6a
movzx rcx, word [rbp + 0x4e]
movzx ecx, cx
mov edx, 2
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x40aa6a
movzx rcx, word [rbp + 0x4e]
movzx ecx, cx
mov edx, 0x59
lea r8, [rbp + 0x126]
mov r9d, 0x55
call sub.kernel32.dll_GetLocaleInfoW
movzx rcx, word [rbp + 0x4e]
movzx ecx, cx
mov edx, 0x5a
lea r8, [rbp + 0x7c]
mov r9d, 0x55
call sub.kernel32.dll_GetLocaleInfoW
lea rcx, [rbp + 0x68]
lea rdx, [rbp + 0x126]
mov r8d, 0x55
call fcn.00409130
lea rcx, [rbp + 0x60]
lea rdx, [rbp + 0x7c]
mov r8d, 0x55
call fcn.00409130
lea rcx, [rbp + 0x58]
lea rdx, [rbp + 0x126]
mov r8d, 0x55
call fcn.00409130
mov rcx, qword [rbp + 0x40]
mov edx, 5
mov r8, qword [rbp + 0x68]
lea r9, [0x0040aac4]
mov rax, qword [rbp + 0x60]
mov qword [rsp + 0x20], rax
lea rax, [0x0040aad4]
mov qword [rsp + 0x28], rax
mov rax, qword [rbp + 0x58]
mov qword [rsp + 0x30], rax
call fcn.004094e0
nop
lea rcx, [rbp + 0x58]
mov edx, 3
call fcn.00408350
mov rax, qword [rbp + 0x40]
lea rsp, [rbp + 0x1d0]
pop rbp
ret
Function at 0x40ace0
Capabilities:
Identify system language via api

Disassembly:
push rbp
sub rsp, 0x50
mov rbp, rsp
mov qword [rbp + 0x28], rcx
mov word [rbp + 0x36], dx
mov qword [rbp + 0x38], 0
mov qword [rbp + 0x40], 0
mov qword [rbp + 0x48], 0
nop
lea rcx, [0x00432c78]
call sub.kernel32.dll_EnterCriticalSection
movzx rax, word [rbp + 0x36]
cmp word [0x00432ca0], ax
jne 0x40ad4b
mov rcx, qword [rbp + 0x28]
lea rdx, [0x00432ca2]
mov r8d, 0x55
call fcn.00409130
lea rcx, [0x00432c78]
call sub.kernel32.dll_LeaveCriticalSection
jmp 0x40ae57
lea rcx, [0x00432c78]
call sub.kernel32.dll_LeaveCriticalSection
mov rcx, qword [rbp + 0x28]
call fcn.00408270
movzx rcx, word [rbp + 0x36]
movzx ecx, cx
mov edx, 2
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x40ae10
cmp byte [0x00432c70], 0
je 0x40ada4
mov rcx, rbp
lea rdx, [rbp + 0x48]
movzx r8, word [rbp + 0x36]
call fcn.0040ab70
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x48]
call fcn.004087a0
jmp 0x40ae10
mov rcx, rbp
lea rdx, [rbp + 0x40]
movzx r8, word [rbp + 0x36]
call fcn.0040a8a0
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x40]
call fcn.004087a0
call sub.kernel32.dll_GetSystemDefaultUILanguage
movzx rcx, word [rbp + 0x36]
cmp cx, ax
mov word [rbp + 0x36], cx
je 0x40ae10
mov rax, qword [rbp + 0x28]
cmp qword [rax], 0
je 0x40adef
mov rcx, qword [rbp + 0x28]
lea rdx, [0x0040aea4]
call fcn.004092e0
call sub.kernel32.dll_GetSystemDefaultUILanguage
mov rcx, rbp
lea rdx, [rbp + 0x38]
mov r8d, eax
call fcn.0040a8a0
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x38]
call fcn.004092e0
lea rcx, [0x00432c78]
call sub.kernel32.dll_EnterCriticalSection
movzx rax, word [rbp + 0x36]
mov word [0x00432ca0], ax
mov rax, qword [rbp + 0x28]
mov rcx, qword [rax]
call fcn.00409080
lea rcx, [0x00432ca2]
mov rdx, rax
mov r8d, 0xaa
call sub.kernel32.dll_lstrcpynW
lea rcx, [0x00432c78]
call sub.kernel32.dll_LeaveCriticalSection
nop
lea rcx, [rbp + 0x38]
mov edx, 3
call fcn.00408350
mov rax, qword [rbp + 0x28]
lea rsp, [rbp + 0x50]
pop rbp
ret
Function at 0x40b830
Capabilities:
Get geographical location
Identify system language via api

Disassembly:
push rbp
sub rsp, 0x50
mov rbp, rsp
mov qword [rbp + 0x28], rcx
mov qword [rbp + 0x20], rdx
mov qword [rbp + 0x30], 0
mov qword [rbp + 0x38], 0
mov qword [rbp + 0x70], r8
mov rcx, qword [rbp + 0x70]
call fcn.00408400
nop
call sub.kernel32.dll_GetUserDefaultUILanguage
movzx ecx, ax
mov edx, 3
lea r8, [rbp + 0x48]
mov r9d, 4
call sub.kernel32.dll_GetLocaleInfoW
lea rcx, [rbp + 0x38]
lea rdx, [rbp + 0x48]
mov r8d, 4
call fcn.00409130
mov rcx, qword [rbp + 0x20]
mov rdx, qword [rbp + 0x70]
mov r8, qword [rbp + 0x38]
call fcn.004093b0
mov rcx, qword [rbp + 0x28]
mov rax, qword [rbp + 0x20]
mov rdx, qword [rax]
call fcn.0040b660
test al, al
jne 0x40b8fe
mov word [rbp + 0x4c], 0
lea rcx, [rbp + 0x30]
lea rdx, [rbp + 0x48]
mov r8d, 4
call fcn.00409130
mov rcx, qword [rbp + 0x20]
mov rdx, qword [rbp + 0x70]
mov r8, qword [rbp + 0x30]
call fcn.004093b0
mov rcx, qword [rbp + 0x28]
mov rax, qword [rbp + 0x20]
mov rdx, qword [rax]
call fcn.0040b660
test al, al
jne 0x40b8fe
mov rcx, qword [rbp + 0x20]
call fcn.00408270
nop
lea rcx, [rbp + 0x30]
mov edx, 2
call fcn.00408350
lea rcx, [rbp + 0x70]
call fcn.00408270
mov rax, qword [rbp + 0x20]
lea rsp, [rbp + 0x50]
pop rbp
ret
Function at 0x40b960
Capabilities:
Identify system language via api

Disassembly:
push rbp
sub rsp, 0x70
mov rbp, rsp
mov qword [rbp + 0x28], rcx
mov qword [rbp + 0x30], 0
mov qword [rbp + 0x40], 0
mov qword [rbp + 0x38], 0
mov qword [rbp + 0x50], 0
mov qword [rbp + 0x48], 0
mov qword [rbp + 0x58], 0
mov qword [rbp + 0x68], 0
mov qword [rbp + 0x60], 0
mov qword [rbp + 0x88], rdx
mov qword [rbp + 0x90], r8
mov rcx, qword [rbp + 0x88]
call fcn.00408400
mov rcx, qword [rbp + 0x90]
call fcn.00408400
nop
mov rcx, qword [rbp + 0x28]
call fcn.00408270
lea rcx, [rbp + 0x60]
mov rdx, qword [rbp + 0x90]
call fcn.00408820
xor rax, rax
cmp qword [rbp + 0x90], 0
je 0x40ba03
mov rax, qword [rbp + 0x90]
mov eax, dword [rax - 4]
cmp eax, 1
jl 0x40ba3d
mov rcx, qword [rbp + 0x90]
movsxd rdx, eax
cmp word [rcx + rdx*2 - 2], 0x2e
jne 0x40ba36
lea rcx, [rbp + 0x60]
mov rdx, qword [rbp + 0x90]
mov r8d, 1
mov r9d, eax
call fcn.004095c0
jmp 0x40ba3d
sub eax, 1
test eax, eax
jne 0x40ba08
nop
lea rcx, [rbp + 0x68]
mov rdx, qword [rbp + 0x88]
call fcn.0040b570
cmp qword [rbp + 0x68], 0
je 0x40ba7b
mov rcx, rbp
lea rdx, [rbp + 0x58]
mov r8, qword [rbp + 0x60]
mov r9, qword [rbp + 0x68]
call fcn.0040b700
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x58]
call fcn.004087a0
jmp 0x40bb17
call sub.kernel32.dll_GetUserDefaultUILanguage
lea rcx, [rbp + 0x48]
mov edx, eax
call fcn.0040ace0
mov rcx, rbp
lea rdx, [rbp + 0x50]
mov r8, qword [rbp + 0x60]
mov r9, qword [rbp + 0x48]
call fcn.0040b700
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x50]
call fcn.004087a0
mov rax, qword [rbp + 0x28]
cmp qword [rax], 0
jne 0x40baf0
cmp byte [0x00432c70], 0
jne 0x40baf0
call sub.kernel32.dll_GetSystemDefaultUILanguage
lea rcx, [rbp + 0x38]
mov edx, eax
call fcn.0040ace0
mov rcx, rbp
lea rdx, [rbp + 0x40]
mov r8, qword [rbp + 0x60]
mov r9, qword [rbp + 0x38]
call fcn.0040b700
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x40]
call fcn.004087a0
mov rax, qword [rbp + 0x28]
cmp qword [rax], 0
jne 0x40bb17
mov rcx, rbp
lea rdx, [rbp + 0x30]
mov r8, qword [rbp + 0x60]
call fcn.0040b830
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x30]
call fcn.004087a0
nop
lea rcx, [rbp + 0x30]
mov edx, 8
call fcn.00408350
lea rcx, [rbp + 0x88]
mov edx, 2
call fcn.00408350
mov rax, qword [rbp + 0x28]
lea rsp, [rbp + 0x70]
pop rbp
ret

Function at 0x40c410
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x58
lea rcx, [rsp + 0x20]
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [rsp + 0x40]
add rsp, 0x58
ret

Function at 0x40c430
Capabilities:
Check os version

Disassembly:
sub rsp, 0x28
call sub.kernel32.dll_GetVersion
mov ecx, eax
and ecx, 0xff
and eax, 0xff00
shr eax, 8
cmp ecx, 5
jne 0x40c454
cmp eax, 1
jae 0x40c459
cmp ecx, 5
jbe 0x40c465
mov dword [0x0042e998], 0x7f
jmp 0x40c46f
mov dword [0x0042e998], 0x409
add rsp, 0x28
ret
Function at 0x40c750
Capabilities:
Set thread local storage value

Disassembly:
push rbx
sub rsp, 0x20
call fcn.0040c740
mov ebx, eax
test ebx, ebx
je 0x40c79b
cmp dword [0x0042b1bc], 0xffffffff
jne 0x40c774
mov ecx, 0xe2
call fcn.004080e0
mov ecx, ebx
call fcn.0040c720
test rax, rax
jne 0x40c78d
mov ecx, 0xe2
call fcn.004080e0
jmp 0x40c79b
mov ecx, dword [0x0042b1bc]
mov rdx, rax
call sub.kernel32.dll_TlsSetValue
add rsp, 0x20
pop rbx
ret

Function at 0x40c7b0
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
cmp byte [0x00432d4c], 0
je 0x40c7eb
mov ecx, dword [0x0042b1bc]
call sub.kernel32.dll_TlsGetValue
test rax, rax
jne 0x40c7ff
call fcn.0040c750
mov ecx, dword [0x0042b1bc]
call sub.kernel32.dll_TlsGetValue
test rax, rax
jne 0x40c7ff
mov rax, qword [0x00432d80]
jmp 0x40c7ff
mov rax, qword gs:[0x58]
movsxd rcx, dword [0x0042b1bc]
mov rax, qword [rax + rcx*8]
add rsp, 0x28
ret

Function at 0x41ecf0
Capabilities:
Get geographical location

Disassembly:
push rbp
push rbx
sub rsp, 0x38
mov rbp, rsp
mov ebx, r8d
lea r8, [rbp + 0x2c]
mov r9d, 2
call sub.kernel32.dll_GetLocaleInfoW_1
test eax, eax
jle 0x41ed17
movzx rax, word [rbp + 0x2c]
jmp 0x41ed19
mov eax, ebx
lea rsp, [rbp + 0x38]
pop rbx
pop rbp
ret

Function at 0x41ffd0
Capabilities:
Write file on windows

Disassembly:
push rbp
push rsi
push rbx
sub rsp, 0x8e0
mov rbp, rsp
mov qword [rbp + 0x40], rcx
mov qword [rbp + 0x48], rdx
mov qword [rbp + 0x58], 0
nop
mov rcx, qword [rbp + 0x40]
mov rdx, qword [rbp + 0x48]
lea r8, [rbp + 0x60]
mov r9d, 0x400
call fcn.0041fd80
mov ebx, eax
mov rax, qword [0x0042d298]
cmp byte [rax], 0
je 0x420108
mov rcx, qword [0x0042d0d8]
call fcn.00405460
call fcn.00405060
mov ecx, 1
xor rdx, rdx
lea r8, [rbp + 0x60]
mov r9d, ebx
mov qword [rsp + 0x20], 0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], 0
call sub.kernel32.dll_WideCharToMultiByte_1
mov esi, eax
lea rcx, [rbp + 0x58]
mov rdx, qword [0x0041ff88]
mov r8d, 1
movsxd r9, esi
call fcn.0040a1f0
mov ecx, 1
xor rdx, rdx
lea r8, [rbp + 0x60]
mov r9d, ebx
mov rax, qword [rbp + 0x58]
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], 0
call sub.kernel32.dll_WideCharToMultiByte_1
mov ecx, 0xfffffff4
call sub.kernel32.dll_GetStdHandle_1
mov rcx, rax
mov rdx, qword [rbp + 0x58]
mov r8d, esi
lea r9, [rbp + 0x54]
mov qword [rsp + 0x20], 0
call sub.kernel32.dll_WriteFile_1
mov ecx, 0xfffffff4
call sub.kernel32.dll_GetStdHandle_1
mov rcx, rax
lea rdx, [0x004201a4]
mov r8d, 2
lea r9, [rbp + 0x54]
mov qword [rsp + 0x20], 0
call sub.kernel32.dll_WriteFile_1
jmp 0x42014e
mov rcx, qword [0x00432d50]
call fcn.0040a350
mov rcx, rax
mov rax, qword [0x0042d088]
mov edx, dword [rax + 8]
lea r8, [rbp + 0x860]
mov r9d, 0x40
call sub.user32.dll_LoadStringW_1
xor rcx, rcx
lea rdx, [rbp + 0x60]
lea r8, [rbp + 0x860]
mov r9d, 0x2010
call sub.user32.dll_MessageBoxW
nop
lea rcx, [rbp + 0x58]
mov rdx, qword [0x0041ff88]
call fcn.0040a230
lea rsp, [rbp + 0x8e0]
pop rbx
pop rsi
pop rbp
ret
Function at 0x4223a0
Capabilities:
Encode data using xor

Disassembly:
push rbp
push r13
push rdi
push rsi
push rbx
sub rsp, 0x240
mov rbp, rsp
mov rbx, rcx
mov rcx, rbx
call fcn.00408990
mov r13d, eax
mov ecx, 0xfde9
xor rdx, rdx
mov r8, rbx
mov r9d, r13d
mov qword [rsp + 0x20], 0
mov dword [rsp + 0x28], 0
call fcn.0040c3f0
mov esi, eax
cmp esi, 0x104
jbe 0x4223fd
mov ecx, esi
add ecx, ecx
mov ecx, ecx
call fcn.00404d30
mov rdi, rax
jmp 0x422401
lea rdi, [rbp + 0x38]
mov ecx, 0xfde9
xor rdx, rdx
mov r8, rbx
mov r9d, r13d
mov qword [rsp + 0x20], rdi
mov dword [rsp + 0x28], esi
call fcn.0040c3f0
mov rax, rdi
mov rcx, rax
call sub.user32.dll_CharUpperW
xor rbx, rbx
xor rax, rax
mov ecx, esi
sub ecx, 1
cmp eax, ecx
jg 0x422457
add ecx, 1
mov edx, ebx
shl edx, 5
shr ebx, 0x1b
or edx, ebx
mov ebx, edx
movsxd rdx, eax
movzx edx, word [rdi + rdx*2]
xor ebx, edx
add eax, 1
cmp eax, ecx
jne 0x42243b
nop
lea rax, [rbp + 0x38]
cmp rdi, rax
je 0x422469
mov rcx, rdi
call fcn.00404d60
mov eax, ebx
lea rsp, [rbp + 0x240]
pop rbx
pop rsi
pop rdi
pop r13
pop rbp
ret

Function at 0x423bc0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub rsp, 0x28
call fcn.00409080
mov rcx, rax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x423bde
test eax, 0x10
je 0x423be3
xor rax, rax
jmp 0x423be5
mov al, 1
add rsp, 0x28
ret

Function at 0x423d50
Capabilities:
Query environment variable

Disassembly:
push r13
push rdi
push rsi
push rbx
sub rsp, 0x28
mov rbx, rcx
mov rsi, rdx
mov rcx, rbx
mov edx, 0xff
call fcn.00409200
mov rax, qword [rbx]
xor rdi, rdi
test rax, rax
je 0x423d7b
mov edi, dword [rax - 4]
mov rcx, rsi
call fcn.00409080
mov r13, rax
mov rcx, qword [rbx]
call fcn.00409080
mov rcx, r13
mov rdx, rax
mov r8d, edi
call sub.kernel32.dll_GetEnvironmentVariableW
test eax, eax
jne 0x423daa
mov rcx, rbx
call fcn.00408270
jmp 0x423db8
mov rcx, rbx
mov edx, eax
call fcn.00424020
test al, al
je 0x423d6d
nop
mov rax, rbx
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop r13
ret

Function at 0x423e90
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub rsp, 0x28
call fcn.00409080
mov rcx, rax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
setne al
add rsp, 0x28
ret

Function at 0x424050
Capabilities:
Accept command line arguments

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call sub.kernel32.dll_GetCommandLineW_1
xor rcx, rcx
movzx rdx, word [rax]
sub dx, 1
cmp dx, 0xffff
je 0x424090
cmp dx, 0x20
jb 0x42407f
sub dx, 0x21
test dx, dx
jne 0x42408a
jmp 0x424085
test cl, cl
je 0x424090
jmp 0x42408a
test cl, cl
sete cl
add rax, 2
jmp 0x424060
nop
jmp 0x424097
add rax, 2
movzx rcx, word [rax]
cmp cx, 0x3f
ja 0x4240c1
mov edx, 1
movzx rcx, cx
and rcx, 0x7f
shl rdx, cl
mov rcx, qword [0x004240dc]
test rdx, rcx
setne cl
jmp 0x4240c4
xor rcx, rcx
test cl, cl
jne 0x424093
mov rcx, rbx
mov rdx, rax
call fcn.00409100
mov rax, rbx
add rsp, 0x20
pop rbx
ret
Function at 0x424300
Capabilities:
Encrypt data using rc6

Disassembly:
push r14
push r13
push rdi
push rsi
push rbx
sub rsp, 0x60
mov rcx, qword [0x00437308]
lea rdx, [rsp + 0x20]
mov r8d, 0x40
call fcn.004050f0
mov dword [0x0043724c], 0xb7e15163
mov ebx, 1
lea rax, [0x0043724c]
movsxd rcx, ebx
lea rdx, [0x00437248]
movsxd r8, ebx
mov edx, dword [rdx + r8*4]
add edx, 0x9e3779b9
mov dword [rax + rcx*4], edx
add ebx, 1
cmp ebx, 0x2c
jne 0x424333
nop
xor rbx, rbx
xor rsi, rsi
xor r13, r13
xor r14, r14
mov edi, 1
lea rax, [0x0043724c]
movsxd rcx, ebx
mov ecx, dword [rax + rcx*4]
add ecx, r13d
add ecx, r14d
mov edx, 3
call fcn.00424140
mov r13d, eax
lea rax, [0x0043724c]
movsxd rcx, ebx
mov dword [rax + rcx*4], r13d
movsxd rax, esi
mov ecx, dword [rsp + rax*4 + 0x20]
add ecx, r13d
add ecx, r14d
mov edx, r13d
add edx, r14d
call fcn.00424140
mov r14d, eax
movsxd rax, esi
mov dword [rsp + rax*4 + 0x20], r14d
mov eax, ebx
add eax, 1
mov ecx, 0x2c
cdq
idiv ecx
mov rbx, rdx
mov eax, esi
add eax, 1
mov ecx, 0x10
cdq
idiv ecx
mov rsi, rdx
add edi, 1
cmp edi, 0x85
jne 0x42436f
nop
add rsp, 0x60
pop rbx
pop rsi
pop rdi
pop r13
pop r14
ret

Function at 0x424530
Capabilities:
Create process on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x118
mov rbp, rsp
mov qword [rbp + 0x58], rcx
mov qword [rbp + 0x68], 0
nop
lea rcx, [rbp + 0xf0]
mov edx, 0x18
xor r8, r8
call fcn.004054f0
lea rcx, [rbp + 0x88]
mov edx, 0x68
xor r8, r8
call fcn.004054f0
mov dword [rbp + 0x88], 0x68
mov dword [rbp + 0xf0], 0x18
mov dword [rbp + 0xc4], 1
mov word [rbp + 0xc8], 0
mov dword [rbp + 0x100], 0xffffffff
mov bl, 1
mov rcx, qword [rbp + 0x58]
call fcn.00409080
xor rcx, rcx
mov rdx, rax
lea r8, [rbp + 0xf0]
lea r9, [rbp + 0xf0]
test bl, bl
setne al
movzx rax, al
neg eax
mov dword [rsp + 0x20], eax
mov dword [rsp + 0x28], 0x20
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], 0
lea rax, [rbp + 0x88]
mov qword [rsp + 0x40], rax
lea rax, [rbp + 0x70]
mov qword [rsp + 0x48], rax
call sub.kernel32.dll_CreateProcessW
test eax, eax
jne 0x42463e
lea rcx, [rbp + 0x68]
lea rdx, [0x004244f0]
call fcn.0040c320
mov rcx, qword [rbp + 0x68]
call fcn.00409080
xor rcx, rcx
mov rdx, rax
lea r8, [0x004246b0]
mov r9d, 0x40
call sub.user32.dll_MessageBoxW
jmp 0x42466c
mov rcx, qword [rbp + 0x70]
or edx, 0xffffffff
call sub.kernel32.dll_WaitForSingleObject
mov rcx, qword [rbp + 0x70]
lea rdx, [rbp + 0x10c]
call sub.kernel32.dll_GetExitCodeProcess
mov rcx, qword [rbp + 0x70]
call sub.kernel32.dll_CloseHandle_1
mov rcx, qword [rbp + 0x78]
call sub.kernel32.dll_CloseHandle_1
nop
lea rcx, [rbp + 0x68]
call fcn.00408270
mov eax, dword [rbp + 0x10c]
lea rsp, [rbp + 0x118]
pop rbx
pop rbp
ret
Function at 0x424b60
Capabilities:
Write file on windows

Disassembly:
push rbp
sub rsp, 0x50
mov rbp, rsp
mov qword [rbp + 0x48], rbp
mov qword [rbp + 0x60], rcx
mov qword [rbp + 0x68], rdx
mov rcx, qword [rbp + 0x68]
call fcn.00408400
nop
mov rcx, qword [rbp + 0x68]
call fcn.00409080
mov rcx, rax
mov edx, 0x40000000
xor r8, r8
xor r9, r9
mov dword [rsp + 0x20], 2
mov dword [rsp + 0x28], 0x102
mov qword [rsp + 0x30], 0
call sub.kernel32.dll_CreateFileW
mov rcx, qword [rbp + 0x60]
mov qword [rcx + 0x58], rax
nop
mov rax, qword [rbp + 0x60]
mov rcx, qword [rax + 0x58]
mov rax, qword [rbp + 0x60]
mov rdx, qword [rax + 0x60]
mov rax, qword [rbp + 0x60]
mov r8d, dword [rax + 0x68]
mov r9, qword [rbp + 0x60]
add r9, 0x54
mov qword [rsp + 0x20], 0
call sub.kernel32.dll_WriteFile_1
nop
mov rax, qword [rbp + 0x60]
mov rcx, qword [rax + 0x58]
call sub.kernel32.dll_CloseHandle_1
nop
lea rcx, [rbp + 0x68]
call fcn.00408270
lea rsp, [rbp + 0x50]
pop rbp
ret
Function at 0x10000c780
Capabilities:
Get user security identifier

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbx
push rsi
push r12
sub rsp, 0x60
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov rsi, rdx
mov rbx, rcx
test rdx, rdx
je 0x100020e2e
test rcx, rcx
je 0x100020e38
and qword [rdx], 0
and qword [rsp + 0x48], 0
and dword [rsp + 0x90], 0
and dword [rsp + 0x98], 0
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x90]
mov qword [rsp + 0x28], rax
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x98]
xor r8d, r8d
mov rdx, rcx
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x7a
jne 0x100020e89
mov ecx, dword [rsp + 0x90]
mov eax, 2
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call qword [0x100070a68]
mov r12, rax
mov qword [rsp + 0x48], rax
jmp 0x10000c83b
test r12, r12
je 0x100020e7f
mov ecx, dword [rsp + 0x98]
call qword [sym.imp.msvcrt.dll_malloc]
mov qword [rsi], rax
test rax, rax
je 0x100020e75
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x90]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], r12
lea r9, [rsp + 0x98]
mov r8, rax
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
test eax, eax
je 0x100020e5c
xor ebx, ebx
jmp 0x10000c89b
mov rcx, r12
call qword [0x100070a60]
jmp 0x10000c8a6
mov eax, ebx
add rsp, 0x60
pop r12
pop rsi
pop rbx
ret
mov eax, 0x80004003
jmp 0x10000c8a8
mov eax, 0x80070057
jmp 0x10000c8a8
call fcn.10000c20c
mov ebx, eax
mov rcx, qword [rsi]
call qword [sym.imp.msvcrt.dll_free]
and qword [rsi], 0
jmp 0x10000c89b
mov ebx, 0x8007000e
jmp 0x10000c89b
mov ebx, 0x8007000e
jmp 0x10000c8a6
mov ecx, eax
call fcn.1000310b4
mov ebx, eax
jmp 0x10000c8a6