joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4e60e0
Capabilities:
Log keystrokes via polling

Disassembly:
mov al, byte [0x6bb7db]
sub esp, 0xc
push esi
push edi
mov edi, ecx
test al, al
jne 0x4e6113
mov eax, dword [edi]
push ecx
mov ecx, dword [eax*4 + 0x5674f0]
call fcn.00546670
add esp, 4
test al, al
je 0x4e6166
mov byte [0x6bb7db], 1
pop edi
pop esi
add esp, 0xc
ret
cmp al, 1
jne 0x4e6166
push ecx
mov ecx, 0x565a5c
call fcn.00546670
add esp, 4
mov dword [esp + 8], 0x46
lea ecx, [esp + 8]
mov dword [esp + 0xc], 0
call fcn.004f7a60
mov esi, 0x567218
push dword [esi]
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x4e615b
mov eax, dword [esi]
mov dword [edi], eax
mov byte [0x6bb7db], 0
add esi, 4
cmp esi, 0x5674f0
jne 0x4e6143
pop edi
pop esi
add esp, 0xc
ret
Function at 0x4e94a0
Capabilities:
Create process on windows
Self delete
Terminate process

Disassembly:
push ecx
call fcn.004e87a0
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
push 1
push 0
push 0
push str.del.bat
push 0x565f14
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3

Function at 0x4e94d0
Capabilities:
Enumerate processes
Terminate process

