joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140003c30
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
mov eax, 0x13e0
call fcn.14000a9f0
sub rsp, rax
mov rax, qword [0x140011010]
xor rax, rsp
mov qword [rsp + 0x13d0], rax
mov rbx, rcx
mov qword [rsp + 0x38], rcx
xor ebp, ebp
mov dword [rsp + 0x30], ebp
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov edx, eax
mov dword [rsp + 0x13c4], 0xffffffff
mov dword [rsp + 0x44], eax
lea ecx, [rbp + 1]
nop word [rax + rax]
mov eax, edx
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, ecx
mov dword [rsp + rcx*4 + 0x44], edx
inc rcx
cmp rcx, 0x270
jb 0x140003c90
mov dword [rsp + 0x40], 0x270
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rbp
mov qword [rbx + 0x18], rbp
mov r8d, 8
lea rdx, str.TempDll_
mov rcx, rbx
call fcn.140001e40
mov dword [rsp + 0x30], 1
mov rdi, qword [rbx + 0x10]
lea rax, [rdi - 8]
cmp rax, 0xa
ja 0x140003dd1
nop dword [rax]
nop dword [rax + rax]
xor sil, sil
lea rcx, [rsp + 0x40]
call fcn.140004930
mov ecx, eax
mov eax, 0xaaaaaaab
mul ecx
shr edx, 1
lea eax, [rdx + rdx*2]
sub ecx, eax
je 0x140003d6a
sub ecx, 1
je 0x140003d4a
cmp ecx, 1
jne 0x140003d8a
lea rcx, [rsp + 0x40]
call fcn.140004930
mov esi, eax
mov eax, 0x4ec4ec4f
mul esi
shr edx, 3
imul eax, edx, 0x1a
sub esi, eax
add sil, 0x41
jmp 0x140003d8a
lea rcx, [rsp + 0x40]
call fcn.140004930
mov ecx, eax
mov eax, 0x4ec4ec4f
mul ecx
shr edx, 3
imul eax, edx, 0x1a
sub ecx, eax
lea esi, [rcx + 0x61]
jmp 0x140003d8a
lea rcx, [rsp + 0x40]
call fcn.140004930
mov ecx, eax
mov eax, 0xcccccccd
mul ecx
shr edx, 3
lea eax, [rdx + rdx*4]
add eax, eax
sub ecx, eax
lea esi, [rcx + 0x30]
movsx r9d, sil
mov rcx, qword [rbx + 0x18]
cmp rdi, rcx
jae 0x140003db7
lea rax, [rdi + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rcx, 8
jb 0x140003dab
mov rax, qword [rbx]
mov word [rax + rdi*2], r9w
mov word [rax + rdi*2 + 2], bp
jmp 0x140003dbf
mov rcx, rbx
call fcn.140005620
mov rdi, qword [rbx + 0x10]
lea rax, [rdi - 8]
cmp rax, 0xa
jbe 0x140003d00
mov rcx, qword [rbx + 0x18]
mov rax, rcx
sub rax, rdi
cmp rax, 4
jb 0x140003e09
lea rdx, [rdi + 4]
mov qword [rbx + 0x10], rdx
mov rax, rbx
cmp rcx, 8
jb 0x140003df5
mov rax, qword [rbx]
movabs rcx, 0x6c006c0064002e
mov qword [rax + rdi*2], rcx
mov word [rax + rdx*2], bp
jmp 0x140003e26
mov qword [rsp + 0x20], 4
lea r9, str..dll
mov edx, 4
mov rcx, rbx
call fcn.1400057d0
mov rax, rbx
mov rcx, qword [rsp + 0x13d0]
xor rcx, rsp
call fcn.140009900
lea r11, [rsp + 0x13e0]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x140004930
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r10, rcx
mov r9d, 0x270
mov ecx, dword [rcx]
cmp ecx, r9d
jne 0x140004991
lea r8, [r10 + 8]
nop dword [rax + rax]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r9, 1
jne 0x140004950
mov ecx, dword [r10]
jmp 0x140004a7a
cmp ecx, 0x4e0
jb 0x140004a7a
lea r11, [r10 + 0x9c4]
mov qword [rsp], rbx
mov eax, dword [r11]
mov ebx, 0xe3
mov edx, dword [r11 + 4]
lea r8, [r11 + 4]
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
mov eax, dword [r8]
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r11 + 0x634]
xor ecx, edx
mov dword [r11 - 0x9c0], ecx
lea r11, [r8]
sub rbx, 1
jne 0x1400049b0
lea r11, [r10 + 0xd50]
mov ebx, 0x18c
mov eax, dword [r11]
nop dword [rax + rax]
mov edx, eax
lea r8, [r11 + 4]
xor edx, dword [r8]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
mov eax, dword [r8]
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r11 - 0xd4c]
xor ecx, edx
mov dword [r11 - 0x9c0], ecx
lea r11, [r8]
sub rbx, 1
jne 0x140004a00
mov edx, dword [r10 + 0x1380]
xor edx, dword [r10 + 4]
mov rbx, qword [rsp]
btr edx, 0x1f
xor edx, dword [r10 + 0x1380]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r10 + 0x634]
xor ecx, edx
mov dword [r10 + 0x9c0], ecx
xor ecx, ecx
mov dword [r10], ecx
mov eax, ecx
mov edx, dword [r10 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r10], eax
mov ecx, edx
mov eax, dword [r10 + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
add rsp, 8
ret

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

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rdx, rcx
mov ecx, 0x105
call fcn.140009568
mov ebx, eax
test eax, eax
jne 0x140009760
and dword [rsp + 0x38], eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x3c], eax
jmp 0x1400097c3
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400097ba
test al, 0x10
je 0x1400097ba
bt eax, 0xa
jae 0x1400097b3
mov r9d, 0x2000000
lea rcx, [rsp + 0x38]
mov r8d, 0x80
mov rdx, rdi
call fcn.1400097d4
mov rcx, qword [rsp + 0x38]
mov edi, eax
cmp rcx, 0xffffffffffffffff
je 0x1400097af
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x1400097af
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
int3
test edi, edi
jne 0x1400097ba
and dword [rsp + 0x3c], 0
jmp 0x1400097bf
or dword [rsp + 0x3c], 0xffffffff
mov dword [rsp + 0x38], ebx
mov rax, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x14000984c
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rdi, rdx
lea r8, [rsp + 0x60]
mov ebx, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov r8d, ebx
mov ecx, 0x1300
neg eax
sbb r9d, r9d
and qword [rsp + 0x30], 0
and r9d, dword [rsp + 0x60]
xor edx, edx
and dword [rsp + 0x28], 0
mov dword [rsp + 0x60], r9d
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x1400098d0
mov r8, qword [rdi]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x14000c580]
cmp byte [rcx + rax], 0
je 0x1400098d0
dec r8
sub rdx, 1
jne 0x1400098b6
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x14000a470
Capabilities:
Parse pe header

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

