joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40fbc6
Capabilities:
Encode data using xor

Disassembly:
popal
and al, 0xa
inc esp
xor ah, byte [edi - 0x40]
aad 0x8c
invalid
jne 0x40fb35
inc edi
sbb byte [eax - 0x2ba0d283], ah
mov fs, ebx
push esi
xor ax, 0xa0d6
jns 0x40fbbc
xor eax, 0xfb79a0d6
or ebp, dword [ebp + ebp + 0x79557045]
xor eax, 0xb0032ea0
iretd
push ebp
jns 0x40fbfe
mov al, byte [0xcfb0032e]
popfd
fidivr dword [esi - 0x501f71e9]
insb byte es:[edi], dx
xchg ebp, eax
loopne 0x40fbae
cdq
add bh, byte [edi]
mov fs, word [ecx - 0x26da8fe5]
inc ebx
add byte [eax + 0x6e], ah
outsb dx, byte [esi]
les ebx, [edx]
enter 0xffffffffffff8826, 0xffffffffffffffd4
lds edx, [edi + 0x6940397f]
xor eax, 0xca1840bf
fdivr dword [edi]
loopne 0x40fbe5
mov esi, esp
movsd dword es:[edi], dword [esi]
mov ah, 0x94
invalid

Function at 0x417a10
Capabilities:
Get common file path

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x50
test eax, eax
push esi
je 0x417a36
mov eax, dword [0x4bda90]
test eax, eax
je 0x417a2c
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, 1
pop esi
add esp, 0x50
ret
push ebx
push edi
lea eax, [esp + 0xc]
push 0x50
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov edi, 0x4bd070
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xd]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
stc
Function at 0x46931d
Capabilities:
Encode data using xor

Disassembly:
add dh, byte [edx]
xor dword [ecx + 0x52], 0x73
adc eax, 0x3fd06cb2
adc edi, esp
mov dh, 0x5e
imul esi
clc
dec eax
or dword [edx], ebp
mov ebp, 0x6c89e28a
lahf
sub ch, byte [esp + ebx + 0x11]
insb byte es:[edi], dx
sbb al, 0x11
insb byte es:[edi], dx
sbb al, 0x11
fdivr dword [eax - 0x18]
fidivr dword [ebp - 0x6a]
in al, dx
xor esi, dword [ecx]
js 0x469300
push ds
jmp 0x469388
idiv al
leave
invalid
insb byte es:[edi], dx
xchg ecx, eax
pop esi
or ah, byte [ebx + 0xa]
outsb dx, byte [esi]
into
int1
lcall 0x8ddc, 0xf83c8505
mov gs, word [edi]
pop ss
cwde
sti
sbb byte [ebx + ecx*4 + 0x2a], ch
sahf
in al, dx
add dword [0x3ccf6272], edi
mov dh, 0xec
mov ah, 0xd
mov dword [ebp + 0x3e], esp
lodsd eax, dword [esi]
sti
mov edx, 0x324ed296
sbb edi, dword [ecx - 0x34073a99]
out dx, al
cmp ecx, dword [eax - 0x2f]
rcr byte [eax + esi*8], 7
jns 0x46934b
leave
int3
Function at 0x488b18
Capabilities:
Encode data using xor

Disassembly:
push ss
imul byte [ebx + 0x2dad90f]
test dh, bh
invalid
Function at 0x497c16
Capabilities:
Encode data using xor

Disassembly:
and al, 0x20
int 0x9e
insd dword es:[edi], dx
aad 0xab
xor byte [ecx + 0x4792e1ba], cl
popfd
rol dword [ebx], 1
salc
add byte [ebx], ah
dec sp
rcl byte [edx + esi*4 + 0x2eb17c83], 0xd7
mov dl, 0x83
jl 0x497bcb
xlatb
mov dl, 0x83
jl 0x497bcb
xlatb
xchg ebx, eax
lahf
jp 0x497c03
ror dword [0x9712f6da], cl
mov esp, 0x43d3ef79
out 0x6d, eax
salc
sub byte [eax - 0x69], bh
sbb ah, dh
cwde
add al, 0x20
invalid

Function at 0x4a0010
Capabilities:
Encode data using xor

Disassembly:
invalid
rcpps xmm1, xmmword [ebx]
ja 0x49ff99
arpl word [ebx + 0x37], cx
sub esi, dword [ebx + 0x2f]
invalid
Function at 0x4ac007
Capabilities:
Encode data using xor

