joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180002320
Capabilities:
Access peb ldr_data

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
cmp dword [0x180020a94], 0xa
jl 0x180002352
mov eax, dword [0x180020a98]
lea edx, [rax - 1]
imul edx, eax
and edx, 1
je 0x180002352
nop word cs:[rax + rax]
jmp 0x180002350
mov rax, qword gs:[0x60]
mov r11, qword [rax + 0x18]
add r11, 0x10
mov eax, dword [0x180020a80]
lea edx, [rax - 1]
imul edx, eax
test dl, 1
sete al
cmp dword [0x180020a7c], 0xa
setl r8b
or r8b, al
mov eax, dword [0x180020a9c]
lea edx, [rax - 1]
imul edx, eax
test dl, 1
sete al
cmp dword [0x180020aa0], 0xa
setl r9b
or r9b, al
lea r10, [rcx - 1]
xor eax, eax
mov r14, r11
mov r14, qword [r14]
cmp r14, r11
je 0x180002428
mov rsi, r10
test r8b, r8b
je 0x180002440
cmp byte [rsi + 1], 0
lea rsi, [rsi + 1]
jne 0x1800023c0
test r9b, r9b
je 0x180002450
sub rsi, rcx
je 0x180002424
mov r15, qword [r14 + 0x60]
xor ebx, ebx
nop
movzx r13d, word [r15 + rbx*2]
lea edi, [r13 - 0x41]
lea ebp, [r13 + 0x20]
cmp di, 0x1a
cmovae ebp, r13d
movsx edi, byte [rcx + rbx]
lea r12d, [rdi - 0x41]
lea edx, [rdi + 0x20]
cmp r12b, 0x1a
cmovae edx, edi
sub ebp, edx
test r13d, r13d
je 0x180002420
test ebp, ebp
jne 0x180002420
add rbx, 1
cmp rsi, rbx
jne 0x1800023e0
jmp 0x180002424
test ebp, ebp
jne 0x1800023ac
mov rax, qword [r14 + 0x30]
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
jmp 0x180002440
jmp 0x180002450

Function at 0x100403a20
Capabilities:
Encode data using xor

Disassembly:
xor al, 0x6c
xor al, 0x64
xor al, 0x67
xor al, 0x41
xor al, 0x3e
xor al, 0x7d
xor al, 0xa2
xor al, 0x9a
xor al, 0xa3
xor al, 0x88
xor al, 0x9d
xor al, 0xa4
xor al, 0x71
xor al, 0x74
xor al, 0x59
xor al, 0x87
xchg dword [rbp*4 - 0x57cb58cc], esi
xor al, 0x99
xor al, 0xa1
xor al, 0x86
xor al, 0xa3
xor al, 0xa3
movabs dword [0xa73490345934a834], eax
xor al, 0xad
xor al, 0xa7
xor al, 0xa8
xor al, 0x99
cdq
xor al, 0xa1
xor al, 0x67
xor al, 0x66
xor al, 0x90
xor al, 0xa7
xor al, 0x9c
xor al, 0x99
xor al, 0xa0
xor al, 0xa0
xor al, 0x67
xor al, 0x66
xor al, 0x62
Function at 0x14012efd6
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp], r10
lea r10, [0x14012f298]
mov edi, 0xbca72d18
sar rdi, 0x23
rol di, 0xc
xor dil, byte [r11 + rdi*2]
xor edi, esi
push 0xf2dcfa5
and edi, 0xff
mov edi, dword [r10 + rdi*4]
shr esi, 8
xor esi, edi
inc r11
xor esi, 0x270a5196
dec rdx
lea rsp, [rsp + 8]
jne 0x14012efe1
pop r10

Function at 0x140001130
Capabilities:
Create thread

