joyce8/EMBER2024-capa huggingface dataset:
Function at 0x9dfc9c
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0xa05274]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push 0xa0240c
push esi
call fcn.009d80f3
pop ecx
pop ecx
test eax, eax
jne 0x9dfcca
xor al, al
jmp 0x9dfd47
push ebx
lea eax, [ebp - 0x210]
xor ebx, ebx
push eax
push 0x104
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x210], ebx
push esi
push eax
call fcn.009df9d1
mov edx, eax
add esp, 0x10
test edx, edx
jne 0x9dfd04
push dword [ebp - 0x210]
call fcn.009c6372
xor al, al
jmp 0x9dfd45
mov ecx, edx
push edi
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x9dfd0a
sub ecx, edi
sar ecx, 1
pop edi
cmp ecx, 3
je 0x9dfd2a
push edx
call fcn.009dfbd3
pop ecx
test al, al
je 0x9dfcf5
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 1
jbe 0x9dfd38
mov bl, 1
push dword [ebp - 0x210]
call fcn.009c6372
mov al, bl
pop ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.009c2cd2
leave
ret

Function at 0x9e082c
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0xa05274]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
cmp eax, 0x1a
jbe 0x9e086f
call fcn.009d0369
mov dword [eax], 0xf
call fcn.009d037c
mov dword [eax], 0xd
call fcn.009d3c44
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.009c2cd2
leave
ret
test eax, eax
jne 0x9e0876
inc eax
jmp 0x9e0863
add eax, 0x40
push 0x3a
mov word [ebp - 0xc], ax
pop eax
mov word [ebp - 0xa], ax
push 0x5c
pop eax
mov word [ebp - 8], ax
xor eax, eax
mov word [ebp - 6], ax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov ecx, eax
test ecx, ecx
je 0x9e0861
xor eax, eax
cmp ecx, 1
setne al
jmp 0x9e0863