Disassembly:
clc
add dl, bh
mov dword fs:[esi + edi*4 - 0x23edec02], eax
wait
wait
outsd dx, dword [esi]
sbb bh, byte [edx]
lahf
xchg ebp, eax
salc
dec esp
sar byte [eax + 0x63], cl
cmp bl, byte [edi - 0x2db3296b]
js 0x4ac081
loope 0x4ac021
hlt
loopne 0x4ac016
mov ah, dh
xor ebp, dword [esi]
loopne 0x4ac023
shr dword [edi + 0x6a40cfa0], 1
mov esi, 0xa39d4c3b
mov edx, 0xf2c638d2
sbb dword [esi - 0x2d], 0xc7c32622
imul edx, dword [edx - 0x75cf2886], 0xfffffff7
imul dword [esi]
jnp 0x4ac01c
arpl cx, sp
test eax, 0xeac0aaa4
Function at 0x4e5b60
Capabilities:
Hash data using fnv

Disassembly:
sub esp, 0x10
push esi
lea ecx, [esp + 8]
call fcn.004df5b0
mov edx, dword [esp + 8]
mov ecx, edx
sub ecx, dword [0x6bb428]
mov esi, dword [esp + 0xc]
mov eax, esi
sbb eax, dword [0x6bb42c]
cmp ecx, 0x540be400
jne 0x4e5b92
cmp eax, 2
je 0x4e5ba1
cmp eax, 2
jl 0x4e5bb6
jg 0x4e5ba1
cmp ecx, 0x540be400
jb 0x4e5bb6
mov dword [0x6bb428], edx
mov dword [0x6bb42c], esi
pop esi
add esp, 0x10
jmp fcn.004e54a0
pop esi
add esp, 0x10
ret
Function at 0x4e60b0
Capabilities:
Log keystrokes via polling

Disassembly:
mov al, byte [0x6bb7b7]
sub esp, 0xc
push esi
push edi
mov edi, ecx
test al, al
jne 0x4e60e3
mov eax, dword [edi]
push ecx
mov ecx, dword [eax*4 + 0x5674b0]
call fcn.00546720
add esp, 4
test al, al
je 0x4e6136
mov byte [0x6bb7b7], 1
pop edi
pop esi
add esp, 0xc
ret
cmp al, 1
jne 0x4e6136
push ecx
mov ecx, 0x565a1c
call fcn.00546720
add esp, 4
mov dword [esp + 8], 0x46
lea ecx, [esp + 8]
mov dword [esp + 0xc], 0
call fcn.004f7a30
mov esi, 0x5671d8
push dword [esi]
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x4e612b
mov eax, dword [esi]
mov dword [edi], eax
mov byte [0x6bb7b7], 0
add esi, 4
cmp esi, 0x5674b0
jne 0x4e6113
pop edi
pop esi
add esp, 0xc
ret
Function at 0x4e9470
Capabilities:
Create process on windows
Self delete
Terminate process

