joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40cc60
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.00409730
mov rcx, qword [rbp + 0x90]
call fcn.00409730
nop
mov rcx, qword [rbp + 0x28]
call fcn.004095a0
cmp qword [rbp + 0x90], 0
je 0x40ce26
lea rcx, [rbp + 0x60]
mov rdx, qword [rbp + 0x90]
call fcn.00409b30
xor rax, rax
cmp qword [rbp + 0x90], 0
je 0x40cd11
mov rax, qword [rbp + 0x90]
mov eax, dword [rax - 4]
cmp eax, 1
jl 0x40cd4b
mov rcx, qword [rbp + 0x90]
movsxd rdx, eax
cmp word [rcx + rdx*2 - 2], 0x2e
jne 0x40cd44
lea rcx, [rbp + 0x60]
mov rdx, qword [rbp + 0x90]
mov r8d, 1
mov r9d, eax
call fcn.0040a8e0
jmp 0x40cd4b
sub eax, 1
test eax, eax
jne 0x40cd16
nop
lea rcx, [rbp + 0x68]
mov rdx, qword [rbp + 0x88]
call fcn.0040c830
cmp qword [rbp + 0x68], 0
je 0x40cd89
mov rcx, rbp
lea rdx, [rbp + 0x58]
mov r8, qword [rbp + 0x60]
mov r9, qword [rbp + 0x68]
call fcn.0040c9e0
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x58]
call fcn.00409ab0
jmp 0x40ce25
call sub.kernel32.dll_GetUserDefaultUILanguage
lea rcx, [rbp + 0x48]
mov edx, eax
call fcn.0040bf80
mov rcx, rbp
lea rdx, [rbp + 0x50]
mov r8, qword [rbp + 0x60]
mov r9, qword [rbp + 0x48]
call fcn.0040c9e0
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x50]
call fcn.00409ab0
mov rax, qword [rbp + 0x28]
cmp qword [rax], 0
jne 0x40cdfe
cmp byte [0x00430c78], 0
jne 0x40cdfe
call sub.kernel32.dll_GetSystemDefaultUILanguage
lea rcx, [rbp + 0x38]
mov edx, eax
call fcn.0040bf80
mov rcx, rbp
lea rdx, [rbp + 0x40]
mov r8, qword [rbp + 0x60]
mov r9, qword [rbp + 0x38]
call fcn.0040c9e0
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x40]
call fcn.00409ab0
mov rax, qword [rbp + 0x28]
cmp qword [rax], 0
jne 0x40ce25
mov rcx, rbp
lea rdx, [rbp + 0x30]
mov r8, qword [rbp + 0x60]
call fcn.0040cb20
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x30]
call fcn.00409ab0
nop
lea rcx, [rbp + 0x30]
mov edx, 8
call fcn.00409680
lea rcx, [rbp + 0x88]
mov edx, 2
call fcn.00409680
mov rax, qword [rbp + 0x28]
lea rsp, [rbp + 0x70]
pop rbp
ret

Function at 0x40d6f0
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 0x40d710
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 0x40d734
cmp eax, 1
jae 0x40d739
cmp ecx, 5
jbe 0x40d745
mov dword [0x0042c9a0], 0x7f
jmp 0x40d74f
mov dword [0x0042c9a0], 0x409
add rsp, 0x28
ret
Function at 0x40d9f0
Capabilities:
Set thread local storage value

Disassembly:
push rbx
sub rsp, 0x20
call fcn.0040d9e0
mov ebx, eax
test ebx, ebx
je 0x40da3b
cmp dword [0x004293b8], 0xffffffff
jne 0x40da14
mov ecx, 0xe2
call fcn.004093c0
mov ecx, ebx
call fcn.0040d9c0
test rax, rax
jne 0x40da2d
mov ecx, 0xe2
call fcn.004093c0
jmp 0x40da3b
mov ecx, dword [0x004293b8]
mov rdx, rax
call sub.kernel32.dll_TlsSetValue
add rsp, 0x20
pop rbx
ret