Disassembly:
sub rsp, 0x88
mov dword [rsp + 0x3c], 0
mov dword [rsp + 0x6c], r9d
mov qword [rsp + 0x80], r8
mov qword [rsp + 0x78], rdx
mov qword [rsp + 0x70], rcx
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x50], 0
lea rcx, [0x14000319a]
call fcn.140001310
lea rcx, str.Setupapi.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jne 0x1400011b0
lea rcx, str.Error:_LoadLibrary_failed_n
call fcn.140001310
mov dword [rsp + 0x3c], 0xffffffff
jmp 0x140001304
mov rcx, qword [rsp + 0x40]
lea rdx, str.SetupScanFileQueueA
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
jne 0x1400011e7
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [rsp + 0x3c], 0xffffffff
jmp 0x140001304
mov rcx, qword [0x1400043c0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jne 0x140001219
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [rsp + 0x3c], 0xffffffff
jmp 0x140001304
mov r8, qword [0x1400043c0]
mov rdx, qword [rsp + 0x48]
lea rcx, [0x140004040]
call fcn.1400010c0
mov rax, qword [0x1400043c0]
mov qword [rsp + 0x60], rax
mov r8, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x50]
call section..text
cmp eax, 0
jne 0x140001279
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [rsp + 0x3c], 0xffffffff
jmp 0x140001304
mov r8, qword [rsp + 0x50]
xor eax, eax
xor ecx, ecx
xor edx, edx
xor r9d, r9d
mov dword [rsp + 0x20], 0
mov qword [rsp + 0x28], 0
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jne 0x1400012cb
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [rsp + 0x3c], 0xffffffff
jmp 0x140001304
mov rcx, qword [rsp + 0x58]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [rsp + 0x3c], 0
mov eax, dword [rsp + 0x3c]
add rsp, 0x88
ret
Function at 0x1400151cc
Capabilities:
Write file on windows

Disassembly:
jmp 0x140034810
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x128
lea rbp, [rsp + 0x20]
lea rcx, [0x140111109]
call fcn.140016149
nop
mov rax, qword [rbp + 0x120]
cmp qword [rax + 0x68], 0
je 0x140034868
mov r8, qword [rbp + 0x130]
mov rdx, qword [rbp + 0x128]
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
jmp 0x14003497a
mov rax, qword [rbp + 0x130]
mov qword [rbp + 8], rax
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pnavail_void_const___ptr64]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x130], 0
jle 0x140034913
cmp qword [rbp + 0x28], 0
jle 0x140034913
mov rax, qword [rbp + 0x28]
cmp qword [rbp + 0x130], rax
jge 0x1400348b1
mov rax, qword [rbp + 0x130]
mov qword [rbp + 0x28], rax
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
mov r8, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x128]
mov rcx, rax
call fcn.14001604a
nop
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x128]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x128], rax
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x130]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x130], rax
mov edx, dword [rbp + 0x28]
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pbump_int____ptr64]
nop
cmp qword [rbp + 0x130], 0
jle 0x140034969
mov rax, qword [rbp + 0x120]
cmp qword [rax + 0x80], 0
je 0x140034969
mov rax, qword [rbp + 0x120]
mov r9, qword [rax + 0x80]
mov r8, qword [rbp + 0x130]
mov edx, 1
mov rcx, qword [rbp + 0x128]
call qword [sym.imp.ucrtbased.dll_fwrite]
mov rcx, qword [rbp + 0x130]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x130], rax
mov rax, qword [rbp + 0x130]
mov rcx, qword [rbp + 8]
sub rcx, rax
mov rax, rcx
lea rsp, [rbp + 0x108]
pop rdi
pop rbp
ret
Function at 0x1400151ef
Capabilities:
Set console window title

Disassembly:
jmp 0x140032120
push rbp
push rdi
sub rsp, 0x1c8
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x3a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x1401069c0]
xor rax, rbp
mov qword [rbp + 0x190], rax
lea rcx, [0x140111123]
call fcn.140016149
nop
mov dword [rbp + 4], 0x40
lea rax, str.abcdefghi9182345jklmnopqrstuv211935960473wxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890
mov qword [rbp + 0x28], rax
lea rax, [rbp + 0x50]
mov rdi, rax
xor eax, eax
mov ecx, 0x41
rep stosb byte [rdi], al
mov dword [rbp + 0xb4], 0
jmp 0x14003219a
mov eax, dword [rbp + 0xb4]
inc eax
mov dword [rbp + 0xb4], eax
cmp dword [rbp + 0xb4], 0x40
je 0x1400321ef
call qword [sym.imp.ucrtbased.dll_rand]
cdq
mov ecx, 0x50
idiv ecx
mov eax, edx
cdqe
mov rcx, qword [rbp + 0x28]
movsx eax, byte [rcx + rax]
mov dword [rbp + 0x184], eax
movsxd rax, dword [rbp + 0xb4]
movzx eax, byte [rbp + rax + 0x50]
mov byte [rbp + 0x188], al
movsx eax, byte [rbp + 0x188]
add eax, dword [rbp + 0x184]
movsxd rcx, dword [rbp + 0xb4]
mov byte [rbp + rcx + 0x50], al
jmp 0x14003218c
lea rcx, [rbp + 0x50]
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
nop
lea rcx, [rbp - 0x20]
lea rdx, [0x140046a80]
call fcn.140015e15
mov rcx, qword [rbp + 0x190]
xor rcx, rbp
call fcn.140015825
lea rsp, [rbp + 0x1a8]
pop rdi
pop rbp
ret
Function at 0x140015302
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
jmp 0x140024cc0
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x108
lea rbp, [rsp + 0x20]
lea rcx, [0x140111122]
call fcn.140016149
nop
mov rax, qword [rbp + 0x100]
cmp dword [rax], 0x270
jne 0x140024cfe
mov rcx, qword [rbp + 0x100]
call fcn.140015366
nop
jmp 0x140024d1a
mov rax, qword [rbp + 0x100]
cmp dword [rax], 0x4e0
jb 0x140024d1a
mov rcx, qword [rbp + 0x100]
call fcn.140015857
nop
mov rax, qword [rbp + 0x100]
mov eax, dword [rax]
mov rcx, qword [rbp + 0x100]
mov eax, dword [rcx + rax*4 + 4]
mov dword [rbp + 0xd4], eax
mov rax, qword [rbp + 0x100]
mov eax, dword [rax]
inc eax
mov rcx, qword [rbp + 0x100]
mov dword [rcx], eax
mov eax, dword [rbp + 0xd4]
mov dword [rbp + 4], eax
mov eax, dword [rbp + 4]
shr eax, 0xb
mov rcx, qword [rbp + 0x100]
and eax, dword [rcx + 0x1384]
mov ecx, dword [rbp + 4]
xor ecx, eax
mov eax, ecx
mov dword [rbp + 4], eax
mov eax, dword [rbp + 4]
shl eax, 7
and eax, 0x9d2c5680
mov ecx, dword [rbp + 4]
xor ecx, eax
mov eax, ecx
mov dword [rbp + 4], eax
mov eax, dword [rbp + 4]
shl eax, 0xf
and eax, 0xefc60000
mov ecx, dword [rbp + 4]
xor ecx, eax
mov eax, ecx
mov dword [rbp + 4], eax
mov eax, dword [rbp + 4]
shr eax, 0x12
mov ecx, dword [rbp + 4]
xor ecx, eax
mov eax, ecx
mov dword [rbp + 4], eax
mov eax, dword [rbp + 4]
lea rsp, [rbp + 0xe8]
pop rdi
pop rbp
ret

Function at 0x140015311
Capabilities:
Set registry value

Disassembly:
jmp 0x140028410
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x138
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x12
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x158]
mov rax, qword [0x1401069c0]
xor rax, rbp
mov qword [rbp + 0xf0], rax
lea rcx, [0x140111123]
call fcn.140016149
nop
mov rcx, qword [rbp + 0x128]
call fcn.1400155a0
lea rcx, [rbp + 8]
mov qword [rsp + 0x20], rcx
mov r9d, 0xf003f
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14002853c
cmp qword [rbp + 8], 0
je 0x14002853c
mov rcx, qword [rbp + 0x138]
call fcn.1400155a0
mov rcx, rax
call qword [sym.imp.ucrtbased.dll_wcslen]
inc eax
mov eax, eax
shl rax, 1
mov dword [rbp + 0xd4], eax
mov rcx, qword [rbp + 0x138]
call fcn.1400155a0
mov qword [rbp + 0xd8], rax
mov rcx, qword [rbp + 0x130]
call fcn.1400155a0
mov qword [rbp + 0xe0], rax
mov rax, qword [rbp + 8]
mov qword [rbp + 0xe8], rax
mov eax, dword [rbp + 0xd4]
mov dword [rsp + 0x28], eax
mov rax, qword [rbp + 0xd8]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
mov rdx, qword [rbp + 0xe0]
mov rcx, qword [rbp + 0xe8]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
nop
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rcx, qword [rbp + 0x128]
call fcn.140015ea6
mov rcx, qword [rbp + 0x130]
call fcn.140015ea6
mov rcx, qword [rbp + 0x138]
call fcn.140015ea6
nop
lea rcx, [rbp - 0x30]
lea rdx, [0x140046c60]
call fcn.140015e15
mov rcx, qword [rbp + 0xf0]
xor rcx, rbp
call fcn.140015825
lea rsp, [rbp + 0x108]
pop rdi
pop rbp
ret
Function at 0x1400153e3
Capabilities:
Terminate process

Disassembly:
jmp 0x1400257c0
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0xe8
lea rbp, [rsp + 0x20]
lea rcx, [0x140111131]
call fcn.140016149
nop
cmp qword [rbp + 0xe8], 0
je 0x140025812
cmp qword [rbp + 0xe8], 0xffffffffffffffff
je 0x140025812
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, qword [rbp + 0xe8]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
nop
mov rax, qword [rbp + 0xe0]
cmp qword [rax + 8], 0
je 0x140025832
mov rax, qword [rbp + 0xe0]
mov rcx, qword [rax + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rax, qword [rbp + 0xe0]
cmp qword [rax], 0
je 0x140025866
mov edx, 0xffffffff
mov rax, qword [rbp + 0xe0]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
mov rax, qword [rbp + 0xe0]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rsp, [rbp + 0xc8]
pop rdi
pop rbp
ret
Function at 0x140015857
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
jmp 0x14002bb60
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1e8
lea rbp, [rsp + 0x20]
lea rcx, [0x140111122]
call fcn.140016149
nop
mov qword [rbp + 8], 0x26f
mov qword [rbp + 0x28], 0xe3
mov qword [rbp + 0x48], 0
jmp 0x14002bba5
mov rax, qword [rbp + 0x48]
inc rax
mov qword [rbp + 0x48], rax
cmp qword [rbp + 0x48], 0xe3
jae 0x14002bc36
mov rax, qword [rbp + 0x1e0]
mov rcx, qword [rbp + 0x48]
mov eax, dword [rax + rcx*4 + 0x9c4]
and eax, 0x80000000
mov rcx, qword [rbp + 0x1e0]
mov rdx, qword [rbp + 0x48]
mov ecx, dword [rcx + rdx*4 + 0x9c8]
btr ecx, 0x1f
or eax, ecx
mov dword [rbp + 0x64], eax
mov eax, dword [rbp + 0x64]
and eax, 1
test eax, eax
je 0x14002bbfb
mov dword [rbp + 0x1b4], 0x9908b0df
jmp 0x14002bc05
mov dword [rbp + 0x1b4], 0
mov eax, dword [rbp + 0x64]
shr eax, 1
xor eax, dword [rbp + 0x1b4]
mov rcx, qword [rbp + 0x1e0]
mov rdx, qword [rbp + 0x48]
xor eax, dword [rcx + rdx*4 + 0xff8]
mov rcx, qword [rbp + 0x1e0]
mov rdx, qword [rbp + 0x48]
mov dword [rcx + rdx*4 + 4], eax
jmp 0x14002bb9a
mov qword [rbp + 0x88], 0xe3
jmp 0x14002bc54
mov rax, qword [rbp + 0x88]
inc rax
mov qword [rbp + 0x88], rax
cmp qword [rbp + 0x88], 0x26f
jae 0x14002bcfd
mov rax, qword [rbp + 0x1e0]
mov rcx, qword [rbp + 0x88]
mov eax, dword [rax + rcx*4 + 0x9c4]
and eax, 0x80000000
mov rcx, qword [rbp + 0x1e0]
mov rdx, qword [rbp + 0x88]
mov ecx, dword [rcx + rdx*4 + 0x9c8]
btr ecx, 0x1f
or eax, ecx
mov dword [rbp + 0xa4], eax
mov eax, dword [rbp + 0xa4]
and eax, 1
test eax, eax
je 0x14002bcb9
mov dword [rbp + 0x1b4], 0x9908b0df
jmp 0x14002bcc3
mov dword [rbp + 0x1b4], 0
mov eax, dword [rbp + 0xa4]
shr eax, 1
xor eax, dword [rbp + 0x1b4]
mov rcx, qword [rbp + 0x1e0]
mov rdx, qword [rbp + 0x88]
xor eax, dword [rcx + rdx*4 - 0x388]
mov rcx, qword [rbp + 0x1e0]
mov rdx, qword [rbp + 0x88]
mov dword [rcx + rdx*4 + 4], eax
jmp 0x14002bc43
mov qword [rbp + 0xc8], 0x26f
mov eax, 4
imul rax, rax, 0x4df
mov rcx, qword [rbp + 0x1e0]
mov eax, dword [rcx + rax + 4]
and eax, 0x80000000
mov ecx, 4
imul rcx, rcx, 0
mov rdx, qword [rbp + 0x1e0]
mov ecx, dword [rdx + rcx + 4]
btr ecx, 0x1f
or eax, ecx
mov dword [rbp + 0xe4], eax
mov eax, dword [rbp + 0xe4]
and eax, 1
test eax, eax
je 0x14002bd5d
mov dword [rbp + 0x1b4], 0x9908b0df
jmp 0x14002bd67
mov dword [rbp + 0x1b4], 0
mov eax, dword [rbp + 0xe4]
shr eax, 1
xor eax, dword [rbp + 0x1b4]
mov ecx, 4
imul rcx, rcx, 0x18c
mov rdx, qword [rbp + 0x1e0]
xor eax, dword [rdx + rcx + 4]
mov ecx, 4
imul rcx, rcx, 0x26f
mov rdx, qword [rbp + 0x1e0]
mov dword [rdx + rcx + 4], eax
mov rax, qword [rbp + 0x1e0]
mov dword [rax], 0
lea rsp, [rbp + 0x1c8]
pop rdi
pop rbp
ret
Function at 0x140015997
Capabilities:
Terminate process

Disassembly:
jmp 0x14003c7f0
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
add rsp, 0x28
ret

Function at 0x140015b09
Capabilities:
Get geographical location

Disassembly:
jmp 0x140035e00
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x58
mov r9d, 2
lea r8, [rsp + 0x40]
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
jne 0x140035e3d
mov dword [rsp + 0x40], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x40]
mov r8d, dword [rsp + 0x60]
xor edx, edx
mov ecx, 0x1300
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x48]
mov edx, eax
mov rax, qword [rsp + 0x68]
mov rcx, qword [rax]
call fcn.140016130
add rsp, 0x58
ret
Function at 0x140015bbd
Capabilities:
Parse pe header

Disassembly:
jmp 0x14003bb90
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x14003bbb0
xor al, al
jmp 0x14003bc31
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x14003bbc3
xor al, al
jmp 0x14003bc31
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14003bbed
xor al, al
jmp 0x14003bc31
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x14003bc01
xor al, al
jmp 0x14003bc31
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x14003bc13
xor al, al
jmp 0x14003bc31
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14003bc2f
xor al, al
jmp 0x14003bc31
mov al, 1
add rsp, 0x38
ret
Function at 0x140015f9b
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x140031a70
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1a8
lea rbp, [rsp + 0x20]
lea rcx, [0x14011112d]
call fcn.140016149
nop
mov rax, qword [rbp + 0x1a0]
mov eax, dword [rax]
mov dword [rbp + 0x24], eax
mov rax, qword [rbp + 0x1a0]
mov eax, dword [rax + 4]
mov dword [rbp + 0x44], eax
mov rax, qword [rbp + 0x1a0]
add rax, 8
mov qword [rbp + 0x68], rax
mov dword [rbp + 4], 0
jmp 0x140031ad3
mov eax, dword [rbp + 4]
inc eax
mov dword [rbp + 4], eax
mov eax, dword [rbp + 0x1b0]
cmp dword [rbp + 4], eax
jge 0x140031b82
mov eax, dword [rbp + 0x24]
inc eax
movzx eax, al
mov dword [rbp + 0x24], eax
movsxd rax, dword [rbp + 0x24]
mov rcx, qword [rbp + 0x68]
mov eax, dword [rcx + rax*4]
mov dword [rbp + 0x84], eax
mov eax, dword [rbp + 0x84]
mov ecx, dword [rbp + 0x44]
add ecx, eax
mov eax, ecx
movzx eax, al
mov dword [rbp + 0x44], eax
movsxd rax, dword [rbp + 0x44]
mov rcx, qword [rbp + 0x68]
mov eax, dword [rcx + rax*4]
mov dword [rbp + 0xa4], eax
movsxd rax, dword [rbp + 0x24]
mov rcx, qword [rbp + 0x68]
mov edx, dword [rbp + 0xa4]
mov dword [rcx + rax*4], edx
movsxd rax, dword [rbp + 0x44]
mov rcx, qword [rbp + 0x68]
mov edx, dword [rbp + 0x84]
mov dword [rcx + rax*4], edx
mov eax, dword [rbp + 0xa4]
mov ecx, dword [rbp + 0x84]
add ecx, eax
mov eax, ecx
movzx eax, al
movsxd rcx, dword [rbp + 4]
mov rdx, qword [rbp + 0x1a8]
movzx ecx, byte [rdx + rcx]
mov rdx, qword [rbp + 0x68]
xor ecx, dword [rdx + rax*4]
mov eax, ecx
movsxd rcx, dword [rbp + 4]
mov rdx, qword [rbp + 0x1a8]
mov byte [rdx + rcx], al
jmp 0x140031acb
mov rax, qword [rbp + 0x1a0]
mov ecx, dword [rbp + 0x24]
mov dword [rax], ecx
mov rax, qword [rbp + 0x1a0]
mov ecx, dword [rbp + 0x44]
mov dword [rax + 4], ecx
lea rsp, [rbp + 0x188]
pop rdi
pop rbp
ret
Function at 0x140016059
Capabilities:
Delete registry key

Disassembly:
jmp 0x140025ac0
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x128
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0xe
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x148]
mov rax, qword [0x1401069c0]
xor rax, rbp
mov qword [rbp + 0xe8], rax
lea rcx, [0x140111123]
call fcn.140016149
nop
mov rcx, qword [rbp + 0x118]
call fcn.1400155a0
lea rcx, [rbp + 8]
mov qword [rsp + 0x20], rcx
mov r9d, 0xf003f
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rbp + 0x110]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140025b8b
cmp qword [rbp + 8], 0
je 0x140025b8b
mov rcx, qword [rbp + 0x120]
call fcn.1400155a0
mov qword [rbp + 0xd8], rax
mov rax, qword [rbp + 8]
mov qword [rbp + 0xe0], rax
mov rdx, qword [rbp + 0xd8]
mov rcx, qword [rbp + 0xe0]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
nop
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rcx, qword [rbp + 0x118]
call fcn.140015ea6
mov rcx, qword [rbp + 0x120]
call fcn.140015ea6
nop
lea rcx, [rbp - 0x30]
lea rdx, [0x140046be0]
call fcn.140015e15
mov rcx, qword [rbp + 0xe8]
xor rcx, rbp
call fcn.140015825
lea rsp, [rbp + 0xf8]
pop rdi
pop rbp
ret
Function at 0x140016108
Capabilities:
Write file on windows