Function at 0x430002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x408f6c
nop
mov ecx, 0x377a5703
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x430024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e3d0
nop
mov ecx, 0x7e5c4ac0
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x430084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43006c
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x408f6c
mov ecx, 0x6099669c
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x430024
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42e3d0
nop
mov ecx, 0xc4909b7
nop
nop
nop
nop
test eax, eax
nop
je 0x430084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219

Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43100c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x403e6a
sub eax, 0x403e10
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x431030
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43101e
nop
nop
popal
nop
nop
nop
nop
nop
jmp fcn.00401219
Function at 0x1000bae0
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 0x1000bb0c
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 0x1000bb34
mov eax, dword [eax]
mov ecx, dword [eax]
jmp 0x1000bb3a
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 0x1000bba2
jg 0x1000bb51
test esi, esi
je 0x1000bba2
test ecx, ecx
jl 0x1000bb9d
jg 0x1000bb5b
test eax, eax
je 0x1000bb9d
cmp edi, ecx
jg 0x1000bb6f
jl 0x1000bb65
cmp esi, eax
jae 0x1000bb6f
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 0x1000bba5
mov ecx, dword [ebp + 8]
jmp 0x1000bbaf
mov ecx, dword [ebp + 8]
test edi, edi
jl 0x1000bbc9
jg 0x1000bbaf
test esi, esi
je 0x1000bbc9
mov eax, dword [ebx + 0x4c]
test eax, eax
je 0x1000bbc9
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 0x1000bbe0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 4], esi
test eax, eax
jg 0x1000bc0c
jl 0x1000bc00
test ecx, ecx
jne 0x1000bc0c
pop esi
xor eax, eax
xor edx, edx
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp dword [ebx + 0x38], 0
je 0x1000bc25
push eax
push ecx
push esi
mov ecx, ebx
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
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx + 0x1c]
push edi
mov edi, ecx
mov eax, dword [eax]
mov dword [ebp - 8], eax
test eax, eax
je 0x1000bc6d
mov eax, dword [ebx + 0x2c]
lea edx, [ebx + 0x2c]
mov dword [ebp - 0xc], edx
mov eax, dword [eax]
test eax, eax
je 0x1000bc73
cmp eax, ecx
mov esi, ecx
cmovb esi, eax
push esi
push dword [ebp - 8]
push dword [ebp - 4]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebx + 0x2c]
sub edi, esi
add dword [ebp - 4], esi
add esp, 0xc
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
mov esi, dword [ebp - 4]
jmp 0x1000bc73
lea eax, [ebx + 0x2c]
mov dword [ebp - 0xc], eax
cmp dword [ebx + 0x4c], 0
je 0x1000bce6
mov ecx, dword [ebx + 0xc]
lea eax, [ebx + 0x3c]
cmp dword [ecx], eax
jne 0x1000bc9c
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 [ebp - 0xc]
mov eax, dword [eax]
mov dword [eax], edx
mov eax, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
cmp edi, 0xfff
jbe 0x1000bcd4
nop dword [eax]
push dword [ebx + 0x4c]
push 0xfff
push 1
push esi
call eax
add esp, 0x10
add esi, eax
sub edi, eax
cmp eax, 0xfff
jne 0x1000bce6
cmp edi, eax
mov eax, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
ja 0x1000bcb0
test edi, edi
je 0x1000bce6
push dword [ebx + 0x4c]
push edi
push 1
push esi
call eax
add esp, 0x10
sub edi, eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
sub eax, edi
pop edi
pop esi
sbb edx, 0
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1000c060
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x1008b040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
cmp ebx, 0xffffffff
jne 0x1000c090
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007e2f7
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x20]
push edi
mov ecx, dword [eax]
test ecx, ecx
je 0x1000c0cc
mov edx, dword [esi + 0x30]
mov edi, dword [edx]
lea eax, [edi + ecx]
cmp ecx, eax
jae 0x1000c0cc
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
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007e2f7
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x4c], 0
je 0x1000c1a3
mov edi, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [edi], eax
jne 0x1000c0f4
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 0x1000c100
movsx eax, bl
jmp 0x1000c138
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x25], bl
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x25]
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 0x1000c162
sub eax, 1
je 0x1000c162
sub eax, 2
jne 0x1000c1a3
movsx eax, byte [ebp - 0x25]
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
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007e2f7
mov esp, ebp
pop ebp
ret 4
mov edi, dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x1000c180
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 0x1000c1a3
lea ecx, [ebp - 0x25]
mov byte [esi + 0x3d], 1
or eax, 0xffffffff
cmp dword [ebp - 0x30], ecx
pop edi
pop esi
cmovne eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007e2f7
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
or eax, 0xffffffff
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1007e2f7
mov esp, ebp
pop ebp
ret 4
Function at 0x1000c770
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x1008b040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x38], 0
je 0x1000c82c
cmp byte [esi + 0x3d], 0
je 0x1000c82c
mov eax, dword [esi]
push edi
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x1000c81a
mov ecx, dword [esi + 0x38]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 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 0x1000c7e1
sub eax, 1
je 0x1000c7e5
sub eax, 2
jne 0x1000c81a
mov byte [esi + 0x3d], al
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007e2f7
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x1000c803
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 0x1000c81a
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007e2f7
mov esp, ebp
pop ebp
ret
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007e2f7
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.1007e2f7
mov esp, ebp
pop ebp
ret
Function at 0x10027270
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
mov eax, dword [0x1008b040]
xor eax, esp
mov dword [esp + 0x10], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [esp + 0xc]
push eax
push str.ROBLOX
push 0
call dword [sym.imp.USER32.dll_FindWindowW]
push eax
call dword [sym.imp.USER32.dll_ScreenToClient]
mov ecx, dword [0x10116e70]
test ecx, ecx
jne 0x100272e2
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [esp + 4], eax
lea eax, [esp + 4]
push eax
push 0x100152f0
mov dword [esp + 0x10], 0
call dword [sym.imp.USER32.dll_EnumWindows]
mov ecx, dword [esp + 8]
mov dword [0x10116e70], ecx
call fcn.1006c490
movaps xmm2, xmm0
ucomiss xmm2, dword [0x10085668]
lahf
test ah, 0x44
jp 0x100272ff
movss xmm2, dword [0x10085708]
movd xmm0, dword [esp + 0xc]
mov eax, esi
cvtdq2ps xmm0, xmm0
mov ecx, dword [esp + 0x14]
movss xmm1, dword [ebp + 0xc]
divss xmm0, xmm2
subss xmm1, xmm0
movd xmm0, dword [0x10116430]
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
movd xmm0, dword [esp + 0x10]
cvtdq2ps xmm0, xmm0
movss dword [esi], xmm1
divss xmm0, xmm2
movss xmm1, dword [ebp + 0x10]
subss xmm1, xmm0
movd xmm0, dword [0x10116430]
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
movss dword [esi + 4], xmm1
pop esi
xor ecx, esp
call fcn.1007e2f7
mov esp, ebp
pop ebp
ret 0xc