Function at 0x40da50
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
cmp byte [0x00430d54], 0
je 0x40da8b
mov ecx, dword [0x004293b8]
call sub.kernel32.dll_TlsGetValue
test rax, rax
jne 0x40da9f
call fcn.0040d9f0
mov ecx, dword [0x004293b8]
call sub.kernel32.dll_TlsGetValue
test rax, rax
jne 0x40da9f
mov rax, qword [0x00430d88]
jmp 0x40da9f
mov rax, qword gs:[0x58]
movsxd rcx, dword [0x004293b8]
mov rax, qword [rax + rcx*8]
add rsp, 0x28
ret

Function at 0x41c6c0
Capabilities:
Validate payment card number using luhn algorithm

Disassembly:
push rbp
push rsi
push rbx
sub rsp, 0x30
mov rbp, rsp
movdqa xmmword [rbp + 0x20], xmm6
mov rbx, rdx
movapd xmm6, xmm2
mov rcx, rbx
mov edx, 0xa
xor r8, r8
call fcn.004059e0
movsd xmm0, qword [0x0041c780]
comisd xmm0, xmm6
jbe 0x41c6f9
mov byte [rbx + 9], 0x80
movapd xmm0, xmm6
call fcn.004053c0
call fcn.004053a0
mov rcx, rax
xor r8, r8
jmp 0x41c761
mov r9d, 0x64
mov rax, rcx
cqo
idiv r9
mov r9, rdx
movsxd r10, r8d
mov r11d, 0xa
mov eax, r9d
cdq
idiv r11d
mov r11, rdx
mov esi, 0xa
mov eax, r9d
cdq
idiv esi
shl eax, 4
add r11b, al
mov byte [rbx + r10], r11b
mov r9d, 0x64
mov rax, rcx
cqo
idiv r9
mov rcx, rax
add r8d, 1
test rcx, rcx
jle 0x41c76c
cmp r8d, 9
jl 0x41c70f
mov rax, rbx
movdqa xmm6, xmmword [rbp + 0x20]
lea rsp, [rbp + 0x30]
pop rbx
pop rsi
pop rbp
ret

Function at 0x41d400
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 0x41d427
movzx rax, word [rbp + 0x2c]
jmp 0x41d429
mov eax, ebx
lea rsp, [rbp + 0x38]
pop rbx
pop rbp
ret
Function at 0x41e9a0
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.0041e740
mov ebx, eax
mov rax, qword [0x0042b3b0]
cmp byte [rax], 0
je 0x41ead8
mov rcx, qword [0x0042b1e0]
call fcn.00405930
call fcn.00404df0
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 [0x0041e960]
mov r8d, 1
movsxd r9, esi
call fcn.0040b430
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, [0x0041eb78]
mov r8d, 2
lea r9, [rbp + 0x54]
mov qword [rsp + 0x20], 0
call sub.kernel32.dll_WriteFile_1
jmp 0x41eb1e
mov rcx, qword [0x00430d58]
call fcn.0040b5a0
mov rcx, rax
mov rax, qword [0x0042b198]
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 [0x0041e960]
call fcn.0040b470
lea rsp, [rbp + 0x8e0]
pop rbx
pop rsi
pop rbp
ret

Function at 0x420590
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.00409ca0
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.0040d6d0
mov esi, eax
cmp esi, 0x104
jbe 0x4205ed
mov ecx, esi
add ecx, ecx
mov ecx, ecx
call fcn.00404ab0
mov rdi, rax
jmp 0x4205f1
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.0040d6d0
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 0x420647
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 0x42062b
nop
lea rax, [rbp + 0x38]
cmp rdi, rax
je 0x420659
mov rcx, rdi
call fcn.00404ae0
mov eax, ebx
lea rsp, [rbp + 0x240]
pop rbx
pop rsi
pop rdi
pop r13
pop rbp
ret
Function at 0x4216f0
Capabilities:
Accept command line arguments

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov rbx, rcx
call sub.kernel32.dll_GetCommandLineW_1
mov rsi, rax
xor rax, rax
movzx rcx, word [rsi]
sub cx, 1
cmp cx, 0xffff
je 0x421734
cmp cx, 0x20
jb 0x421723
sub cx, 0x21
test cx, cx
jne 0x42172e
jmp 0x421729
test al, al
je 0x421734
jmp 0x42172e
test al, al
sete al
add rsi, 2
jmp 0x421704
nop
jmp 0x42173b
add rsi, 2
movzx rcx, word [rsi]
lea rdx, [0x00421764]
call fcn.00419820
test al, al
jne 0x421737
mov rcx, rbx
mov rdx, rsi
call fcn.0040a400
mov rax, rbx
add rsp, 0x28
pop rbx
pop rsi
ret

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