Disassembly:
cmp rcx, qword [0x00412040]
jne 0x402bda
rol rcx, 0x10
test cx, 0xffff
jne 0x402bd6
repz ret
ror rcx, 0x10
jmp 0x403390
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x00413300]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x004133f8]
mov qword [rsp + 0x58], rax
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x403415
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x00413300]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x403437
mov rax, qword [rsp + 0x88]
mov qword [0x004133f8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x00413398], rax
mov rax, qword [0x004133f8]
mov qword [0x00413270], rax
mov rax, qword [rsp + 0x90]
mov qword [0x00413380], rax
mov dword [0x00413260], 0xc0000409
mov dword [0x00413264], 1
mov rax, qword [0x00412040]
mov qword [rsp + 0x68], rax
mov rax, qword [0x00412048]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x004132f8], eax
mov ecx, 1
call fcn.00405dd0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x0040d338]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x004132f8], 0
jne 0x4034be
mov ecx, 1
call fcn.00405dd0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret
Function at 0x406a00
Capabilities:
Link many functions at runtime

Disassembly:
mov rax, rsp
sub rsp, 0x68
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov qword [rax - 8], r12
mov qword [rax - 0x10], r13
mov r13, rcx
mov edi, r8d
mov r12, rdx
call fcn.00405740
xor ebx, ebx
cmp qword [0x00413fa0], rbx
mov rsi, rax
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x34], ebx
jne 0x406b31
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
test rax, rax
mov rbp, rax
jne 0x406a63
xor eax, eax
jmp 0x406c11
lea rdx, str.MessageBoxA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x406a5c
mov rcx, rax
call fcn.004056d0
lea rdx, str.GetActiveWindow
mov rcx, rbp
mov qword [0x00413fa0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.004056d0
lea rdx, str.GetLastActivePopup
mov rcx, rbp
mov qword [0x00413fa8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.004056d0
lea rcx, [rsp + 0x30]
mov qword [0x00413fb0], rax
call fcn.00404180
test eax, eax
je 0x406ae7
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rbx
call fcn.00403970
cmp dword [rsp + 0x30], 2
jne 0x406b31
lea rdx, str.GetUserObjectInformationA
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.004056d0
test rax, rax
mov qword [0x00413fc0], rax
je 0x406b31
lea rdx, str.GetProcessWindowStation
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.004056d0
mov qword [0x00413fb8], rax
mov rcx, qword [0x00413fb8]
cmp rcx, rsi
je 0x406bc3
cmp qword [0x00413fc0], rsi
je 0x406bc3
call fcn.004057a0
call rax
test rax, rax
mov rbp, rax
je 0x406b8e
mov rcx, qword [0x00413fc0]
call fcn.004057a0
lea rcx, [rsp + 0x38]
mov r9d, 0xc
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
lea r8, [rsp + 0x40]
mov rcx, rbp
call rax
test eax, eax
je 0x406b8e
test byte [rsp + 0x48], 1
jne 0x406bc3
lea rcx, [rsp + 0x34]
call fcn.004041d0
test eax, eax
je 0x406bb0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rbx
call fcn.00403970
cmp dword [rsp + 0x34], 4
jb 0x406bbd
bts edi, 0x15
jmp 0x406bf7
bts edi, 0x12
jmp 0x406bf7
mov rcx, qword [0x00413fa8]
cmp rcx, rsi
je 0x406bf7
call fcn.004057a0
call rax
test rax, rax
mov rbx, rax
je 0x406bf7
mov rcx, qword [0x00413fb0]
cmp rcx, rsi
je 0x406bf7
call fcn.004057a0
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x00413fa0]
call fcn.004057a0
mov r9d, edi
mov r8, r12
mov rdx, r13
mov rcx, rbx
call rax
mov r13, qword [rsp + 0x58]
mov r12, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x88]
mov rsi, qword [rsp + 0x80]
mov rbp, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x70]
add rsp, 0x68
ret
Function at 0x140008120
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r15, rdx
mov rdi, rcx
je 0x140008148
add rsp, 0x20
pop r15
pop rdi
pop rbx
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rsi, rbx
mov qword [rsp + 0x58], r14
mov r9, qword [rax]
test r9, r9
je 0x14000816e
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x140008170
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x1400081c9
test ecx, ecx
jle 0x1400081a9
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
add r15, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x1400081c9
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x1400081c9
mov r8, rbx
mov edx, 1
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov r14, qword [rsp + 0x58]
sub rsi, rbx
mov rbp, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rdi
pop rbx
ret