Disassembly:
sub esp, 0x22c
push ebx
push edi
push 0
push 2
mov ebx, ecx
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
mov dword [esp + 8], 0x22c
lea eax, [esp + 8]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x4e9565
push esi
nop
mov eax, ebx
lea ecx, [esp + 0x30]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x4e952c
test dx, dx
je 0x4e9528
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x4e952c
add ecx, 4
add eax, 4
test dx, dx
jne 0x4e9506
xor eax, eax
jmp 0x4e9531
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4e9554
push dword [esp + 0x14]
push eax
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [esp + 0xc]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x4e9500
pop esi
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop ebx
add esp, 0x22c
ret
Function at 0x4f6430
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
push ebx
mov ebx, ecx
push esi
push edi
cmp dword [ebx + 0x38], 0
je 0x4f645c
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const___long_long___int64__]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx + 0x20]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x20], esi
mov ecx, dword [eax]
lea eax, [ebx + 0x30]
mov dword [esp + 0x24], edi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], eax
test ecx, ecx
je 0x4f6484
mov eax, dword [eax]
mov ecx, dword [eax]
jmp 0x4f648a
xor ecx, ecx
mov dword [esp + 0x18], eax
mov eax, ecx
cdq
mov dword [esp + 0x10], eax
mov ecx, edx
mov dword [esp + 0x14], ecx
test edi, edi
jl 0x4f64f2
jg 0x4f64a1
test esi, esi
je 0x4f64f2
test ecx, ecx
jl 0x4f64ed
jg 0x4f64ab
test eax, eax
je 0x4f64ed
cmp edi, ecx
jg 0x4f64bf
jl 0x4f64b5
cmp esi, eax
jae 0x4f64bf
mov eax, esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], edi
push eax
push dword [ebp + 8]
push dword [esp + 0x24]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [esp + 0x24]
add esp, 0xc
mov edx, dword [esp + 0x10]
mov ecx, dword [ebp + 8]
add ecx, edx
sub esi, edx
mov eax, dword [eax]
sbb edi, dword [esp + 0x14]
sub dword [eax], edx
mov eax, dword [ebx + 0x20]
add dword [eax], edx
jmp 0x4f64f5
mov ecx, dword [ebp + 8]
jmp 0x4f64ff
mov ecx, dword [ebp + 8]
test edi, edi
jl 0x4f6519
jg 0x4f64ff
test esi, esi
je 0x4f6519
mov eax, dword [ebx + 0x4c]
test eax, eax
je 0x4f6519
push eax
push esi
push 1
push ecx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
sub esi, eax
sbb edi, 0
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4f6530
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [esp + 0xc]
sub esp, 8
push ebx
mov ebx, ecx
push esi
mov esi, dword [esp + 0x18]
test eax, eax
jg 0x4f6555
jl 0x4f6549
test esi, esi
jne 0x4f6555
pop esi
xor eax, eax
xor edx, edx
pop ebx
add esp, 8
ret 0xc
cmp dword [ebx + 0x38], 0
je 0x4f656f
push eax
push esi
push dword [esp + 0x1c]
call dword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char___long_long___int64__]
pop esi
pop ebx
add esp, 8
ret 0xc
mov eax, dword [ebx + 0x1c]
push ebp
mov ebp, dword [esp + 0x18]
push edi
mov edx, dword [eax]
mov edi, esi
test edx, edx
je 0x4f65b6
mov eax, dword [ebx + 0x2c]
lea ecx, [ebx + 0x2c]
mov dword [esp + 0x10], ecx
mov eax, dword [eax]
test eax, eax
je 0x4f65bd
cmp eax, dword [esp + 0x20]
cmovb esi, eax
push esi
push edx
push ebp
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebx + 0x2c]
add ebp, esi
sub edi, esi
add esp, 0xc
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
mov esi, dword [esp + 0x20]
jmp 0x4f65bd
lea eax, [ebx + 0x2c]
mov dword [esp + 0x10], eax
cmp dword [ebx + 0x4c], 0
je 0x4f6629
mov ecx, dword [ebx + 0xc]
lea eax, [ebx + 0x3c]
cmp dword [ecx], eax
jne 0x4f65e7
mov eax, dword [ebx + 0xc]
mov edx, dword [ebx + 0x54]
mov ecx, dword [ebx + 0x50]
sub edx, ecx
mov dword [eax], ecx
mov eax, dword [ebx + 0x1c]
mov dword [eax], ecx
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
mov dword [eax], edx
cmp edi, 0xfff
jbe 0x4f6613
nop
push dword [ebx + 0x4c]
push 0xfff
push 1
push ebp
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
add ebp, eax
sub edi, eax
cmp eax, 0xfff
jne 0x4f6629
cmp edi, eax
ja 0x4f65f0
test edi, edi
je 0x4f6629
push dword [ebx + 0x4c]
push edi
push 1
push ebp
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
sub edi, eax
mov edx, dword [esp + 0x24]
sub esi, edi
pop edi
pop ebp
mov eax, esi
sbb edx, 0
pop esi
pop ebx
add esp, 8
ret 0xc
Function at 0x4f69d0
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x2c
push ebx
mov ebx, dword [esp + 0x34]
push esi
mov esi, ecx
cmp ebx, 0xffffffff
jne 0x4f69ea
pop esi
xor eax, eax
pop ebx
add esp, 0x2c
ret 4
mov eax, dword [esi + 0x20]
push edi
mov ecx, dword [eax]
test ecx, ecx
je 0x4f6a1c
mov edx, dword [esi + 0x30]
mov edi, dword [edx]
lea eax, [edi + ecx]
cmp ecx, eax
jae 0x4f6a1c
lea ecx, [edi - 1]
mov eax, ebx
mov dword [edx], ecx
mov edx, dword [esi + 0x20]
pop edi
mov esi, dword [edx]
lea ecx, [esi + 1]
mov dword [edx], ecx
mov byte [esi], bl
pop esi
pop ebx
add esp, 0x2c
ret 4
cmp dword [esi + 0x4c], 0
je 0x4f6aeb
mov edi, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [edi], eax
jne 0x4f6a44
mov edx, dword [esi + 0x54]
mov ecx, dword [esi + 0x50]
sub edx, ecx
mov dword [edi], ecx
mov eax, dword [esi + 0x1c]
mov dword [eax], ecx
mov eax, dword [esi + 0x2c]
mov dword [eax], edx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4f6a50
movsx eax, bl
jmp 0x4f6a90
lea eax, [esp + 0x10]
mov byte [esp + 0xf], bl
push eax
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x23]
push eax
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet___char_const___char_const___char_const____char___char___char___const]
sub eax, 0
je 0x4f6ab0
sub eax, 1
je 0x4f6ab0
sub eax, 2
jne 0x4f6aeb
movsx eax, byte [esp + 0xf]
push dword [esi + 0x4c]
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
add esp, 8
or ecx, 0xffffffff
cmp eax, ecx
cmove ebx, ecx
pop edi
pop esi
mov eax, ebx
pop ebx
add esp, 0x2c
ret 4
mov edi, dword [esp + 0x10]
lea eax, [esp + 0x18]
sub edi, eax
je 0x4f6ad0
push dword [esi + 0x4c]
push edi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp edi, eax
jne 0x4f6aeb
lea ecx, [esp + 0xf]
mov byte [esi + 0x3d], 1
or eax, 0xffffffff
cmp dword [esp + 0x14], ecx
pop edi
pop esi
cmovne eax, ebx
pop ebx
add esp, 0x2c
ret 4
pop edi
pop esi
or eax, 0xffffffff
pop ebx
add esp, 0x2c
ret 4

