joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000014dc
Capabilities:
Check os version
Get token membership

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
sub rsp, 0x1b0
mov rax, qword [0x100004110]
xor rax, rsp
mov qword [rsp + 0x1a0], rax
mov rdi, rdx
mov esi, ecx
lea rdx, [0x100001358]
xor ecx, ecx
call qword [sym.imp.msvcrt.dll_setlocale]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetThreadUILanguage]
xor r9d, r9d
xor r8d, r8d
lea r12d, [r9 + 1]
xor ecx, ecx
mov edx, r12d
call qword [sym.imp.KERNEL32.dll_HeapSetInformation]
lea rcx, [rsp + 0x80]
sub esi, r12d
mov dword [rsp + 0x80], 0x11c
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
xor ebx, ebx
cmp eax, ebx
je 0x100001577
cmp dword [rsp + 0x84], 5
jne 0x100001577
mov eax, dword [0x100004848]
cmp dword [rsp + 0x88], ebx
cmove eax, r12d
mov dword [0x100004848], eax
lea rax, [rsp + 0x68]
lea rcx, [rsp + 0x70]
mov r9d, 0x220
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x48], ebx
mov dword [rsp + 0x40], ebx
mov dword [rsp + 0x38], ebx
mov dword [rsp + 0x30], ebx
mov r8d, 0x20
mov dl, 2
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x60], ebx
mov dword [rsp + 0x20], ebx
mov byte [rsp + 0x70], bl
mov byte [rsp + 0x71], bl
mov byte [rsp + 0x72], bl
mov byte [rsp + 0x73], bl
mov byte [rsp + 0x74], bl
mov byte [rsp + 0x75], 5
mov qword [rsp + 0x68], rbx
call qword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov dword [rsp + 0x60], eax
cmp eax, ebx
je 0x1000016b6
mov rdx, qword [rsp + 0x68]
lea r8, [rsp + 0x60]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
neg eax
sbb ecx, ecx
and ecx, dword [rsp + 0x60]
mov dword [rsp + 0x60], ecx
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_FreeSid]
cmp dword [rsp + 0x60], ebx
je 0x1000016b6
cmp esi, ebx
je 0x100001640
mov rdx, qword [rdi + 8]
lea rcx, [0x100004240]
call fcn.100001408
mov rbp, rax
cmp rax, rbx
jne 0x10000164e
mov rdx, qword [rdi + 8]
mov ecx, 0x4000271a
call fcn.10000262c
mov ebx, r12d
mov ecx, 0x40002710
call fcn.10000262c
mov eax, ebx
jmp 0x1000016c3
mov rcx, qword [rax + 8]
sub esi, r12d
cmp esi, ebx
jne 0x100001672
lea rdx, [0x100001354]
call fcn.100001408
lea rdx, [rdi + 0x10]
xor ecx, ecx
call qword [rax + 8]
xor eax, eax
jmp 0x1000016c3
mov rdx, qword [rdi + 0x10]
call fcn.100001408
cmp rax, rbx
jne 0x1000016aa
mov rdx, qword [rdi + 0x10]
mov ecx, 0x4000271a
call fcn.10000262c
mov rcx, qword [rbp + 8]
lea rdx, [0x100001354]
call fcn.100001408
lea rdx, [rdi + 0x18]
lea ecx, [rsi - 1]
call qword [rax + 8]
jmp 0x1000016c0
lea rdx, [rdi + 0x18]
lea ecx, [rsi - 1]
call qword [rax + 8]
jmp 0x1000016c3
mov ecx, 0x40002719
call fcn.10000262c
mov eax, r12d
mov rcx, qword [rsp + 0x1a0]
xor rcx, rsp
call fcn.100002a30
lea r11, [rsp + 0x1b0]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r12
pop rdi
pop rsi
ret
Function at 0x1000023b0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
sub rsp, 0x40
mov rbx, rcx
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, rbx
repne scasw ax, word [rdi]
not rcx
lea rsi, [rcx - 1]
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rdi, rax
test rax, rax
je 0x1000024c3
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 2
jne 0x10000242f
lea rdx, [rsp + 0x80]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetConsoleMode]
test eax, eax
je 0x10000242f
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x78]
mov r8d, esi
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteConsoleW]
jmp 0x1000024c3
call qword [sym.imp.KERNEL32.dll_GetConsoleOutputCP]
and qword [rsp + 0x38], 0
and qword [rsp + 0x30], 0
and dword [rsp + 0x28], 0
and qword [rsp + 0x20], 0
mov ecx, eax
mov r9d, esi
mov r8, rbx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov r12d, eax
lea r13d, [rax + 1]
movsxd rcx, r13d
call qword [sym.imp.msvcrt.dll_malloc]
mov rbp, rax
test rax, rax
je 0x1000024c3
call qword [sym.imp.KERNEL32.dll_GetConsoleOutputCP]
and qword [rsp + 0x38], 0
and qword [rsp + 0x30], 0
mov ecx, eax
mov r9d, esi
mov r8, rbx
xor edx, edx
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], rbp
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x78]
mov r8d, r12d
mov rdx, rbp
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rbp
call qword [sym.imp.msvcrt.dll_free]
mov rbx, qword [rsp + 0x70]
add rsp, 0x40
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140f60b54
Capabilities:
Encode data using xor