Disassembly:
sub rsp, 0x28
call fcn.0040a380
mov rcx, rax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x42189e
test eax, 0x10
je 0x4218a3
xor rax, rax
jmp 0x4218a5
mov al, 1
add rsp, 0x28
ret

Function at 0x421c20
Capabilities:
Encrypt data using rc6

Disassembly:
push r14
push r13
push rdi
push rsi
push rbx
sub rsp, 0x60
mov rcx, qword [0x004352c8]
lea rdx, [rsp + 0x20]
mov r8d, 0x40
call fcn.00404e80
mov dword [0x0043520c], 0xb7e15163
mov ebx, 1
lea rax, [0x0043520c]
movsxd rcx, ebx
lea rdx, [0x00435208]
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 0x421c53
nop
xor rbx, rbx
xor rsi, rsi
xor r13, r13
xor r14, r14
mov edi, 1
lea rax, [0x0043520c]
movsxd rcx, ebx
mov ecx, dword [rax + rcx*4]
add ecx, r13d
add ecx, r14d
mov edx, 3
call fcn.00421a70
mov r13d, eax
lea rax, [0x0043520c]
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.00421a70
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 0x421c8f
nop
add rsp, 0x60
pop rbx
pop rsi
pop rdi
pop r13
pop r14
ret
Function at 0x421e20
Capabilities:
Get common file path

Disassembly:
push rbp
mov eax, 0xfa0
sub rax, 0x1000
mov byte [rsp + rax], al
cmp rax, 0xffffffffffffbfa0
ja 0x421e27
sub rsp, 0x4060
mov rbp, rsp
mov qword [rbp + 0x30], rcx
mov dword [rbp + 0x3c], edx
mov qword [rbp + 0x40], 0
mov qword [rbp + 0x48], 0
mov qword [rbp + 0x50], 0
mov qword [rbp + 0x58], 0
nop
mov eax, 1
movsxd rcx, eax
mov word [rbp + rcx*2 + 0x5e], 0x20
add eax, 1
cmp eax, 0x2001
jne 0x421e71
nop
mov eax, dword [rbp + 0x3c]
sub eax, 1
cmp eax, 0xffffffff
je 0x421ea3
test eax, eax
je 0x421ed5
sub eax, 1
test eax, eax
jne 0x421f2e
jmp 0x421f15
mov ecx, 0x2000
lea rdx, [rbp + 0x60]
call sub.kernel32.dll_GetTempPathW
lea rcx, [rbp + 0x58]
lea rdx, [rbp + 0x60]
mov r8d, 0x2000
call fcn.00409810
mov rcx, qword [rbp + 0x30]
mov rdx, qword [rbp + 0x58]
call fcn.00419840
jmp 0x421f2e
xor rcx, rcx
mov edx, 0x1c
xor r8, r8
xor r9, r9
lea rax, [rbp + 0x60]
mov qword [rsp + 0x20], rax
call sub.SHFolder.dll_SHGetFolderPathW
lea rcx, [rbp + 0x50]
lea rdx, [rbp + 0x60]
mov r8d, 0x2000
call fcn.00409810
mov rcx, qword [rbp + 0x30]
mov rdx, qword [rbp + 0x50]
call fcn.00419840
jmp 0x421f2e
lea rcx, [rbp + 0x48]
xor rdx, rdx
call fcn.00405130
mov rcx, qword [rbp + 0x30]
mov rdx, qword [rbp + 0x48]
call fcn.0041a0a0
lea rcx, [rbp + 0x40]
mov rax, qword [rbp + 0x30]
mov rdx, qword [rax]
call fcn.00420220
mov rcx, qword [rbp + 0x30]
mov rdx, qword [rbp + 0x40]
call fcn.00409ab0
nop
lea rcx, [rbp + 0x40]
mov edx, 4
call fcn.00409680
mov rax, qword [rbp + 0x30]
lea rsp, [rbp + 0x4060]
pop rbp
ret