Function at 0x4f6cd0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov edx, dword [esp + 4]
push esi
push edi
mov dword [ecx + 0x1384], 0xffffffff
lea edi, [ecx + 8]
mov dword [ecx + 4], edx
mov esi, 1
nop dword [eax + eax]
mov eax, edx
lea edi, [edi + 4]
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, esi
inc esi
mov dword [edi - 4], edx
cmp esi, 0x270
jb 0x4f6cf0
pop edi
pop esi
mov dword [ecx], 0x270
mov eax, ecx
ret 4
Function at 0x4f7280
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x24
push edi
mov edi, ecx
cmp dword [edi + 0x38], 0
je 0x4f7322
cmp byte [edi + 0x3d], 0
je 0x4f7322
mov eax, dword [edi]
push esi
push 0xffffffffffffffff
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x5635c4]
mov ecx, edi
call esi
cmp eax, 0xffffffff
je 0x4f731a
mov ecx, dword [edi + 0x38]
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x14]
push eax
lea eax, [edi + 0x40]
push eax
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet___char___char___char___const]
sub eax, 0
je 0x4f72e9
sub eax, 1
je 0x4f72ed
sub eax, 2
jne 0x4f731a
mov byte [edi + 0x3d], al
mov al, 1
pop esi
pop edi
add esp, 0x24
ret
mov byte [edi + 0x3d], 0
mov esi, dword [esp + 8]
lea eax, [esp + 0xc]
sub esi, eax
je 0x4f730d
push dword [edi + 0x4c]
push esi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp esi, eax
jne 0x4f731a
cmp byte [edi + 0x3d], 0
pop esi
sete al
pop edi
add esp, 0x24
ret
pop esi
xor al, al
pop edi
add esp, 0x24
ret
mov al, 1
pop edi
add esp, 0x24
ret
Function at 0x4fa410
Capabilities:
Hash data using fnv

Disassembly:
sub esp, 0x10
mov edx, dword [esp + 0x14]
mov eax, 0x1fffffff
push ebx
mov ebx, ecx
bsr ecx, eax
push ebp
push esi
mov esi, 1
mov dword [esp + 0x10], ebx
mov eax, esi
shl eax, cl
push edi
cmp edx, eax
jbe 0x4fa441
push str.invalid_hash_bucket_count
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
mov ebp, dword [ebx + 4]
lea eax, [edx - 1]
or eax, 1
mov dword [esp + 0x1c], ebp
bsr ecx, eax
lea edi, [ebx + 0xc]
push ebp
mov dword [esp + 0x1c], edi
lea ecx, [ecx + 1]
shl esi, cl
mov ecx, edi
lea eax, [esi + esi]
push eax
call fcn.004f77f0
lea eax, [esi - 1]
mov dword [ebx + 0x1c], esi
mov dword [ebx + 0x18], eax
mov ecx, dword [ebx + 4]
mov ecx, dword [ecx]
cmp ecx, ebp
je 0x4fa53f
mov eax, ecx
movzx edx, byte [eax + 8]
xor edx, 0x811c9dc5
mov ecx, dword [ecx]
imul esi, edx, 0x1000193
movzx edx, byte [eax + 9]
xor esi, edx
movzx edx, byte [eax + 0xa]
imul esi, esi, 0x1000193
xor esi, edx
movzx edx, byte [eax + 0xb]
imul esi, esi, 0x1000193
xor esi, edx
imul edx, esi, 0x1000193
mov esi, dword [ebx + 0x18]
and esi, edx
mov edx, dword [edi]
lea ebp, [edx + esi*8]
mov esi, dword [ebp]
cmp esi, dword [esp + 0x1c]
jne 0x4fa4d2
mov dword [ebp], eax
mov dword [ebp + 4], eax
jmp 0x4fa533
mov edx, dword [ebp + 4]
mov edi, dword [eax + 8]
cmp edi, dword [edx + 8]
jne 0x4fa500
mov ebx, dword [edx]
cmp ebx, eax
je 0x4fa4fb
mov edi, dword [eax + 4]
mov dword [edi], ecx
mov esi, dword [ecx + 4]
mov dword [esi], ebx
mov edx, dword [ebx + 4]
mov dword [edx], eax
mov dword [ebx + 4], esi
mov dword [ecx + 4], edi
mov dword [eax + 4], edx
mov dword [ebp + 4], eax
jmp 0x4fa52b
cmp esi, edx
je 0x4fa510
mov edx, dword [edx + 4]
cmp edi, dword [edx + 8]
je 0x4fa549
cmp esi, edx
jne 0x4fa504
mov ebx, dword [eax + 4]
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], edx
mov esi, dword [edx + 4]
mov dword [esi], eax
mov dword [edx + 4], edi
mov dword [ecx + 4], ebx
mov dword [eax + 4], esi
mov dword [ebp], eax
mov ebx, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
mov eax, ecx
cmp ecx, dword [esp + 0x1c]
jne 0x4fa481
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4
mov edi, dword [eax + 4]
mov ebx, dword [edx]
mov dword [edi], ecx
mov esi, dword [ecx + 4]
mov dword [esi], ebx
mov edx, dword [ebx + 4]
mov dword [edx], eax
mov dword [ebx + 4], esi
mov dword [ecx + 4], edi
mov dword [eax + 4], edx
jmp 0x4fa52b
Function at 0x4fa570
Capabilities:
Hash data using fnv

Disassembly:
sub esp, 0x10
mov edx, dword [esp + 0x14]
mov eax, 0x1fffffff
push ebx
mov ebx, ecx
bsr ecx, eax
push ebp
push esi
push edi
mov edi, 1
mov dword [esp + 0x14], ebx
mov eax, edi
shl eax, cl
cmp edx, eax
jbe 0x4fa5a1
push str.invalid_hash_bucket_count
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
mov esi, dword [ebx + 4]
lea eax, [edx - 1]
or eax, 1
lea ebp, [ebx + 0xc]
bsr ecx, eax
push esi
lea ecx, [ecx + 1]
shl edi, cl
mov ecx, ebp
lea eax, [edi + edi]
push eax
call fcn.004f77f0
lea eax, [edi - 1]
mov dword [ebx + 0x1c], edi
mov dword [ebx + 0x18], eax
mov eax, dword [ebx + 4]
mov eax, dword [eax]
mov ecx, eax
cmp eax, esi
je 0x4fa6ac
nop dword [eax]
movzx edx, byte [eax + 8]
xor edx, 0x811c9dc5
mov ecx, dword [ecx]
imul edi, edx, 0x1000193
movzx edx, byte [eax + 9]
xor edi, edx
movzx edx, byte [eax + 0xa]
imul edi, edi, 0x1000193
xor edi, edx
movzx edx, byte [eax + 0xb]
imul edi, edi, 0x1000193
xor edi, edx
mov edx, dword [ebp]
imul edi, edi, 0x1000193
and edi, dword [ebx + 0x18]
lea ebp, [edx + edi*8]
mov edi, dword [ebp]
mov dword [esp + 0x18], ebp
cmp edi, esi
jne 0x4fa632
mov dword [ebp], eax
mov dword [ebp + 4], eax
jmp 0x4fa69f
mov edx, dword [ebp + 4]
mov ebx, dword [eax + 8]
cmp ebx, dword [edx + 8]
jne 0x4fa66c
mov edx, dword [edx]
mov dword [esp + 0x1c], edx
cmp edx, eax
je 0x4fa667
mov ebx, dword [eax + 4]
mov ebp, dword [esp + 0x1c]
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], edx
mov edx, dword [edx + 4]
mov dword [edx], eax
mov dword [ebp + 4], edi
mov ebp, dword [esp + 0x18]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
mov dword [ebp + 4], eax
jmp 0x4fa69b
cmp edi, edx
je 0x4fa67c
mov edx, dword [edx + 4]
cmp ebx, dword [edx + 8]
je 0x4fa6b6
cmp edi, edx
jne 0x4fa670
mov ebp, dword [eax + 4]
mov dword [ebp], ecx
mov ebx, dword [ecx + 4]
mov dword [ebx], edx
mov edi, dword [edx + 4]
mov dword [edi], eax
mov dword [edx + 4], ebx
mov edx, dword [esp + 0x18]
mov dword [ecx + 4], ebp
mov dword [eax + 4], edi
mov dword [edx], eax
mov ebx, dword [esp + 0x14]
lea ebp, [ebx + 0xc]
mov eax, ecx
cmp ecx, esi
jne 0x4fa5e0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4
mov ebx, dword [eax + 4]
mov ebp, dword [edx]
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], ebp
mov edx, dword [ebp + 4]
mov dword [edx], eax
mov dword [ebp + 4], edi
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
jmp 0x4fa69b
Function at 0x4facf0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push esi
mov esi, ecx
push edi
mov eax, dword [esi]
cmp eax, 0x270
jne 0x4fad3f
lea edx, [esi + 8]
mov edi, eax
mov ecx, dword [edx]
lea edx, [edx + 4]
xor ecx, dword [edx - 8]
and ecx, 0x7fffffff
xor ecx, dword [edx - 8]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edx + 0x62c]
xor eax, ecx
mov dword [edx + 0x9b8], eax
sub edi, 1
jne 0x4fad02
mov eax, dword [esi]
jmp 0x4fae28
cmp eax, 0x4e0
jb 0x4fae28
push ebx
mov ebx, dword [esi + 0x9c4]
lea edi, [esi + 0x9c4]
push ebp
mov ebp, 0xe3
nop dword [eax]
lea edx, [edi]
mov eax, ebx
mov ebx, dword [edx + 4]
lea edi, [edx + 4]
mov ecx, ebx
xor ecx, eax
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edx + 0x634]
xor eax, ecx
mov dword [edx - 0x9c0], eax
sub ebp, 1
jne 0x4fad60
mov ebx, dword [esi + 0xd50]
lea edi, [esi + 0xd50]
mov ebp, 0x18c
nop dword [eax]
mov eax, ebx
lea edx, [edi]
mov ebx, dword [edx + 4]
lea edi, [edx + 4]
mov ecx, eax
xor ecx, ebx
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edx - 0xd4c]
xor eax, ecx
mov dword [edx - 0x9c0], eax
sub ebp, 1
jne 0x4fadb0
mov eax, dword [esi + 0x1380]
mov ecx, dword [esi + 4]
xor ecx, eax
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
pop ebp
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [esi + 0x634]
xor eax, ecx
mov dword [esi + 0x9c0], eax
xor eax, eax
pop ebx
mov dword [esi], 0
mov edx, dword [esi + eax*4 + 4]
inc eax
mov dword [esi], eax
mov ecx, edx
mov eax, dword [esi + 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
pop edi
xor eax, edx
pop esi
ret
Function at 0x4fe980
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x560f30
push eax
mov dword fs:[0], esp
sub esp, 0xb8
cmp byte [ebp + 8], 0
push esi
push edi
mov edi, edx
mov esi, ecx
je 0x4fea82
sub esp, 0xc
lea ecx, [ebp - 0xc4]
push 0x568ea8
call fcn.004f73c0
mov dword [ebp - 4], 0
cmp dword [ebp - 0x74], 0
je 0x4fea67
cmp dword [esi + 0x14], 0xf
mov eax, dword [esi + 0x10]
jbe 0x4fe9dd
mov esi, dword [esi]
push eax
mov edx, esi
lea ecx, [ebp - 0xc4]
call fcn.004fa770
add esp, 4
mov ecx, eax
push 0x4f7bc0
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
cmp dword [edi + 0x14], 0xf
mov eax, dword [edi + 0x10]
jbe 0x4fea06
mov edi, dword [edi]
push eax
mov edx, edi
lea ecx, [ebp - 0xc4]
call fcn.004fa770
add esp, 4
mov ecx, eax
push 0x4f7bc0
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
push dword [ebp + 8]
lea ecx, [ebp - 0xc4]
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___bool_]
push 0x4f7bc0
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
lea ecx, [ebp - 0xc0]
call fcn.004f7330
test eax, eax
jne 0x4fea67
push eax
mov eax, dword [ebp - 0xc4]
lea ecx, [ebp - 0xc4]
push 2
add ecx, dword [eax + 4]
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool_]
lea ecx, [ebp - 0xc4]
call fcn.004e93f0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0x568eb4
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
mov ecx, dword [ebp - 0xc]
add esp, 4
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x502340
Capabilities:
Check for debugger via api

Disassembly:
sub esp, 0x28
push esi
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
jne 0x502432
mov dword [esp + 0xc], eax
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_CheckRemoteDebuggerPresent]
test eax, eax
je 0x502377
cmp dword [esp + 0xc], 0
jne 0x502432
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x6cc9d0]
cmp eax, dword [ecx + 4]
jle 0x5023cb
push 0x6cc9d0
call fcn.0055ecd7
add esp, 4
cmp dword [0x6cc9d0], 0xffffffff
jne 0x5023cb
push str.NtQueryInformationProcess
push 0x56acec
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x6cc9d0
mov dword [0x6c40f0], eax
call fcn.0055ec86
add esp, 4
mov esi, dword [0x6c40f0]
test esi, esi
je 0x50242b
push 0
push 0x18
lea eax, [esp + 0x18]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
mov ecx, esi
call dword [0x5635c4]
call esi
test eax, eax
js 0x50242b
mov eax, dword [esp + 0x14]
test eax, eax
je 0x50242b
push 0
push 1
lea ecx, [esp + 0x13]
mov byte [esp + 0x13], 0
push ecx
add eax, 2
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x50242b
mov al, byte [esp + 0xb]
and al, 1
pop esi
add esp, 0x28
ret
xor al, al
pop esi
add esp, 0x28
ret
mov al, 1
pop esi
add esp, 0x28
ret