Disassembly:
jmp 0x140f60b5e
push rax
push rcx
push rdx
push rbx
push rbp
push rsi
push rdi
push r8
push r9
push r10
push r11
push r12
push r13
push r14
push r15
pushfq
sub rsp, 8
stmxcsr dword [rsp]
call 0x140f60b87
pop rbp
sub rbp, 0x33
sub rbp, 0xf60b54
sub rsp, 0x20
jmp 0x140f60ba6
mov rax, 0xf60b54
add rax, rbp
add rax, 0x84
mov rcx, 0x60b
mov rdx, 0x21405ae8
xor byte [rax], dl
inc rax
dec rcx
jne 0x140f60bc5
jmp 0x140f60bdc
movabs al, byte [0xe8e8e8d461630161]
movabs al, byte [0xe9a0e8e8e9e02969]
add dword [rax - 0x171fd7d1], esp
call 0x16b25ace1
shr al, 0xe8
call 0xe1002ba1
jmp 0x1255f6f2f
Function at 0x1400046b0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x14000470d
lea rbx, [0x140036930]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x1400046f4
cmp r10, 2
jb 0x1400046f4
cmp byte [r9], r8b
jne 0x1400046f4
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x1400046d0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x14000474f
lea rbx, [0x140036930]
cmp r8b, 0x23
jne 0x140004733
cmp byte [r9], r8b
jne 0x140004733
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x140004720
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x140004890
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x1400048aa
mov qword [r8], 0
lea rdx, [0x14003a9cc]
call fcn.140004760
mov rbx, rax
test rax, rax
jne 0x1400048ca
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rsi
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
cmp eax, 0xffffffff
je 0x1400049a1
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x1400049a1
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x1400049a1
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x1400049a1
cmp rdi, 0xffffffffffffffff
je 0x1400049a1
mov rax, qword [0x140041aa0]
test rax, rax
je 0x14000493e
inc dword [rax + 0x3b0]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x1400049a1
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rdi
je 0x14000498e
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x140041aa0]
test rax, rax
je 0x140004983
dec dword [rax + 0x3b0]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x1400049aa
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x14000499c
mov qword [r14], rdi
mov rax, rsi
jmp 0x1400049ac
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x1400067f0
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0xc8]
mov rax, qword [rcx + 0xd0]
movsxd r9, edx
mov ebx, dword [rax + r8*4 - 4]
lea r8, [0x140036930]
not ebx
movzx eax, r9b
movzx ecx, bl
xor rcx, rax
shr ebx, 8
mov eax, r9d
shr eax, 8
movzx edx, al
mov eax, r9d
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rdx, rcx
shr ebx, 8
shr eax, 0x10
xor ebx, dword [r8 + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
mov rax, qword [0x140041aa0]
xor rdx, rcx
xor ebx, dword [r8 + rdx*4]
movzx ecx, bl
shr ebx, 8
mov edx, r9d
shr rdx, 0x18
xor rdx, rcx
xor ebx, dword [r8 + rdx*4]
not ebx
cmp dword [rax + 0x1c5c], ebx
jne 0x14000687d
mov dword [rax + 0x1c60], ebx
cmp dword [rax + 0x1c98], ebx
jne 0x14000688c
mov byte [rax + 0x1c9c], 1
cmp dword [rax + 0x1c44], ebx
jne 0x1400068a3
mov r8, r9
mov edx, 4
mov ecx, ebx
call fcn.140016eb0
mov eax, ebx
add rsp, 0x20
pop rbx
ret
Function at 0x140011580
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x140041040]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x140041aa0]
mov edi, edx
cmp byte [rbx + 0x1f7d], 0
jne 0x1400115e1
cmp byte [rbx + 0x1f7e], 0
jne 0x1400115e1
movsx r9d, word [rbx + 0x3056]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.140004630
test dil, 1
je 0x140011708
jmp 0x14001166a
movss xmm1, dword [rbx + 0x1618]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x3056]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x14003af34]
mulss xmm1, dword [0x14003af28]
lea edx, [rax + 0x10]
addss xmm0, dword [rbx + 0x128]
addss xmm1, dword [rbx + 0x12c]
mov qword [rbx + 0x1d20], rax
mov dword [rbx + 0x1d0c], 1
movss dword [rbx + 0x1d18], xmm0
movss dword [rbx + 0x1d1c], xmm1
movss xmm0, dword [rbx + 0x1674]
mulss xmm0, dword [0x14003aeac]
or dword [rbx + 0x1d08], 0x41
movss dword [rbx + 0x1d68], xmm0
call fcn.140004630
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x1400116c0
lea r11, [0x140036930]
nop word [rax + rax]
cmp r9b, 0x23
jne 0x1400116a3
cmp byte [r8], r9b
jne 0x1400116a3
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x140011690
not ecx
call fcn.14000b370
test rax, rax
je 0x140011708
cmp byte [rax + 0x8e], 0
je 0x140011708
mov byte [rax + 0x95], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xb0], 1
lea rcx, [rsp + 0x20]
inc word [rbx + 0x3056]
mov edx, 0x10
movsx r9d, word [rbx + 0x3056]
call fcn.140004630
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.14000d970
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140034020
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret

Function at 0x140015c90
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x30f8], 0
lea rbx, [rcx + 0x3100]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x140015d33
mov ecx, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test ecx, ecx
jns 0x140015ce6
mov eax, ecx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, ecx
mov rcx, rbx
test eax, eax
cmovg edx, eax
call fcn.140017af0
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.140004db0
mov eax, dword [rbx]
lea rcx, [0x1400419c4]
mov r9, qword [rdi + 0x30f8]
test eax, eax
lea edx, [rax - 1]
mov rax, qword [rdi + 0x3108]
cmove edx, r14d
test rax, rax
movsxd r8, edx
mov edx, 1
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x140015d3b
mov rcx, rbx
call fcn.140004db0
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x140033f00
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x160
mov rax, qword [0x140041040]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.Attempting_to_get_process_ID_of:
call fcn.140002e20
mov rcx, rax
lea rdx, str.Robloxplayerbeta.exe
call fcn.140002e20
mov rcx, rax
lea rdx, [0x140002ff0]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
xor edi, edi
xor edx, edx
lea ecx, [rdi + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140033fb8
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x130
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x140033faf
lea rdx, str.Robloxplayerbeta.exe
lea rcx, [rsp + 0x4c]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
je 0x140033fab
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x140033f81
jmp 0x140033faf
mov edi, dword [rsp + 0x28]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.Got_process_ID:
call fcn.140002e20
mov rcx, rax
mov edx, edi
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int____ptr64]
mov rcx, rax
lea rdx, [0x140002ff0]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov eax, edi
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.140034020
mov rbx, qword [rsp + 0x170]
add rsp, 0x160
pop rdi
ret

Function at 0x140034b8c
Capabilities:
Parse pe header

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

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
xor eax, eax
mov dword [rcx + 0x10], 0xd
mov qword [rcx], rax
mov rbx, rcx
mov qword [rcx + 8], rax
xor ecx, ecx
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x14000146b
mov ecx, 0xd
call qword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
je 0x1400013f0
mov ecx, 0xd
call qword [sym.imp.USER32.dll_GetClipboardData]
mov dword [rbx + 0x10], 0xd
jmp 0x140001411
mov ecx, 8
call qword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
je 0x140001479
mov ecx, 8
call qword [sym.imp.USER32.dll_GetClipboardData]
mov dword [rbx + 0x10], 8
mov rcx, rax
mov qword [rsp + 0x30], rsi
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov rcx, rdi
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
call qword [sym.imp.USER32.dll_CloseClipboard]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalSize]
mov qword [rbx + 8], rax
test rsi, rsi
je 0x140001466
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rbx], rax
test rax, rax
je 0x140001466
mov r8, qword [rbx + 8]
mov rdx, rsi
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov rsi, qword [rsp + 0x30]
mov rax, rbx
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
call qword [sym.imp.USER32.dll_CloseClipboard]
mov rax, rbx
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140002f10
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140002f5a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140002f5a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140002f5a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140002f5a
cmp dword [rcx + 0x84], 0xe
jbe 0x140002f5a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140002f5c
xor al, al
add rsp, 0x28
ret
Function at 0x407f90
Capabilities:
Check for time delay via gettickcount

Disassembly:
push rbp
push r14
push r13
push rdi
push rsi
push rbx
sub rsp, 0x48
mov rbp, rsp
mov qword [rbp + 0x28], rcx
mov ebx, edx
mov rax, qword [rbp + 0x28]
mov r13d, dword [rax + 0x18]
mov rcx, qword [rbp + 0x28]
call fcn.004082e0
mov esi, eax
test sil, sil
jne 0x408152
test ebx, ebx
je 0x408152
xor rdi, rdi
test r13d, r13d
jle 0x408077
call sub.kernel32.dll_GetTickCount
mov r14d, eax
mov dword [rbp + 0x3c], 0
test r13d, r13d
jle 0x408056
cmp ebx, 0xffffffff
je 0x408003
call sub.kernel32.dll_GetTickCount
sub eax, r14d
cmp eax, ebx
jb 0x408003
xor rsi, rsi
jmp 0x408152
mov rax, qword [rbp + 0x28]
cmp dword [rax], 1
jg 0x408056
mov rax, qword [rbp + 0x28]
cmp dword [rax], 0
jne 0x408044
xor eax, eax
mov ecx, 1
mov rdx, qword [rbp + 0x28]
lock cmpxchg dword [rdx], ecx
test eax, eax
jne 0x408044
call sub.kernel32.dll_GetCurrentThreadId
mov rcx, qword [rbp + 0x28]
mov dword [rcx + 8], eax
mov dword [rcx + 4], 1
mov sil, 1
jmp 0x408152
lea rcx, [rbp + 0x3c]
call fcn.00407c60
sub r13d, 1
test r13d, r13d
jg 0x407fea
nop
cmp ebx, 0xffffffff
je 0x408077
call sub.kernel32.dll_GetTickCount
mov ecx, eax
sub ecx, r14d
cmp ecx, ebx
jb 0x408072
xor rsi, rsi
jmp 0x408152
sub eax, r14d
sub ebx, eax
mov rax, qword [rbp + 0x28]
mov ecx, dword [rax]
test ecx, ecx
je 0x407fad
mov edx, ecx
add edx, 2
mov eax, ecx
mov r8, qword [rbp + 0x28]
lock cmpxchg dword [r8], edx
cmp eax, ecx
jne 0x408077
nop
call sub.kernel32.dll_GetTickCount
mov r14d, eax
mov rcx, qword [rbp + 0x28]
call fcn.00408200
xor rcx, rcx
mov rdx, rax
mov r8d, ebx
mov rax, qword [0x0046e990]
call qword [rax + 0x20]
test eax, eax
sete sil
cmp ebx, 0xffffffff
je 0x4080e1
call sub.kernel32.dll_GetTickCount
mov ecx, eax
sub ecx, r14d
cmp ecx, ebx
jae 0x4080de
sub eax, r14d
sub ebx, eax
jmp 0x4080e1
xor rbx, rbx
test sil, sil
je 0x408113
mov rax, qword [rbp + 0x28]
mov ecx, dword [rax]
mov eax, ecx
test eax, 1
jne 0x408110
mov edx, ecx
sub edx, 2
or edx, 1
mov eax, ecx
mov r8, qword [rbp + 0x28]
lock cmpxchg dword [r8], edx
cmp eax, ecx
jne 0x4080e6
mov dil, 1
nop
jmp 0x408130
mov rax, qword [rbp + 0x28]
mov ecx, dword [rax]
mov edx, ecx
sub edx, 2
mov eax, ecx
mov r8, qword [rbp + 0x28]
lock cmpxchg dword [r8], edx
cmp eax, ecx
jne 0x408113
mov dil, 1
test dil, dil
je 0x40809a
nop
test sil, sil
je 0x408152
call sub.kernel32.dll_GetCurrentThreadId
mov rcx, qword [rbp + 0x28]
mov dword [rcx + 8], eax
mov dword [rcx + 4], 1
mov eax, esi
lea rsp, [rbp + 0x48]
pop rbx
pop rsi
pop rdi
pop r13
pop r14
pop rbp
ret
Function at 0x409ae0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x40
cmp byte [0x0046e098], 0
je 0x409b7e
cmp word [0x0046e3a8], 0xd7b2
jne 0x409b13
cmp dword [0x0046e3b0], 0
jbe 0x409b13
lea rcx, [0x0046e3a0]
call qword [0x0046e3c8]
mov ecx, 0xfffffff5
call sub.kernel32.dll_GetStdHandle
mov rcx, rax
lea rdx, [0x00461758]
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, [0x00409bb4]
call fcn.0040ac80
mov rcx, rbx
mov rdx, rax
mov r8d, 2
lea r9, [rsp + 0x3c]
mov qword [rsp + 0x20], 0
call sub.kernel32.dll_WriteFile
jmp 0x409ba0
cmp byte [0x00460052], 0
jne 0x409ba0
xor rcx, rcx
lea rdx, [0x00461758]
lea r8, [0x00461668]
xor r9, r9
call sub.user32.dll_MessageBoxA
add rsp, 0x40
pop rbx
ret