Function at 0x1400081f0
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push r14
sub rsp, 0x30
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x140008212
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je 0x140008228
add rsp, 0x30
pop r14
pop rsi
pop rbp
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x38]
mov qword [rsp + 0x28], rbx
mov rbx, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x140008244
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140008246
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140008282
mov qword [rsp + 0x20], rdi
cmp rax, rbp
mov rdi, rbp
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x50]
add r14, rdi
sub rbx, rdi
sub dword [rax], edi
mov rcx, qword [rsi + 0x38]
movsxd rax, edi
mov rdi, qword [rsp + 0x20]
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x14000831e
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x1400082bd
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
cmp rbx, 0xfff
jbe 0x1400082fe
nop word [rax + rax]
mov r9, qword [rsi + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add r14, rax
sub rbx, rax
cmp rax, 0xfff
jne 0x14000831e
cmp rbx, rax
ja 0x1400082d0
test rbx, rbx
je 0x14000831e
mov r9, qword [rsi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
sub rbp, rbx
mov rbx, qword [rsp + 0x28]
mov rax, rbp
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
Function at 0x140008780
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x140015040]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x1400087ad
xor eax, eax
jmp 0x140008919
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x1400087e7
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x1400087e7
lea ecx, [r8 - 1]
mov dword [rax], ecx
mov eax, edi
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], dil
jmp 0x140008919
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x14000890c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x14000882a
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x140008855
mov rdx, qword [rbx + 0x80]
movsx ecx, dil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140008911
lea rax, [rsp + 0x40]
mov byte [rsp + 0x50], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x51]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x50]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x1400088c4
sub eax, 1
je 0x1400088c4
cmp eax, 2
jne 0x14000890c
movsx ecx, byte [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140008911
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x1400088f2
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rsi, rax
jne 0x14000890c
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x140008911
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140009420
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x140008eb0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x140015040]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x140008f83
cmp byte [rcx + 0x71], 0
je 0x140008f83
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x140008f7f
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140008f44
sub eax, 1
je 0x140008f48
cmp eax, 2
jne 0x140008f7f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140009420
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x140008f76
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x140008f7f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x140008f2c
xor al, al
jmp 0x140008f2c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140009420
add rsp, 0x60
pop rbx
ret

Function at 0x140009e78
Capabilities:
Parse pe header

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

Disassembly:
pcmpeqw mm3, qword [rax]
add byte [rbp + 0x3b], bh
or byte [r15 - 0x2673ea01], dil
mov al, byte [rax]
syscall
add byte [rax], r8b
add rsp, 0x20
pop rbx
ret

Function at 0x14002001c
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
and rsp, 0x30
or ebx, ebx
mov ch, 0x33
and cl, cl
mov esi, ebp
out dx, al
sub byte [rbp + 0x33], al
ror byte [rax - 0x77], 0x5c
and al, 0x1f
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
adc ecx, dword [rsp + rax*2]
add byte [rsi - 0x6bf03f7b], dl
ret

Function at 0x14002e950
Capabilities:
Encrypt data using rc4 prga

Disassembly:
xchg byte [rax + 0x3009900], dh
xchg byte [rax + rax + 0x448900cc], ch
and al, 0x58
mov eax, dword [rsi + 0x4629a8]
mov dword [rsp + 0x64], eax
xor ebp, esp
mov ebx, eax
mov qword [rbp + 0x23], rax
pop rcx
mov ecx, dword [rsi + 0x60]
test rcx, rcx
je 0x14002e996
enter 0xffffffffffff8801, 0x28
xchg r8d, eax
mov edx, 4
mov rax, qword [rax + 0xd0]
call qword [0x1403475c8]
jb 0x14002e9f2
nop
mov edi, dword [rsi + 0xd0218]
test byte [rdi + 0x440004bf], dl
mov eax, dword [0x175d91b78]
mov edx, 0xd0004d60
mov eax, edx
call qword [0x1408b5fb2]
imul eax, dword [rax + rax + 0x2f]
cmp dil, byte [r8 - 0x74ffff2a]
xlatb
mov ecx, eax
and al, 0xff
adc eax, 0x317554
invalid

Function at 0x140034174
Capabilities:
Encode data using xor

Disassembly:
mov qword [0xc94b499f], rsp
insb byte [rdi], dx
and al, 0x10
adc byte [rax - 0x77], cl
je 0x1400341a6
sbb byte [rdi + 0x41], dl
push rsp
push r13
push r14
push r15
sub rsp, 0x50
in al, dx
push rax
sub r13, 0
sub qword [rdi + rdi*8], 0x4a
mov ebp, edx
mov rbp, rdx
mov r13, rcx
popfq
test edx, edx
je 0x14003513b
xor edi, edi
cmp rsi, 0xffffffffffffffff
jne 0x140bf423b
mov edx, edi
loop 0x14003418e
fisttp qword [rdx + 0xac]
sbb byte [rbx + rax], bh
mov rcx, rax
mov r15, rax
call 0x1b805184c
xor ebx, ebx
mov r12, rax
test r8, r8
adc eax, 0xf8b6258
lea r9, [rsp + 0x20]
mov eax, 0x205f6ec7
or byte [rax], al
add byte [rax], al
xorps xmm3, xmmword [rbx + 0x24445b9b]
movups xmmword [rsp + 0x24], xmm8
mov r11, qword [rcx]
mov edx, 0x4f00043f
movups xmmword [rdi + 0x24], xmm2
xor al, 0x48
and dword [rsp + 0x38], eax
invalid
mov ebx, ecx

Function at 0x14003b480
Capabilities:
Query or enumerate registry value

Disassembly:
xchg ecx, eax
sub esp, 0x28
xchg byte [rbx + 0x40824801], cl
and bh, bh
adc eax, 0x30c137
test al, al
je 0x14003b4bc
add r8d, 0xa9158d48
xor dh, byte [rcx]
add byte [rax - 0x73], cl
or eax, 0x31e02a

Function at 0x14003b4c8
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 - 0x5e], rbx
mov qword [r11 + 0x60], rsi