Function at 0x502dd0
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x22c
push esi
push edi
push 0
push 2
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
je 0x502e2d
lea eax, [esp + 8]
mov dword [esp + 8], 0x22c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x502e26
lea eax, [esp + 0x2c]
push edi
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
add esp, 8
test eax, eax
je 0x502e38
lea eax, [esp + 8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x502e03
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
xor al, al
pop esi
add esp, 0x22c
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov al, 1
pop esi
add esp, 0x22c
ret
Function at 0x5039e0
Capabilities:
Hide graphical window

Disassembly:
call dword [sym.imp.KERNEL32.dll_GetConsoleWindow]
test eax, eax
je 0x5039f9
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp dword [sym.imp.KERNEL32.dll_FreeConsole]
ret
Function at 0x509a90
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5618de
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov dword [ebp - 0x10], 0
xorps xmm0, xmm0
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, ecx
xor ecx, ecx
mov dword [ebp - 0x14], eax
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], cx
mov dword [ebp - 4], ecx
xor esi, esi
mov dword [ebp - 0x10], 1
mov edx, 0xff
mov cx, word [eax + 0xc]
and cx, dx
xor cx, word [eax + esi*2]
movzx ecx, cx
push ecx
mov ecx, edi
call fcn.00500130
mov eax, dword [ebp - 0x14]
inc esi
mov edx, 0xff
cmp esi, 5
jb 0x509af4
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4

Function at 0x50b150
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5618de
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov dword [ebp - 0x10], 0
xorps xmm0, xmm0
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, ecx
xor ecx, ecx
mov dword [ebp - 0x14], eax
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], cx
mov dword [ebp - 4], ecx
xor esi, esi
mov dword [ebp - 0x10], 1
mov edx, 0xff
mov cx, word [eax + 0x10]
and cx, dx
xor cx, word [eax + esi*2]
movzx ecx, cx
push ecx
mov ecx, edi
call fcn.00500130
mov eax, dword [ebp - 0x14]
inc esi
mov edx, 0xff
cmp esi, 8
jb 0x50b1b4
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4

Function at 0x50b520
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push esi
mov esi, dword [esp + 0xc]
mov edx, 0x811c9dc5
push edi
mov edi, dword [esp + 0xc]
mov ecx, 0
sub esi, edi
je 0x50b549
movzx eax, byte [edi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x50b538
pop edi
mov eax, edx
pop esi
ret 8