Function at 0x421fa0
Capabilities:
Create process on windows

Disassembly:
push rbp
sub rsp, 0x110
mov rbp, rsp
mov qword [rbp + 0x108], 0
mov qword [rbp + 0x58], rbp
mov qword [rbp + 0x120], rcx
nop
lea rcx, [rbp + 0xe8]
mov edx, 0x18
xor r8, r8
call fcn.004059e0
lea rcx, [rbp + 0x80]
mov edx, 0x68
xor r8, r8
call fcn.004059e0
mov dword [rbp + 0x80], 0x68
mov dword [rbp + 0xe8], 0x18
mov dword [rbp + 0xbc], 1
mov word [rbp + 0xc0], 0
mov byte [rbp + 0x67], 0
mov dword [rbp + 0xf8], 0
mov rcx, qword [rbp + 0x120]
call fcn.0040a380
xor rcx, rcx
mov rdx, rax
lea r8, [rbp + 0xe8]
lea r9, [rbp + 0xe8]
cmp byte [rbp + 0x67], 0
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 + 0x80]
mov qword [rsp + 0x40], rax
lea rax, [rbp + 0x68]
mov qword [rsp + 0x48], rax
call sub.kernel32.dll_CreateProcessW
test eax, eax
jne 0x4220cd
lea rcx, [rbp + 0x108]
lea rdx, [0x00421e00]
call fcn.0040d600
nop
mov rcx, qword [0x0042b1e0]
mov rdx, qword [rbp + 0x108]
call fcn.00406240
mov rcx, rax
call fcn.004063b0
call fcn.00404df0
nop
lea rcx, [rbp + 0x108]
call fcn.004095a0
jmp 0x4220fb
mov rcx, qword [rbp + 0x68]
or edx, 0xffffffff
call sub.kernel32.dll_WaitForSingleObject
mov rcx, qword [rbp + 0x68]
lea rdx, [rbp + 0x104]
call sub.kernel32.dll_GetExitCodeProcess
mov rcx, qword [rbp + 0x68]
call sub.kernel32.dll_CloseHandle_1
mov rcx, qword [rbp + 0x70]
call sub.kernel32.dll_CloseHandle_1
nop
lea rcx, [rbp + 0x108]
call fcn.004095a0
mov eax, dword [rbp + 0x104]
lea rsp, [rbp + 0x110]
pop rbp
ret
Function at 0x422630
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.00409730
nop
mov rcx, qword [rbp + 0x68]
call fcn.0040a380
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_1
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 rax, qword [rbp + 0x60]
lea r9, [rax + 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.004095a0
lea rsp, [rbp + 0x50]
pop rbp
ret
Function at 0x425e10
Capabilities:
Delete file
Set environment variable

Disassembly:
push rbp
push rbx
sub rsp, 0x98
mov rbp, rsp
mov qword [rbp + 0x48], 0
mov qword [rbp + 0x58], 0
mov qword [rbp + 0x50], 0
mov qword [rbp + 0x68], 0
mov qword [rbp + 0x60], 0
mov qword [rbp + 0x70], 0
mov qword [rbp + 0x88], 0
mov qword [rbp + 0x80], 0
mov qword [rbp + 0x78], rbp
mov rax, qword [0x0042b3b0]
mov byte [rax], 1
nop
lea rcx, [0x00422b00]
call fcn.0040de30
nop
mov rax, qword [0x0042b0e0]
mov dword [rax], 0
mov rcx, qword [0x00422178]
mov dl, 1
call fcn.00422520
mov qword [0x00435318], rax
mov rcx, qword [0x00435318]
lea rdx, [0x004261bc]
call fcn.00422740
test al, al
je 0x426065
mov rax, qword [0x00435318]
mov rcx, qword [rax + 0x60]
lea rdx, [0x004352d4]
mov rax, qword [0x00435318]
movsxd r8, dword [rax + 0x68]
call fcn.00404e80
mov rcx, qword [0x00435318]
call fcn.00422610
mov rcx, qword [0x00435318]
lea rdx, [0x004261d0]
call fcn.00422740
test al, al
je 0x426022
lea rcx, [rbp + 0x70]
xor rdx, rdx
call fcn.00421e20
lea rcx, [0x004352f8]
mov rdx, qword [rbp + 0x70]
call fcn.00409ab0
lea rcx, [rbp + 0x60]
lea rdx, [0x004352d4]
call fcn.0040a4e0
lea rcx, [rbp + 0x68]
mov rdx, qword [0x004352f8]
mov r8, qword [rbp + 0x60]
call fcn.004218b0
lea rcx, [0x00435300]
mov rdx, qword [rbp + 0x68]
call fcn.00409ab0
mov rcx, qword [0x00435318]
mov rdx, qword [0x00435300]
call fcn.00422630
lea rcx, [rbp + 0x58]
lea rdx, [0x00421de0]
call fcn.0040d600
mov rcx, qword [rbp + 0x58]
call fcn.0040a380
mov rbx, rax
lea rcx, [rbp + 0x50]
call fcn.004216f0
mov rcx, qword [rbp + 0x50]
call fcn.0040a380
mov rcx, rbx
mov rdx, rax
call sub.kernel32.dll_SetEnvironmentVariableW
lea rcx, [rbp + 0x48]
mov rax, qword [0x0042b318]
mov rdx, qword [rax]
call fcn.0040a400
lea rcx, [0x00435310]
mov edx, 5
lea r8, [0x004261e4]
mov r9, qword [0x00435300]
lea rax, [0x0042620c]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp + 0x48]
mov qword [rsp + 0x28], rax
lea rax, [0x00426220]
mov qword [rsp + 0x30], rax
call fcn.0040a7f0
mov rcx, qword [0x00435310]
call fcn.00421fa0
mov rcx, qword [0x0042b0e0]
mov dword [rcx], eax
mov rcx, qword [0x00435300]
call fcn.0040a380
mov rcx, rax
call sub.kernel32.dll_DeleteFileW
jmp 0x4260a6
lea rcx, [rbp + 0x88]
lea rdx, [0x00421df0]
call fcn.0040d600
nop
mov rcx, qword [0x0042b1e0]
mov rdx, qword [rbp + 0x88]
call fcn.00406240
mov rcx, rax
call fcn.004063b0
call fcn.00404df0
nop
lea rcx, [rbp + 0x88]
call fcn.004095a0
jmp 0x4260a6
lea rcx, [rbp + 0x80]
lea rdx, [0x00421e10]
call fcn.0040d600
nop
mov rcx, qword [0x0042b1e0]
mov rdx, qword [rbp + 0x80]
call fcn.00406240
mov rcx, rax
call fcn.004063b0
call fcn.00404df0
nop
lea rcx, [rbp + 0x80]
call fcn.004095a0
mov rcx, qword [0x00435318]
call fcn.004068f0
nop
lea rcx, [rbp + 0x48]
mov edx, 6
call fcn.00409680
lea rcx, [rbp + 0x80]
mov edx, 2
call fcn.00409680
call fcn.00409200
jmp 0x4260e3
lea rsp, [rbp + 0x98]
pop rbx
pop rbp
ret

Function at 0x100403a20
Capabilities:
Encode data using xor

Disassembly:
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
Function at 0x140004bb0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x20
lea rbp, [rsp + 0x20]
mov rax, rdx
mov rsi, qword [rbp + 0x70]
mov rdi, qword [rbp + 0x68]
mov rdx, qword [rbp + 0x60]
mov ebx, ecx
shr ebx, 8
lea r8, [rax + r8*2]
xor r11d, r11d
mov r15, rax
movzx r14d, byte [rax + 1]
add rax, 2
lea r10, [r11 + r14]
cmp byte [r15], bl
jne 0x140004c30
cmp r10, r11
jb 0x140004ca7
cmp r10, rdx
ja 0x140004cb9
add r11, r9
xor r15d, r15d
nop dword [rax + rax]
cmp r14, r15
je 0x140004c32
lea r12, [r15 + 1]
cmp byte [r11 + r15], cl
mov r15, r12
jne 0x140004c10
jmp 0x140004c94
ja 0x140004c3a
mov r11, r10
cmp rax, r8
jne 0x140004bde
add rsi, rdi
movzx ecx, cx
mov al, 1
nop word cs:[rax + rax]
lea r8, [rdi + 1]
movzx edx, byte [rdi]
test dl, dl
js 0x140004c70
mov rdi, r8
sub ecx, edx
jns 0x140004c8b
jmp 0x140004c96
cmp r8, rsi
je 0x140004cc8
movzx r8d, byte [rdi + 1]
add rdi, 2
and edx, 0x7f
shl edx, 8
or edx, r8d
sub ecx, edx
js 0x140004c96
xor al, 1
cmp rdi, rsi
jne 0x140004c50
jmp 0x140004c96
xor eax, eax
and al, 1
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
pop rbp
ret
lea r8, [0x140031ea0]
mov rcx, r11
mov rdx, r10
call fcn.14002e960
lea r8, [0x140031ea0]
mov rcx, r10
call fcn.14002e640
lea rcx, [0x140031e88]
call fcn.14002e9d0
int3

Function at 0x140006170
Capabilities:
Manipulate console buffer

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0xa8
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x20], 0xfffffffffffffffe
mov esi, edx
mov edi, ecx
call fcn.140006900
test rax, rax
je 0x1400061a8
mov rax, rdx
add rsp, 0xa8
pop rbx
pop rdi
pop rsi
pop rbp
ret
mov word [rbp + 0x1e], di
mov word [rbp + 0x1c], si
test di, di
js 0x1400061f0
test si, si
js 0x14000624b
mov rbx, rdx
mov rcx, qword [rdx + 0x10]
shl esi, 0x10
movzx edx, di
or edx, esi
call sub.KERNEL32.dll_SetConsoleCursorPosition
test eax, eax
je 0x1400062c2
lock dec qword [rbx]
jne 0x1400062e3
mov rcx, rbx
call fcn.140005e60
xor eax, eax
jmp 0x14000619c
mov qword [rbp + 0x10], rdx
lea rax, [rbp + 0x1e]
mov qword [rbp], rax
lea rax, [0x1400054a0]
mov qword [rbp + 8], rax
lea rax, [0x1400329c8]
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], 1
mov qword [rbp - 0x10], 0
mov rax, rbp
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], 1
lea rcx, [rbp - 0x48]
lea rdx, [rbp - 0x30]
call fcn.140001b70
lea rdx, [rbp - 0x48]
mov cl, 0x27
call fcn.140005ba0
jmp 0x1400062a4
mov qword [rbp + 0x10], rdx
lea rax, [rbp + 0x1c]
mov qword [rbp], rax
lea rax, [0x1400054a0]
mov qword [rbp + 8], rax
lea rax, [0x140032970]
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], 1
mov qword [rbp - 0x10], 0
mov rax, rbp
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], 1
lea rcx, [rbp - 0x60]
lea rdx, [rbp - 0x30]
call fcn.140001b70
lea rdx, [rbp - 0x60]
mov cl, 0x27
call fcn.140005ba0
mov rcx, qword [rbp + 0x10]
lock dec qword [rcx]
jne 0x14000619c
mov rsi, rax
call fcn.140005e60
mov rax, rsi
jmp 0x14000619c
call sub.KERNEL32.dll_GetLastError
call sub.KERNEL32.dll_GetLastError
shl rax, 0x20
or rax, 2
mov rcx, rbx
lock dec qword [rbx]
jne 0x14000619c
jmp 0x1400062b2
xor eax, eax
jmp 0x14000619c
Function at 0x14000f1c0
Capabilities:
Encode data using xor