Function at 0x10027370
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x100881d8
push 0x1007e87a
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x1008b040]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x44], 0x10117348
wait
mov dword [ebp - 4], 0
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
mov edi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ebx, dword [sym.imp.USER32.dll_SendInput]
nop word [eax + eax]
mov eax, dword [0x10116e18]
push dword [eax*4 + 0x100844b8]
call edi
test ax, ax
je 0x1002748c
cmp byte [0x10116e0f], 0
je 0x1002748c
lea eax, [ebp - 0x24]
push eax
mov ecx, 0x10117348
call fcn.10025630
movss xmm0, dword [ebp - 0x24]
ucomiss xmm0, dword [0x10085824]
lahf
test ah, 0x44
jnp 0x100273d0
push dword [ebp - 0x20]
push dword [ebp - 0x24]
lea eax, [ebp - 0x4c]
push eax
call fcn.10027270
movss xmm1, dword [ebp - 0x4c]
ucomiss xmm1, dword [0x10085824]
lahf
test ah, 0x44
jnp 0x100273d0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x34], 0
movd xmm0, dword [0x10116e10]
cvtdq2ps xmm0, xmm0
subss xmm1, xmm0
cvttss2si eax, xmm1
mov dword [ebp - 0x3c], eax
movd xmm0, dword [0x10116df0]
cvtdq2ps xmm0, xmm0
movss xmm1, dword [ebp - 0x48]
subss xmm1, xmm0
cvttss2si eax, xmm1
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x30], 1
push 0x1c
lea eax, [ebp - 0x40]
push eax
push 1
call ebx
push 1
call esi
jmp 0x100273d0
Function at 0x100286b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
movaps xmm0, xmmword [0x10085c00]
xor ecx, ecx
mov eax, dword [0x10117324]
mov dword [ebp - 4], eax
movups xmmword [ebp - 0x18], xmm0
mov word [ebp - 8], 0x3232
mov byte [ebp - 6], 0
mov al, byte [ebp - 0x18]
xor byte [ebp + ecx - 0x17], al
inc ecx
cmp ecx, 0x11
jb 0x100286d5
movaps xmm0, xmmword [0x10086390]
xor ecx, ecx
mov byte [ebp - 6], 0
movups xmmword [ebp - 0x2c], xmm0
mov word [ebp - 0x1c], 0x6149
mov byte [ebp - 0x1a], 0
nop dword [eax]
mov al, byte [ebp - 0x2c]
xor byte [ebp + ecx - 0x2b], al
inc ecx
cmp ecx, 0x11
jb 0x10028700
push ebx
push esi
push edi
push 0
mov byte [ebp - 0x1a], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edi, eax
cmp edi, 0xf000000
ja 0x10028761
mov bl, byte [ebp - 0x17]
lea eax, [ebp - 0x17]
mov esi, edi
sub esi, eax
lea edx, [ebp - 0x2b]
test bl, bl
je 0x10028763
lea eax, [ebp - 0x17]
mov cl, bl
nop dword [eax]
cmp cl, 0x78
jne 0x1002874c
mov cl, byte [esi + eax]
cmp cl, byte [edx]
jne 0x10028757
mov cl, byte [eax + 1]
inc eax
inc edx
test cl, cl
jne 0x10028740
jmp 0x10028763
inc edi
inc esi
cmp edi, 0xf000000
jbe 0x10028730
xor edi, edi
mov eax, dword [edi + 0xa]
add edi, 0xe
add eax, edi
call eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov dword [ecx + 0xc], eax
mov esp, ebp
pop ebp
ret
Function at 0x10028990
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008125d
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x44
mov eax, dword [0x1008b040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [0x10117324]
xorps xmm0, xmm0
movq qword [ebp - 0x20], xmm0
xor ecx, ecx
movaps xmm0, xmmword [0x10085a20]
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x3c], xmm0
mov dword [ebp - 0x2c], 0x12160f14
mov dword [ebp - 0x28], 0x4092c15
mov byte [ebp - 0x24], 0
mov al, byte [ebp - 0x3c]
xor byte [ebp + ecx - 0x3b], al
inc ecx
cmp ecx, 0x17
jb 0x10028a01
xorps xmm0, xmm0
mov byte [ebp - 0x24], 0
lea ecx, [ebp - 0x3b]
mov dword [ebp - 0x44], 0
movups xmmword [ebp - 0x54], xmm0
mov dword [ebp - 0x40], 0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10028a30
sub ecx, edx
lea eax, [ebp - 0x3b]
push ecx
push eax
lea ecx, [ebp - 0x54]
call fcn.1000f330
lea eax, [ebp - 0x54]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x20]
mov ecx, esi
push eax
call fcn.10028850
mov ecx, dword [ebp - 0x40]
cmp ecx, 0xf
jbe 0x10028a8c
mov edx, dword [ebp - 0x54]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10028a82
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10028ad0
push ecx
push edx
call fcn.1007e30a
add esp, 8
mov ecx, dword [ebp - 0x1c]
mov eax, ecx
mov edx, dword [ebp - 0x20]
sub eax, edx
test eax, 0xfffffffc
jne 0x10028aa1
xor esi, esi
jmp 0x10028aaa
mov eax, dword [ecx - 4]
mov eax, dword [eax + 0x28]
mov esi, dword [eax + 8]
test edx, edx
je 0x10028ae0
mov ecx, dword [ebp - 0x18]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x10028ad6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10028ad6
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1007e30a
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1007e2f7
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x1002af80
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, edx
not ebx
mov esi, ecx
mov eax, ebx
test edi, edi
je 0x1002afe1
mov cl, byte [esi]
lea esi, [esi + 1]
dec edi
cmp cl, 0x23
jne 0x1002afc4
cmp edi, 2
jb 0x1002afc4
cmp byte [esi], cl
jne 0x1002afc4
cmp byte [esi + 1], cl
jne 0x1002afc4
mov eax, ebx
movzx ecx, cl
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x10084760]
jmp 0x1002af95
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x10084760]
test edi, edi
jne 0x1002af95
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
mov cl, byte [esi]
inc esi
test cl, cl
je 0x1002b010
cmp cl, 0x23
jne 0x1002aff7
cmp byte [esi], cl
jne 0x1002aff7
cmp byte [esi + 1], cl
cmove eax, ebx
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
mov cl, byte [esi]
inc esi
xor eax, dword [edx*4 + 0x10084760]
test cl, cl
jne 0x1002afe8
pop edi
pop esi
not eax
pop ebx
pop ebp
ret