Function at 0x40cb60
Capabilities:
Check os version

Disassembly:
sub rsp, 0x28
lea rcx, [0x00472c80]
call sub.kernel32.dll_InitializeCriticalSection
mov word [0x00472ca8], 0x7f
call sub.kernel32.dll_GetVersion
and eax, 0xff
cmp eax, 6
setae al
mov byte [0x00472c78], al
cmp byte [0x00472c78], 0
je 0x40cbff
lea rcx, [0x0040cc04]
call sub.kernel32.dll_GetModuleHandleW
mov rcx, rax
lea rdx, [0x0040cc1e]
call sub.kernel32.dll_GetProcAddress
mov qword [0x00472c60], rax
lea rcx, [0x0040cc04]
call sub.kernel32.dll_GetModuleHandleW
mov rcx, rax
lea rdx, [0x0040cc3c]
call sub.kernel32.dll_GetProcAddress
mov qword [0x00472c68], rax
lea rcx, [0x0040cc04]
call sub.kernel32.dll_GetModuleHandleW
mov rcx, rax
lea rdx, [0x0040cc5a]
call sub.kernel32.dll_GetProcAddress
mov qword [0x00472c70], rax
add rsp, 0x28
ret
Function at 0x40ced0
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.00409f90
movzx rax, word [rbp + 0x4e]
cmp word [0x00461d18], ax
ja 0x40cfb8
movzx rax, word [rbp + 0x4e]
cmp ax, word [0x00462118]
mov word [rbp + 0x4e], ax
ja 0x40cfb8
mov ecx, 0x40
xor r8, r8
cmp ecx, r8d
jb 0x40cfb7
mov eax, ecx
add eax, r8d
mov r9d, 2
xor edx, edx
div r9d
lea rdx, [0x00461d18]
mov r9d, eax
add r9, r9
movzx r10, word [rbp + 0x4e]
cmp word [rdx + r9*8], r10w
jbe 0x40cf71
mov ecx, eax
sub ecx, 1
jmp 0x40cfb2
lea rdx, [0x00461d18]
mov r8d, eax
add r8, r8
movzx r9, word [rbp + 0x4e]
cmp word [rdx + r8*8], r9w
jae 0x40cf93
mov r8d, eax
add r8d, 1
jmp 0x40cfb2
mov rcx, qword [rbp + 0x50]
mov rdx, qword [rbp + 0x40]
lea r8, [0x00461d20]
mov eax, eax
add rax, rax
mov r8, qword [r8 + rax*8]
call fcn.0040cd70
jmp 0x40cfb7
cmp ecx, r8d
jae 0x40cf40
nop
mov rax, qword [rbp + 0x40]
cmp qword [rax], 0
jne 0x40d09a
movzx rcx, word [rbp + 0x4e]
movzx ecx, cx
mov edx, 2
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x40d09a
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.0040b320
lea rcx, [rbp + 0x60]
lea rdx, [rbp + 0x7c]
mov r8d, 0x55
call fcn.0040b320
lea rcx, [rbp + 0x58]
lea rdx, [rbp + 0x126]
mov r8d, 0x55
call fcn.0040b320
mov rcx, qword [rbp + 0x40]
mov edx, 5
mov r8, qword [rbp + 0x68]
lea r9, [0x0040d0f4]
mov rax, qword [rbp + 0x60]
mov qword [rsp + 0x20], rax
lea rax, [0x0040d104]
mov qword [rsp + 0x28], rax
mov rax, qword [rbp + 0x58]
mov qword [rsp + 0x30], rax
call fcn.0040b710
nop
lea rcx, [rbp + 0x58]
mov edx, 3
call fcn.0040a070
mov rax, qword [rbp + 0x40]
lea rsp, [rbp + 0x1d0]
pop rbp
ret