Disassembly:
push ecx
call fcn.004e8770
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
push 1
push 0
push 0
push str.del.bat
push 0x565ed4
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 0x4e94a0
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 0x4e9535
push esi
nop
mov eax, ebx
lea ecx, [esp + 0x30]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x4e94fc
test dx, dx
je 0x4e94f8
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x4e94fc
add ecx, 4
add eax, 4
test dx, dx
jne 0x4e94d6
xor eax, eax
jmp 0x4e9501
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4e9524
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 0x4e94d0
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 0x4f6400
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 0x4f642c
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 0x4f6454
mov eax, dword [eax]
mov ecx, dword [eax]
jmp 0x4f645a
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 0x4f64c2
jg 0x4f6471
test esi, esi
je 0x4f64c2
test ecx, ecx
jl 0x4f64bd
jg 0x4f647b
test eax, eax
je 0x4f64bd
cmp edi, ecx
jg 0x4f648f
jl 0x4f6485
cmp esi, eax
jae 0x4f648f
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 0x4f64c5
mov ecx, dword [ebp + 8]
jmp 0x4f64cf
mov ecx, dword [ebp + 8]
test edi, edi
jl 0x4f64e9
jg 0x4f64cf
test esi, esi
je 0x4f64e9
mov eax, dword [ebx + 0x4c]
test eax, eax
je 0x4f64e9
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 0x4f6500
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 0x4f6525
jl 0x4f6519
test esi, esi
jne 0x4f6525
pop esi
xor eax, eax
xor edx, edx
pop ebx
add esp, 8
ret 0xc
cmp dword [ebx + 0x38], 0
je 0x4f653f
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 0x4f6586
mov eax, dword [ebx + 0x2c]
lea ecx, [ebx + 0x2c]
mov dword [esp + 0x10], ecx
mov eax, dword [eax]
test eax, eax
je 0x4f658d
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 0x4f658d
lea eax, [ebx + 0x2c]
mov dword [esp + 0x10], eax
cmp dword [ebx + 0x4c], 0
je 0x4f65f9
mov ecx, dword [ebx + 0xc]
lea eax, [ebx + 0x3c]
cmp dword [ecx], eax
jne 0x4f65b7
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 0x4f65e3
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 0x4f65f9
cmp edi, eax
ja 0x4f65c0
test edi, edi
je 0x4f65f9
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 0x4f69a0
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 0x4f69ba
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 0x4f69ec
mov edx, dword [esi + 0x30]
mov edi, dword [edx]
lea eax, [edi + ecx]
cmp ecx, eax
jae 0x4f69ec
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 0x4f6abb
mov edi, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [edi], eax
jne 0x4f6a14
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 0x4f6a20
movsx eax, bl
jmp 0x4f6a60
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 0x4f6a80
sub eax, 1
je 0x4f6a80
sub eax, 2
jne 0x4f6abb
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 0x4f6aa0
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 0x4f6abb
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 0x4f6ca0
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 0x4f6cc0
pop edi
pop esi
mov dword [ecx], 0x270
mov eax, ecx
ret 4
Function at 0x4f7250
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x24
push edi
mov edi, ecx
cmp dword [edi + 0x38], 0
je 0x4f72f2
cmp byte [edi + 0x3d], 0
je 0x4f72f2
mov eax, dword [edi]
push esi
push 0xffffffffffffffff
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x5635b4]
mov ecx, edi
call esi
cmp eax, 0xffffffff
je 0x4f72ea
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 0x4f72b9
sub eax, 1
je 0x4f72bd
sub eax, 2
jne 0x4f72ea
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 0x4f72dd
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 0x4f72ea
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 0x4fa3e0
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 0x4fa411
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.004f77c0
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 0x4fa50f
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 0x4fa4a2
mov dword [ebp], eax
mov dword [ebp + 4], eax
jmp 0x4fa503
mov edx, dword [ebp + 4]
mov edi, dword [eax + 8]
cmp edi, dword [edx + 8]
jne 0x4fa4d0
mov ebx, dword [edx]
cmp ebx, eax
je 0x4fa4cb
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 0x4fa4fb
cmp esi, edx
je 0x4fa4e0
mov edx, dword [edx + 4]
cmp edi, dword [edx + 8]
je 0x4fa519
cmp esi, edx
jne 0x4fa4d4
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 0x4fa451
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 0x4fa4fb
Function at 0x4fa540
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 0x4fa571
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.004f77c0
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 0x4fa67c
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 0x4fa602
mov dword [ebp], eax
mov dword [ebp + 4], eax
jmp 0x4fa66f
mov edx, dword [ebp + 4]
mov ebx, dword [eax + 8]
cmp ebx, dword [edx + 8]
jne 0x4fa63c
mov edx, dword [edx]
mov dword [esp + 0x1c], edx
cmp edx, eax
je 0x4fa637
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 0x4fa66b
cmp edi, edx
je 0x4fa64c
mov edx, dword [edx + 4]
cmp ebx, dword [edx + 8]
je 0x4fa686
cmp edi, edx
jne 0x4fa640
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 0x4fa5b0
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 0x4fa66b
Function at 0x4facc0
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 0x4fad0f
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 0x4facd2
mov eax, dword [esi]
jmp 0x4fadf8
cmp eax, 0x4e0
jb 0x4fadf8
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 0x4fad30
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 0x4fad80
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 0x4fe950
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x560b70
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 0x4fea52
sub esp, 0xc
lea ecx, [ebp - 0xc4]
push 0x568e68
call fcn.004f7390
mov dword [ebp - 4], 0
cmp dword [ebp - 0x74], 0
je 0x4fea37
cmp dword [esi + 0x14], 0xf
mov eax, dword [esi + 0x10]
jbe 0x4fe9ad
mov esi, dword [esi]
push eax
mov edx, esi
lea ecx, [ebp - 0xc4]
call fcn.004fa740
add esp, 4
mov ecx, eax
push 0x4f7b90
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 0x4fe9d6
mov edi, dword [edi]
push eax
mov edx, edi
lea ecx, [ebp - 0xc4]
call fcn.004fa740
add esp, 4
mov ecx, eax
push 0x4f7b90
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 0x4f7b90
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.004f7300
test eax, eax
jne 0x4fea37
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.004e93c0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0x568e74
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