Disassembly:
jmp 0x140029b90
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1b8
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x32
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1d8]
mov rax, qword [0x1401069c0]
xor rax, rbp
mov qword [rbp + 0x170], rax
lea rcx, [0x140111109]
call fcn.140016149
nop
mov rax, qword [rbp + 0x1a0]
cmp qword [rax + 0x68], 0
je 0x140029bf7
mov rax, qword [rbp + 0x1a0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x140029bfe
mov al, 1
jmp 0x140029d6e
mov rax, qword [rbp + 0x1a0]
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
mov qword [rbp + 0x158], rax
call fcn.1400154bf
mov dword [rbp + 0x160], eax
mov edx, dword [rbp + 0x160]
mov rcx, qword [rbp + 0x1a0]
call qword [rbp + 0x158]
mov dword [rbp + 0x164], eax
call fcn.1400154bf
mov dword [rbp + 0x168], eax
mov edx, dword [rbp + 0x164]
mov ecx, dword [rbp + 0x168]
call fcn.140015d7a
movzx eax, al
test eax, eax
je 0x140029c61
xor al, al
jmp 0x140029d6e
mov qword [rbp + 8], 0x20
mov rax, qword [rbp + 0x1a0]
mov rax, qword [rax + 0x68]
mov qword [rbp + 0x158], rax
lea rax, [rbp + 0x48]
mov rcx, qword [rbp + 0x1a0]
add rcx, 0x74
lea rdx, [rbp + 0x68]
mov qword [rsp + 0x20], rdx
mov r9, rax
lea r8, [rbp + 0x28]
mov rdx, rcx
mov rcx, qword [rbp + 0x158]
call qword [sym.imp.MSVCP140D.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
mov dword [rbp + 0x160], eax
cmp dword [rbp + 0x160], 0
je 0x140029cd4
cmp dword [rbp + 0x160], 1
je 0x140029cdf
cmp dword [rbp + 0x160], 3
je 0x140029d5d
jmp 0x140029d6c
mov rax, qword [rbp + 0x1a0]
mov byte [rax + 0x71], 0
lea rax, [rbp + 0x28]
mov rcx, qword [rbp + 0x68]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x88], rax
cmp qword [rbp + 0x88], 0
jbe 0x140029d2f
mov rax, qword [rbp + 0x1a0]
mov r9, qword [rax + 0x80]
mov r8, qword [rbp + 0x88]
mov edx, 1
lea rcx, [rbp + 0x28]
call qword [sym.imp.ucrtbased.dll_fwrite]
cmp qword [rbp + 0x88], rax
je 0x140029d2f
xor al, al
jmp 0x140029d6e
mov rax, qword [rbp + 0x1a0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x140029d4a
mov dword [rbp + 0x154], 1
jmp 0x140029d54
mov dword [rbp + 0x154], 0
movzx eax, byte [rbp + 0x154]
jmp 0x140029d6e
mov rax, qword [rbp + 0x1a0]
mov byte [rax + 0x71], 0
mov al, 1
jmp 0x140029d6e
xor al, al
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x140046a00]
call fcn.140015e15
mov rax, rdi
mov rcx, qword [rbp + 0x170]
xor rcx, rbp
call fcn.140015825
lea rsp, [rbp + 0x188]
pop rdi
pop rbp
ret