Disassembly:
push rbp
mov rbp, rsp
mov rax, rdx
sub rdx, rcx
cmp rdx, 0x20
jae 0x14000f1e5
cmp rax, rcx
je 0x14000f1eb
cmp rdx, 4
jae 0x14000f1ef
xor eax, eax
xor r8d, r8d
jmp 0x14000f280
pop rbp
jmp fcn.1400023c0
xor eax, eax
pop rbp
ret
mov r8d, edx
and r8d, 0x1c
pxor xmm0, xmm0
xor eax, eax
movdqa xmm2, xmmword [0x1400314a0]
movdqa xmm3, xmmword [0x1400314b0]
pxor xmm1, xmm1
movzx r9d, word [rcx + rax]
movd xmm4, r9d
movzx r9d, word [rcx + rax + 2]
movd xmm5, r9d
pcmpgtb xmm4, xmm2
punpcklbw xmm4, xmm4
pshuflw xmm4, xmm4, 0xd4
pshufd xmm4, xmm4, 0xd4
pand xmm4, xmm3
paddq xmm0, xmm4
pcmpgtb xmm5, xmm2
punpcklbw xmm5, xmm5
pshuflw xmm4, xmm5, 0xd4
pshufd xmm4, xmm4, 0xd4
pand xmm4, xmm3
paddq xmm1, xmm4
add rax, 4
cmp r8, rax
jne 0x14000f210
paddq xmm1, xmm0
pshufd xmm0, xmm1, 0xee
paddq xmm0, xmm1
movq rax, xmm0
cmp r8, rdx
je 0x14000f297
nop dword [rax]
xor r9d, r9d
cmp byte [rcx + r8], 0xc0
setge r9b
add rax, r9
inc r8
cmp rdx, r8
jne 0x14000f280
pop rbp
ret

Function at 0x140013480
Capabilities:
Write file on windows

Disassembly:
push rbp
push rsi
sub rsp, 0xa8
lea rbp, [rsp + 0x80]
mov rsi, rcx
movups xmm0, xmmword [0x1441c8160]
movaps xmmword [rbp], xmm0
mov eax, 0xffffffff
cmp r8, rax
cmovb rax, r8
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], rdx
mov rax, rbp
mov qword [rsp + 0x20], rax
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ntdll.dll_NtWriteFile]
cmp eax, 0x103
jne 0x1400134f1
mov rcx, rsi
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [rbp]
cmp eax, 0x103
je 0x14001351e
test eax, eax
js 0x1400134fd
mov rdx, qword [rbp + 8]
xor eax, eax
jmp 0x140013514
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
mov edx, eax
shl rdx, 0x20
or rdx, 2
mov eax, 1
add rsp, 0xa8
pop rsi
pop rbp
ret
mov dword [rbp + 0x18], 0
mov byte [rbp + 0x1c], 0
lea rax, [0x1441c81c0]
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], 1
lea rax, [rbp + 0x20]
mov qword [rbp - 0x28], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
lea rcx, [rbp + 0x18]
lea rdx, [rbp - 0x38]
call fcn.140012b80
mov qword [rbp - 8], rax
lea rcx, [rbp - 8]
call fcn.140012c40
mov ecx, 7
int 0x29
ud2
Function at 0x140024be0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbp
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x68
lea rbp, [rsp + 0x60]
mov rsi, rcx
lea rcx, [rbp - 0x28]
call fcn.1400182d0
mov rcx, qword [rbp - 0x28]
mov rax, qword [rbp - 0x20]
movabs rbx, 0x8000000000000000
cmp rcx, rbx
jne 0x140024c1e
mov qword [rbp - 8], rax
mov qword [rbp - 0x10], rbx
jmp 0x140024c44
mov rdx, qword [rbp - 0x18]
mov qword [rbp - 0x40], rcx
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], rdx
lea rcx, [rbp - 0x10]
lea rdx, [rbp - 0x40]
call fcn.140024b00
mov r14, qword [rbp - 0x10]
cmp r14, rbx
jne 0x140024c5d
lea rcx, [rbp - 8]
call fcn.140012c60
mov qword [rsi], rbx
mov rdi, qword [rbp - 8]
mov r15, qword [rbp]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
invalid
je 0x140024c80
mov qword [rsi], r14
mov qword [rsi], rbx
test r14, r14
je 0x140024c50
mov rcx, qword [0x1441d1228]
xor edx, edx
mov r8, rdi
add rsp, 0x68
pop rbx
pop rdi
pop rsi
pop r14
pop rsi