Function at 0x1002b120
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
test eax, eax
je 0x1002b133
mov dword [eax], 0
call fcn.1002b020
mov esi, eax
test esi, esi
je 0x1002b20f
mov ebx, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
push esi
call ebx
mov edi, eax
add esp, 4
cmp edi, 0xffffffff
je 0x1002b205
push 2
push 0
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x1002b205
push esi
call ebx
mov ebx, eax
add esp, 4
cmp ebx, 0xffffffff
je 0x1002b205
push 0
push edi
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x1002b205
mov eax, dword [0x10116ebc]
test eax, eax
je 0x1002b1a0
inc dword [eax + 0xb0]
push ebx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov edi, eax
add esp, 4
test edi, edi
je 0x1002b205
push esi
push ebx
push 1
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
push esi
cmp eax, ebx
je 0x1002b1ec
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov eax, dword [0x10116ebc]
add esp, 4
test eax, eax
je 0x1002b1db
dec dword [eax + 0xb0]
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov eax, dword [ebp + 8]
add esp, 4
test eax, eax
je 0x1002b1fe
mov dword [eax], ebx
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret
Function at 0x1002d8b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push ebx
push esi
mov esi, dword [0x10116ebc]
mov ebx, edx
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
mov ecx, dword [esi + 0x3e34]
test ecx, ecx
je 0x1002d92a
mov eax, dword [esi + 0x3e60]
cmp eax, dword [ecx + 0x54]
jne 0x1002d92a
test byte [esi + 0x5a50], 1
je 0x1002d920
movaps xmm0, xmmword [0x10086050]
xor ecx, ecx
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x10], 0x2c5149
movaps xmm0, xmmword [0x10086020]
movups xmmword [ebp - 0x20], xmm0
mov al, byte [ebp - 0x30]
xor byte [ebp + ecx - 0x2f], al
inc ecx
cmp ecx, 0x22
jb 0x1002d903
lea eax, [ebp - 0x2f]
mov byte [ebp - 0xd], 0
push eax
call fcn.10041400
add esp, 4
mov dword [esi + 0x3e34], 0
cmp dword [esi + 0x3e60], edi
setne al
mov byte [esi + 0x3e6c], al
je 0x1002d9ff
test byte [esi + 0x5a50], 1
je 0x1002d9ce
test ebx, ebx
je 0x1002d954
mov edx, dword [ebx]
jmp 0x1002d959
mov edx, 0x10082712
mov eax, dword [esi + 0x3e7c]
test eax, eax
je 0x1002d967
mov ebx, dword [eax]
jmp 0x1002d96c
mov ebx, 0x10082712
movaps xmm0, xmmword [0x10086200]
xor ecx, ecx
movups xmmword [ebp - 0x50], xmm0
mov dword [ebp - 0x10], 0x1222978
movaps xmm0, xmmword [0x10086220]
movups xmmword [ebp - 0x40], xmm0
mov byte [ebp - 0xc], 0
movaps xmm0, xmmword [0x10085ca0]
movups xmmword [ebp - 0x30], xmm0
movaps xmm0, xmmword [0x10085bc0]
movups xmmword [ebp - 0x20], xmm0
mov al, byte [ebp - 0x50]
xor byte [ebp + ecx - 0x4f], al
inc ecx
cmp ecx, 0x43
jb 0x1002d9a5
push edx
push edi
push ebx
push dword [esi + 0x3e60]
lea eax, [ebp - 0x4f]
mov byte [ebp - 0xc], 0
push eax
call fcn.10041400
mov ebx, dword [ebp - 4]
add esp, 0x14
mov dword [esi + 0x3e68], 0
mov word [esi + 0x3e6f], 0
mov dword [esi + 0x3e84], 0xffffffff
test edi, edi
je 0x1002d9ff
mov dword [esi + 0x3e94], edi
mov dword [esi + 0x3e98], 0
mov dword [esi + 0x3e60], edi
mov word [esi + 0x3e6d], 0
mov dword [esi + 0x3e7c], ebx
mov byte [esi + 0x3e71], 0
test edi, edi
je 0x1002da4d
mov dword [esi + 0x3e64], edi
cmp dword [esi + 0x47a0], edi
je 0x1002da42
cmp dword [esi + 0x47ac], edi
je 0x1002da42
mov eax, 1
cmp dword [esi + 0x47b4], edi
jne 0x1002da47
mov eax, 5
mov dword [esi + 0x3e80], eax
pop edi
mov dword [esi + 0x465c], 0
mov byte [esi + 0x4660], 0
mov dword [esi + 0x4664], 0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret