joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140017ee0
Capabilities:
Read .ini file

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x440
mov rax, qword [0x1400d3008]
xor rax, rsp
mov qword [rsp + 0x430], rax
movzx eax, r8b
lea rdi, str.True
test al, al
lea r8, str.False
mov rbx, rdx
lea rcx, [rsp + 0x230]
cmovne r8, rdi
lea rdx, [0x1400b39a4]
call fcn.140018e00
lea rax, str..Settings.ini
mov rdx, rbx
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x230]
mov dword [rsp + 0x20], 0xff
lea rcx, str.Setting
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
xor eax, eax
lea r8, [rsp + 0x30]
mov edx, eax
nop dword [rax + rax]
movzx ecx, word [r8 + rdx*2]
inc rdx
cmp cx, word [rdi + rdx*2 - 2]
jne 0x140017f89
cmp rdx, 5
jne 0x140017f70
mov al, 1
jmp 0x140017fbb
lea rdx, [rsp + 0x30]
lea r8, str.true
nop word [rax + rax]
movzx ecx, word [rdx + rax*2]
inc rax
cmp cx, word [r8 + rax*2 - 2]
jne 0x140017fb9
cmp rax, 5
jne 0x140017fa0
mov al, 1
jmp 0x140017fbb
xor al, al
mov rcx, qword [rsp + 0x430]
xor rcx, rsp
call fcn.14002d9f0
mov rbx, qword [rsp + 0x450]
add rsp, 0x440
pop rdi
ret

Function at 0x14001adf0
Capabilities:
Compare security identifiers

Disassembly:
push rdi
sub rsp, 0x150
mov rax, qword [0x1400d3008]
xor rax, rsp
mov qword [rsp + 0x140], rax
xor dil, dil
mov qword [rsp + 0x30], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rsp + 0x30]
mov edx, 8
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x14001ae38
xor al, al
jmp 0x14001aeb2
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
mov r9d, 0x100
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x40]
mov dword [rsp + 0x38], 0x100
mov edx, 1
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x14001ae34
mov qword [rsp + 0x160], rbx
call fcn.14001ad60
mov rbx, rax
test rax, rax
je 0x14001ae9b
mov rdx, qword [rsp + 0x40]
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
mov rcx, rbx
setne dil
call qword [sym.imp.ADVAPI32.dll_FreeSid]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0x160]
movzx eax, dil
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.14002d9f0
add rsp, 0x150
pop rdi
ret
Function at 0x14001b240
Capabilities:
Create process on windows
Impersonate user

Disassembly:
push rbp
push rsi
push rdi
push r14
sub rsp, 0x78
mov rax, qword [0x1400d3008]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov r14, qword [rsp + 0xc0]
mov rbp, r9
mov rsi, r8
mov rdi, rdx
call fcn.14001b190
test al, al
jne 0x14001b27a
xor al, al
jmp 0x14001b3b4
call qword [sym.imp.USER32.dll_GetShellWindow]
test rax, rax
je 0x14001b273
mov qword [rsp + 0x70], r15
lea rdx, [rsp + 0x50]
xor r15d, r15d
mov rcx, rax
mov dword [rsp + 0x50], r15d
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov r8d, dword [rsp + 0x50]
test r8d, r8d
jne 0x14001b2b1
xor al, al
jmp 0x14001b3af
xor edx, edx
mov qword [rsp + 0xa0], rbx
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
jne 0x14001b2d6
xor dil, dil
jmp 0x14001b3a3
lea r8, [rsp + 0x60]
mov qword [rsp + 0x60], r15
mov edx, 2
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x14001b2fa
xor dil, dil
jmp 0x14001b38a
mov rcx, qword [rsp + 0x60]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
mov r9d, 2
xor r8d, r8d
mov dword [rsp + 0x20], 1
mov edx, 0x18b
mov qword [rsp + 0x58], r15
call qword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
test eax, eax
je 0x14001b377
cmp qword [rsi + 0x18], 8
jb 0x14001b338
mov rsi, qword [rsi]
cmp qword [rdi + 0x18], 8
jb 0x14001b342
mov rdi, qword [rdi]
mov rcx, qword [rsp + 0x58]
mov r9, rdi
mov qword [rsp + 0x40], r14
xor r8d, r8d
mov qword [rsp + 0x38], rbp
xor edx, edx
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], r15
mov dword [rsp + 0x20], r15d
call qword [sym.imp.ADVAPI32.dll_CreateProcessWithTokenW]
test eax, eax
je 0x14001b377
mov dil, 1
jmp 0x14001b37a
xor dil, dil
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x14001b38a
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14001b39a
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0xa0]
movzx eax, dil
mov r15, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.14002d9f0
add rsp, 0x78
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x14001b3d0
Capabilities:
Create process on windows

Disassembly:
mov r11, rsp
push rbx
sub rsp, 0xb0
mov rax, qword [0x1400d3008]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov qword [r11 - 0x10], rbp
mov rbp, qword [rsp + 0xe0]
mov qword [r11 - 0x18], rsi
mov rsi, r8
mov qword [r11 - 0x20], rdi
mov rdi, rdx
mov qword [r11 - 0x28], r14
lea rdx, [r11 - 0x50]
mov qword [r11 - 0x30], r15
mov r14, r9
xor r15d, r15d
mov qword [r11 - 0x50], r15
call qword [sym.imp.WTSAPI32.dll_WTSQueryUserToken]
test eax, eax
je 0x14001b4cb
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x14001b4d0
mov rdx, rcx
mov qword [rsp + 0x60], r15
lea rcx, [rsp + 0x60]
xor r8d, r8d
call qword [sym.imp.USERENV.dll_CreateEnvironmentBlock]
test eax, eax
je 0x14001b4cb
xor bl, bl
cmp qword [rsi + 0x18], 8
jb 0x14001b45c
mov rsi, qword [rsi]
cmp qword [rdi + 0x18], 8
jb 0x14001b466
mov rdi, qword [rdi]
mov rax, qword [rsp + 0x60]
xor r9d, r9d
mov rcx, qword [rsp + 0x68]
mov r8, rdi
mov qword [rsp + 0x50], rbp
xor edx, edx
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 0x400
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], r15
call qword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
je 0x14001b4b4
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov bl, 1
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14001b4c4
call qword [sym.imp.USERENV.dll_DestroyEnvironmentBlock]
mov rcx, qword [rsp + 0x68]
jmp 0x14001b4d2
mov rcx, qword [rsp + 0x68]
xor bl, bl
mov r15, qword [rsp + 0x88]
mov r14, qword [rsp + 0x90]
mov rdi, qword [rsp + 0x98]
mov rsi, qword [rsp + 0xa0]
mov rbp, qword [rsp + 0xa8]
test rcx, rcx
je 0x14001b505
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movzx eax, bl
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.14002d9f0
add rsp, 0xb0
pop rbx
ret
Function at 0x14001c0a0
Capabilities:
Get common file path
Get startup folder

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x250
mov rax, qword [0x1400d3008]
xor rax, rsp
mov qword [rsp + 0x240], rax
xor ebx, ebx
lea rdx, [rsp + 0x30]
mov rdi, rcx
mov dword [rsp + 0x20], ebx
xor ecx, ecx
lea r9d, [rbx + 1]
lea r8d, [rbx + 0x23]
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov qword [rdi + 0x18], 7
mov qword [rdi + 0x10], rbx
mov word [rdi], bx
cmp word [rsp + 0x30], bx
je 0x14001c10a
lea rax, [rsp + 0x30]
or rbx, 0xffffffffffffffff
nop dword [rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x14001c100
mov r8, rbx
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.1400108b0
mov rax, rdi
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.14002d9f0
mov rbx, qword [rsp + 0x268]
add rsp, 0x250
pop rdi
ret
Function at 0x14001f7f0
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp - 0x40], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x1400d3008]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov r15, rcx
cmp qword [rcx + 0x68], 0
je 0x14001f9c0
cmp byte [rcx + 0x71], 0
je 0x14001f9c0
mov rax, qword [rcx]
mov rbx, qword [rax + 0x18]
mov rcx, rbx
call qword [fcn.140006f80]
or edx, 0xffffffff
mov rcx, r15
call rbx
cmp eax, 0xffffffff
jne 0x14001f85c
xor al, al
jmp 0x14001f9c2
mov qword [rbp - 0x18], 0xf
mov qword [rbp - 0x20], 0
mov byte [rbp - 0x30], 0
xor r8d, r8d
lea edx, [r8 + 8]
lea rcx, [rbp - 0x30]
call fcn.140010bd0
nop
mov rcx, qword [rbp - 0x30]
mov rdx, qword [rbp - 0x18]
nop dword [rax]
lea r9, [rbp - 0x30]
cmp rdx, 0x10
cmovae r9, rcx
lea r14, [rbp - 0x30]
cmovae r14, rcx
mov rsi, qword [r15 + 0x68]
mov rdx, qword [rsi]
mov rbx, qword [rbp - 0x20]
add rbx, r9
mov rdi, qword [rdx + 0x40]
mov rcx, rdi
call qword [fcn.140006f80]
lea rax, [rbp - 0x38]
mov qword [rsp + 0x20], rax
mov r9, rbx
mov r8, r14
lea rdx, [r15 + 0x74]
mov rcx, rsi
call rdi
test eax, eax
je 0x14001f8e2
sub eax, 1
jne 0x14001f958
jmp 0x14001f8e7
mov byte [r15 + 0x71], 0
lea rax, [rbp - 0x30]
mov rcx, qword [rbp - 0x30]
mov rdx, qword [rbp - 0x18]
cmp rdx, 0x10
cmovae rax, rcx
mov rbx, qword [rbp - 0x38]
sub rbx, rax
je 0x14001f934
lea rax, [rbp - 0x30]
cmp rdx, 0x10
cmovae rax, rcx
mov r9, qword [r15 + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, rax
call fcn.14005df40
mov rdx, qword [rbp - 0x18]
mov rcx, qword [rbp - 0x30]
cmp rbx, rax
jne 0x14001f965
cmp byte [r15 + 0x71], 0
je 0x14001f969
test rbx, rbx
jne 0x14001f890
xor r8d, r8d
lea edx, [rbx + 8]
lea rcx, [rbp - 0x30]
call fcn.140013340
jmp 0x14001f881
sub eax, 2
mov rdx, qword [rbp - 0x18]
mov rcx, qword [rbp - 0x30]
je 0x14001f969
xor bl, bl
jmp 0x14001f96b
mov bl, 1
cmp rdx, 0x10
jb 0x14001f9bb
lea rax, [rdx + 1]
cmp rax, 0x1000
jb 0x14001f9b6
test byte [rbp - 0x30], 0x1f
je 0x14001f989
call fcn.140057078
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x14001f998
call fcn.140057078
int3
sub rcx, rax
cmp rcx, 8
jae 0x14001f9a7
call fcn.140057078
int3
cmp rcx, 0x27
jbe 0x14001f9b3
call fcn.140057078
int3
mov rcx, rax
call fcn.14002dfd0
movzx eax, bl
jmp 0x14001f9c2
mov al, 1
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.14002d9f0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
Function at 0x14002c990
Capabilities:
Hash data via bcrypt

Disassembly:
mov qword [rsp + 0x10], rdx
push rdi
sub rsp, 0x50
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov rbx, rdx
mov rdi, rcx
mov dword [rsp + 0x20], 0
mov rdx, qword [r8]
mov r8, qword [r8 + 8]
sub r8, rdx
xor r9d, r9d
mov rcx, qword [rcx + 8]
call qword [sym.imp.bcrypt.dll_BCryptHashData]
test eax, eax
jns 0x14002c9fe
xor eax, eax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x30]
call fcn.14002c880
lea rdx, [0x1400cfe90]
lea rcx, [rsp + 0x30]
call fcn.14005174c
int3
xor eax, eax
mov qword [rbx], rax
mov qword [rbx + 8], rax
mov qword [rbx + 0x10], rax
mov rdx, qword [rdi]
mov rcx, rbx
call fcn.14002ca80
mov dword [rsp + 0x20], 1
xor r9d, r9d
mov r8d, dword [rdi]
mov rdx, qword [rbx]
mov rcx, qword [rdi + 8]
call qword [sym.imp.bcrypt.dll_BCryptFinishHash]
test eax, eax
jns 0x14002ca62
xor eax, eax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x30]
call fcn.14002c880
lea rdx, [0x1400cfe90]
lea rcx, [rsp + 0x30]
call fcn.14005174c
int3
mov rax, rbx
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret

Function at 0x140057a18
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov ebx, ecx
test r8d, r8d
jne 0x1400578ab
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400578ab
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400578ab
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400578ab
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400578ab
cmp dword [rcx + 0x84], 0xe
jbe 0x1400578ab
cmp dword [rcx + 0xf8], 0
je 0x1400578ab
mov ecx, ebx
call fcn.14005794c
lea rax, [rbp + 0x18]
mov byte [rbp + 0x28], 0
mov qword [rbp - 0x20], rax
lea r9, [rbp - 0x2c]
lea rax, [rbp + 0x20]
mov qword [rbp - 0x18], rax
lea r8, [rbp - 0x20]
lea rax, [rbp + 0x28]
mov qword [rbp - 0x10], rax
lea rdx, [rbp - 0x28]
mov eax, 2
lea rcx, [rbp - 0x30]
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
call fcn.14005773c
cmp dword [rbp + 0x20], 0
je 0x1400578f8
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140057900
int3
xor r8d, r8d
xor edx, edx
jmp 0x140057844
Function at 0x14007ab40
Capabilities:
Set thread local storage value

Disassembly:
sub rsp, 0x48
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x14007ab53
add rsp, 0x48
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx edx, ax
lea rcx, [rsp + 0x20]
or edx, 0x80070000
test eax, eax
cmovle edx, eax
call fcn.140084e78
lea rdx, [0x1400cf390]
lea rcx, [rsp + 0x20]
call fcn.14005174c
int3

Function at 0x14008585c
Capabilities:
Set thread local storage value

Disassembly:
mov ecx, dword [0x1400d8d70]
xor edx, edx
jmp fcn.14007ab40

Function at 0x14008627c
Capabilities:
Set thread local storage value

Disassembly:
mov rdx, rcx
mov ecx, dword [0x1400d8d70]
jmp fcn.14007ab40
Function at 0x140002b28
Capabilities:
Parse pe header

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

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], r12
push r13
sub rsp, 0xb0
xor ebx, ebx
mov dword [rsp + 0x20], ebx
lea rcx, [rax - 0x78]
call qword [sym.imp.KERNEL32.dll_GetStartupInfoW]
nop
mov rax, qword gs:[0x30]
mov rdi, qword [rax + 8]
mov r12d, ebx
xor eax, eax
lock cmpxchg qword [0x14000d868], rdi
je 0x1400081e8
cmp rax, rdi
jne 0x1400081db
mov r12d, 1
jmp 0x1400081e8
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1400081c1
mov eax, dword [0x14000d860]
cmp eax, 1
jne 0x1400081fd
lea ecx, [rax + 0x1e]
call fcn.1401a1000
jmp 0x140008264
mov eax, dword [0x14000d860]
cmp eax, ebx
jne 0x14000825a
mov dword [0x14000d860], 1
lea r13, [0x140001548]
lea rdi, [0x140001530]
mov qword [rsp + 0x30], rdi
mov eax, ebx
mov dword [rsp + 0x24], ebx
cmp rdi, r13
jae 0x14000824c
cmp eax, ebx
jne 0x14000824c
mov rcx, qword [rdi]
cmp rcx, rbx
je 0x140008241
call rcx
mov dword [rsp + 0x24], eax
add rdi, 8
mov qword [rsp + 0x30], rdi
jmp 0x14000822a
cmp eax, ebx
je 0x140008264
mov eax, 0xff
jmp 0x1400083ac
mov dword [0x14000b554], 1
mov eax, dword [0x14000d860]
cmp eax, 1
jne 0x14000828c
lea rdx, [0x140001528]
lea rcx, [0x1400014b8]
call sub.msvcrt.dll__initterm
mov dword [0x14000d860], 2
cmp r12d, ebx
jne 0x14000829b
mov rax, rbx
xchg qword [0x14000d868], rax
cmp qword [0x14000d870], rbx
je 0x1400082c3
lea rcx, [0x14000d870]
call fcn.14000862c
cmp eax, ebx
je 0x1400082c3
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
call qword [0x14000d870]
mov rcx, qword [sym.imp.msvcrt.dll__wcmdln]
cmp qword [rcx], rbx
jne 0x1400082d9
mov eax, 0xff
jmp 0x1400083ac
mov rcx, qword [rcx]
mov qword [rsp + 0x28], rcx
mov edx, dword [rsp + 0x20]
cmp word [rcx], 0x20
ja 0x14000835e
cmp word [rcx], bx
je 0x1400082f4
cmp edx, ebx
jne 0x14000835e
cmp word [rcx], bx
je 0x14000830a
cmp word [rcx], 0x20
ja 0x14000830a
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x1400082f4
test byte [rsp + 0x7c], 1
movzx eax, word [rsp + 0x80]
mov r9d, 0xa
cmovne r9d, eax
mov r8, rcx
xor edx, edx
lea rcx, [0x140000000]
call fcn.140003b3c
mov dword [0x14000b550], eax
cmp dword [0x14000b534], ebx
jne 0x140008348
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x14000b554], ebx
jne 0x14000835c
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x14000b550]
jmp 0x1400083ac
cmp word [rcx], 0x22
jne 0x140008371
mov eax, ebx
cmp edx, ebx
sete al
mov edx, eax
mov dword [rsp + 0x20], eax
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x1400082e5
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov r12, qword [r11 + 0x20]
mov rsp, r11
pop r13
ret
sub rsp, 0x28
call fcn.1400087ec
add rsp, 0x28
jmp 0x140008188
Function at 0x4083f0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x40
cmp byte [0x0042b098], 0
je 0x40848e
cmp word [0x0042b3a8], 0xd7b2
jne 0x408423
cmp dword [0x0042b3b0], 0
jbe 0x408423
lea rcx, [0x0042b3a0]
call qword [0x0042b3c8]
mov ecx, 0xfffffff5
call sub.kernel32.dll_GetStdHandle
mov rcx, rax
lea rdx, [0x0042758c]
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, [0x004084c4]
call fcn.00409370
mov rcx, rbx
mov rdx, rax
mov r8d, 2
lea r9, [rsp + 0x3c]
mov qword [rsp + 0x20], 0
call sub.kernel32.dll_WriteFile
jmp 0x4084b0
cmp byte [0x0042603a], 0
jne 0x4084b0
xor rcx, rcx
lea rdx, [0x0042758c]
lea r8, [0x0042749c]
xor r9, r9
call sub.user32.dll_MessageBoxA
add rsp, 0x40
pop rbx
ret

Function at 0x40aaa0
Capabilities:
Check os version

Disassembly:
sub rsp, 0x28
lea rcx, [0x0042fc80]
call sub.kernel32.dll_InitializeCriticalSection
mov word [0x0042fca8], 0x7f
call sub.kernel32.dll_GetVersion
and eax, 0xff
cmp eax, 6
setae al
mov byte [0x0042fc78], al
cmp byte [0x0042fc78], 0
je 0x40ab3f
lea rcx, [0x0040ab44]
call sub.kernel32.dll_GetModuleHandleW
mov rcx, rax
lea rdx, [0x0040ab5e]
call sub.kernel32.dll_GetProcAddress
mov qword [0x0042fc60], rax
lea rcx, [0x0040ab44]
call sub.kernel32.dll_GetModuleHandleW
mov rcx, rax
lea rdx, [0x0040ab7c]
call sub.kernel32.dll_GetProcAddress
mov qword [0x0042fc68], rax
lea rcx, [0x0040ab44]
call sub.kernel32.dll_GetModuleHandleW
mov rcx, rax
lea rdx, [0x0040ab9a]
call sub.kernel32.dll_GetProcAddress
mov qword [0x0042fc70], rax
add rsp, 0x28
ret
Function at 0x40ae10
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.00408870
movzx rax, word [rbp + 0x4e]
cmp word [0x00427a60], ax
ja 0x40aef8
movzx rax, word [rbp + 0x4e]
cmp ax, word [0x00427e60]
mov word [rbp + 0x4e], ax
ja 0x40aef8
mov ecx, 0x40
xor r8, r8
cmp ecx, r8d
jb 0x40aef7
mov eax, ecx
add eax, r8d
mov r9d, 2
xor edx, edx
div r9d
lea rdx, [0x00427a60]
mov r9d, eax
add r9, r9
movzx r10, word [rbp + 0x4e]
cmp word [rdx + r9*8], r10w
jbe 0x40aeb1
mov ecx, eax
sub ecx, 1
jmp 0x40aef2
lea rdx, [0x00427a60]
mov r8d, eax
add r8, r8
movzx r9, word [rbp + 0x4e]
cmp word [rdx + r8*8], r9w
jae 0x40aed3
mov r8d, eax
add r8d, 1
jmp 0x40aef2
mov rcx, qword [rbp + 0x50]
mov rdx, qword [rbp + 0x40]
lea r8, [0x00427a68]
mov eax, eax
add rax, rax
mov r8, qword [r8 + rax*8]
call fcn.0040acb0
jmp 0x40aef7
cmp ecx, r8d
jae 0x40ae80
nop
mov rax, qword [rbp + 0x40]
cmp qword [rax], 0
jne 0x40afda
movzx rcx, word [rbp + 0x4e]
movzx ecx, cx
mov edx, 2
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x40afda
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.00409700
lea rcx, [rbp + 0x60]
lea rdx, [rbp + 0x7c]
mov r8d, 0x55
call fcn.00409700
lea rcx, [rbp + 0x58]
lea rdx, [rbp + 0x126]
mov r8d, 0x55
call fcn.00409700
mov rcx, qword [rbp + 0x40]
mov edx, 5
mov r8, qword [rbp + 0x68]
lea r9, [0x0040b034]
mov rax, qword [rbp + 0x60]
mov qword [rsp + 0x20], rax
lea rax, [0x0040b044]
mov qword [rsp + 0x28], rax
mov rax, qword [rbp + 0x58]
mov qword [rsp + 0x30], rax
call fcn.00409ac0
nop
lea rcx, [rbp + 0x58]
mov edx, 3
call fcn.00408950
mov rax, qword [rbp + 0x40]
lea rsp, [rbp + 0x1d0]
pop rbp
ret
Function at 0x40b250
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, [0x0042fc80]
call sub.kernel32.dll_EnterCriticalSection
movzx rax, word [rbp + 0x36]
cmp word [0x0042fca8], ax
jne 0x40b2bb
mov rcx, qword [rbp + 0x28]
lea rdx, [0x0042fcaa]
mov r8d, 0x55
call fcn.00409700
lea rcx, [0x0042fc80]
call sub.kernel32.dll_LeaveCriticalSection
jmp 0x40b3c6
lea rcx, [0x0042fc80]
call sub.kernel32.dll_LeaveCriticalSection
mov rcx, qword [rbp + 0x28]
call fcn.00408870
movzx rcx, word [rbp + 0x36]
movzx ecx, cx
mov edx, 2
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x40b380
cmp byte [0x0042fc78], 0
je 0x40b314
mov rcx, rbp
lea rdx, [rbp + 0x48]
movzx r8, word [rbp + 0x36]
call fcn.0040b0e0
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x48]
call fcn.00408d80
jmp 0x40b380
mov rcx, rbp
lea rdx, [rbp + 0x40]
movzx r8, word [rbp + 0x36]
call fcn.0040ae10
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x40]
call fcn.00408d80
call sub.kernel32.dll_GetSystemDefaultUILanguage
movzx rcx, word [rbp + 0x36]
cmp cx, ax
mov word [rbp + 0x36], cx
je 0x40b380
mov rax, qword [rbp + 0x28]
cmp qword [rax], 0
je 0x40b35f
mov rcx, qword [rbp + 0x28]
lea rdx, [0x0040b414]
call fcn.004098b0
call sub.kernel32.dll_GetSystemDefaultUILanguage
mov rcx, rbp
lea rdx, [rbp + 0x38]
mov r8d, eax
call fcn.0040ae10
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x38]
call fcn.004098b0
lea rcx, [0x0042fc80]
call sub.kernel32.dll_EnterCriticalSection
movzx rax, word [rbp + 0x36]
mov word [0x0042fca8], ax
mov rax, qword [rbp + 0x28]
mov rcx, qword [rax]
call fcn.00409650
lea rcx, [0x0042fcaa]
mov edx, 0xaa
mov r8, rax
call fcn.0040abd0
lea rcx, [0x0042fc80]
call sub.kernel32.dll_LeaveCriticalSection
nop
lea rcx, [rbp + 0x38]
mov edx, 3
call fcn.00408950
mov rax, qword [rbp + 0x28]
lea rsp, [rbp + 0x50]
pop rbp
ret
Function at 0x40bdf0
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.00408a00
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.00409700
mov rcx, qword [rbp + 0x20]
mov rdx, qword [rbp + 0x70]
mov r8, qword [rbp + 0x38]
call fcn.004099a0
mov rcx, qword [rbp + 0x28]
mov rax, qword [rbp + 0x20]
mov rdx, qword [rax]
call fcn.0040bc10
test al, al
jne 0x40bebe
mov word [rbp + 0x4c], 0
lea rcx, [rbp + 0x30]
lea rdx, [rbp + 0x48]
mov r8d, 4
call fcn.00409700
mov rcx, qword [rbp + 0x20]
mov rdx, qword [rbp + 0x70]
mov r8, qword [rbp + 0x30]
call fcn.004099a0
mov rcx, qword [rbp + 0x28]
mov rax, qword [rbp + 0x20]
mov rdx, qword [rax]
call fcn.0040bc10
test al, al
jne 0x40bebe
mov rcx, qword [rbp + 0x20]
call fcn.00408870
nop
lea rcx, [rbp + 0x30]
mov edx, 2
call fcn.00408950
lea rcx, [rbp + 0x70]
call fcn.00408870
mov rax, qword [rbp + 0x20]
lea rsp, [rbp + 0x50]
pop rbp
ret