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

Disassembly:
push 4
mov eax, 0x5eaa08
call fcn.00423123
mov ebx, ecx
mov edi, dword [ebp + 8]
push edi
call fcn.00491cd3
test eax, eax
je 0x491e3a
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, ebx
and al, 1
movzx eax, al
push eax
call fcn.00491858
xor eax, eax
inc eax
jmp 0x491f3c
push dword [ebx + 4]
call fcn.0045f1e4
mov esi, eax
mov dword [ebp - 0x10], esi
pop ecx
test esi, esi
je 0x491ee6
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x74]
test eax, eax
je 0x491ee6
cmp edi, 0x25
je 0x491e73
cmp edi, 0x27
je 0x491e81
cmp edi, 0x26
je 0x491e73
cmp edi, 0x28
jne 0x491ee6
cmp edi, 0x27
je 0x491e81
cmp edi, 0x28
je 0x491e81
push 2
jmp 0x491e83
push 3
pop edi
jmp 0x491e91
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x74]
test eax, eax
jne 0x491ed0
push edi
mov ecx, esi
call fcn.0044a638
mov esi, eax
test esi, esi
jne 0x491e86
mov ecx, dword [ebp - 0x10]
cmp edi, 3
setne al
push eax
call fcn.0044a230
mov ecx, eax
jmp 0x491ec0
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x74]
test eax, eax
jne 0x491ed0
push edi
mov ecx, esi
call fcn.0044a638
mov esi, eax
test esi, esi
jne 0x491eb2
jmp 0x491e32
push 1
mov ecx, esi
call fcn.0044a4dd
push eax
mov ecx, ebx
call fcn.00492195
jmp 0x491e32
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x10
call esi
shr eax, 0xf
and al, 1
movzx eax, al
push eax
push 0x12
call esi
shr eax, 0xf
and al, 1
movzx eax, al
push eax
push 0x11
call esi
shr eax, 0xf
lea ecx, [ebp + 8]
and al, 1
movzx eax, al
push eax
push edi
call fcn.00490f62
and dword [ebp - 4], 0
lea eax, [ebp + 8]
push eax
mov ecx, ebx
call fcn.00491f90
xor ebx, ebx
lea ecx, [ebp + 8]
test al, al
setne bl
call fcn.005ba100
mov eax, ebx
call fcn.004230fd
ret 4
Function at 0x49c7dc
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
xor esi, esi
cmp dword [ebp + 0x10], esi
jne 0x49c7fc
mov eax, dword [ebp + 8]
mov dword [eax], 1
mov dword [eax + 8], esi
mov dword [eax + 4], esi
jmp 0x49c8ba
lea eax, [ebp - 4]
mov dword [ebp - 4], esi
push eax
push dword [ebp + 0x10]
call fcn.0049c0ee
pop ecx
pop ecx
mov ecx, eax
test ecx, ecx
je 0x49c81a
mov eax, dword [ebp + 8]
mov dword [eax], ecx
jmp 0x49c7f1
push ebx
push edi
mov edi, dword [ebp - 4]
lea eax, [edi + 2]
push eax
call dword [0x66f98c]
mov ebx, eax
pop ecx
test ebx, ebx
jne 0x49c83b
mov eax, dword [ebp + 8]
mov dword [eax], 3
jmp 0x49c85f
push dword [ebp + 0x10]
push edi
push 1
push ebx
call fcn.004b16e8
add esp, 0x10
cmp eax, edi
je 0x49c867
push ebx
call dword [0x66f990]
mov eax, dword [ebp + 8]
pop ecx
mov dword [eax], 2
mov dword [eax + 8], esi
mov dword [eax + 4], esi
jmp 0x49c8b8
push edi
push ebx
push dword [ebp + 0x18]
call fcn.0049c0bd
mov edx, eax
add esp, 0xc
cmp edx, 2
je 0x49c889
push 2
push edx
call fcn.0049c92c
pop ecx
pop ecx
test al, al
je 0x49c897
shr edi, 1
xor ecx, ecx
lea eax, [edi + edi]
mov word [eax + ebx], cx
lea edi, [eax + 2]
push dword [ebp + 0x1c]
push 1
push 1
push edx
push dword [ebp + 0x14]
push edi
push ebx
push dword [ebp + 0xc]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0049c661
mov eax, dword [ebp + 8]
add esp, 0x28
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4bd7c4
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004bd643

Function at 0x4bfe3e
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004bfafe

Function at 0x4d0354
Capabilities:
Hash data using murmur3

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
shr eax, 0x10
xor eax, dword [ebp + 8]
imul ecx, eax, 0x85ebca6b
mov eax, ecx
shr eax, 0xd
xor eax, ecx
imul ecx, eax, 0xc2b2ae35
mov eax, ecx
shr eax, 0x10
xor eax, ecx
pop ebp
ret

Function at 0x4d037c
Capabilities:
Encode data using xor
Hash data using murmur3

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push esi
shr edx, 2
xor esi, esi
test edx, edx
je 0x4d03b7
push edi
mov edi, dword [ebp + 8]
imul eax, dword [edi + esi*4], 0xcc9e2d51
rol eax, 0xf
imul eax, eax, 0x1b873593
xor eax, ecx
rol eax, 0xd
imul ecx, eax, 5
sub ecx, 0x19ab949c
inc esi
cmp esi, edx
jb 0x4d0393
pop edi
xor ecx, dword [ebp + 0xc]
push ecx
call fcn.004d0354
pop ecx
pop esi
pop ebp
ret
Function at 0x4e9889
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0x10]
test ebx, ebx
jle 0x4e98fd
cmp dword [ebp + 0x14], 0
je 0x4e98ab
push dword [ebp + 0x14]
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004e9981
jmp 0x4e98fd
mov eax, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
sub eax, edi
mov dword [ebp + 0x14], eax
movzx esi, byte [eax + edi + 3]
mov ecx, dword [edi]
inc esi
mov edx, ecx
mov eax, ecx
and edx, 0xff00ff
shr eax, 8
imul edx, esi
and eax, 0xffff00ff
imul eax, esi
shr ecx, 8
shr edx, 8
xor edx, eax
mov eax, 0xff00ff
and ecx, eax
and edx, eax
mov eax, dword [ebp + 0x14]
imul ecx, esi
xor edx, ecx
mov dword [edi], edx
lea edi, [edi + 4]
sub ebx, 1
jne 0x4e98b8
pop edi
pop esi
pop ebx
pop ebp
ret 0x10

Function at 0x4e9902
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 0x10]
test edi, edi
jle 0x4e997c
cmp dword [ebp + 0x14], 0
je 0x4e9924
push dword [ebp + 0x14]
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004e9981
jmp 0x4e997c
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
sub eax, ebx
push esi
mov dword [ebp + 0x14], eax
movzx eax, byte [eax + ebx + 3]
mov esi, 0x100
mov ecx, dword [ebx]
sub esi, eax
mov edx, ecx
mov eax, ecx
and edx, 0xff00ff
shr eax, 8
imul edx, esi
and eax, 0xffff00ff
imul eax, esi
shr ecx, 8
shr edx, 8
xor edx, eax
mov eax, 0xff00ff
and ecx, eax
and edx, eax
mov eax, dword [ebp + 0x14]
imul ecx, esi
xor edx, ecx
mov dword [ebx], edx
lea ebx, [ebx + 4]
sub edi, 1
jne 0x4e9931
pop esi
pop ebx
pop edi
pop ebp
ret 0x10

Function at 0x4ebb94
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x808
mov eax, dword [0x66f3a4]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 8]
call fcn.004ebc19
push 1
call fcn.004b6fc3
push eax
call fcn.004bcc3a
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x808]
push 0x800
push eax
call fcn.004ebc37
add esp, 0x20
lea eax, [ebp - 0x808]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00422909
mov esp, ebp
pop ebp
ret
Function at 0x502fcb
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
push 0x14
push esi
lea eax, [edi + 4]
push eax
call fcn.004a1a70
add esp, 0xc
xor edx, edx
push 5
pop ecx
add edx, dword [esi]
lea esi, [esi + 4]
imul edx, edx, 0x401
mov eax, edx
shr eax, 6
xor edx, eax
sub ecx, 1
jne 0x502fe9
imul ecx, edx, 9
mov eax, ecx
shr eax, 0xb
xor eax, ecx
imul eax, eax, 0x8001
mov dword [edi], eax
pop edi
pop esi
pop ebp
ret 4

Function at 0x5050e3
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 4]
mov ecx, dword [edi + 0x84]
mov dword [ebp - 8], ecx
mov ecx, dword [edi + 0x8c]
mov ebx, dword [eax + 0x5c]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], ebx
call fcn.004dfdb3
mov esi, dword [ebp + 8]
xor esi, dword [ebp + 0xc]
and esi, 1
mov dword [ebp - 4], eax
shl esi, 8
cmp byte [edi + 0x88], 2
je 0x505201
movd xmm0, dword [ebp + 0xc]
lea eax, [ebp - 0x18]
cvtdq2ps xmm0, xmm0
push eax
push ecx
push ecx
lea ebx, [edi + 0x5c]
addss xmm0, dword [0x5f7bcc]
movss dword [esp + 4], xmm0
movd xmm0, dword [ebp + 8]
cvtdq2ps xmm0, xmm0
addss xmm0, dword [0x5f7bcc]
movss dword [esp], xmm0
push ebx
call dword [ebp - 8]
movss xmm0, dword [ebp - 0x18]
add esp, 0x10
cmp byte [edi + 0x88], 1
movss xmm1, dword [0x6195a4]
mulss xmm0, xmm1
cvttss2si eax, xmm0
mov dword [ebp - 8], eax
jne 0x5051a6
movd xmm0, dword [ebp + 0xc]
lea eax, [ebp + 8]
push 0
cvtdq2ps xmm0, xmm0
push eax
push ecx
mov ecx, ebx
movss dword [esp], xmm0
call fcn.004cd951
mov edi, dword [ebp + 8]
jmp 0x5051b2
movss xmm0, dword [ebx]
mulss xmm0, xmm1
cvttss2si edi, xmm0
mov eax, edi
mov ecx, 0x505497
cdq
xor eax, edx
sub eax, edx
cmp eax, 0x10
jge 0x5051ca
mov ecx, 0x5054d3
jmp 0x5051e6
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x58], 0
jne 0x5051da
mov ecx, 0x5052a0
jmp 0x5051e6
cmp dword [eax + 0x58], 2
mov edx, 0x505456
cmove ecx, edx
push dword [ebp + 0x14]
push esi
push dword [ebp - 4]
push dword [ebp + 0x10]
push dword [ebp - 8]
push edi
push dword [ebp - 0x10]
call ecx
add esp, 0x1c
jmp 0x505297
movd xmm0, dword [ebp + 8]
lea ecx, [edi + 0x5c]
movd xmm1, dword [ebp + 0xc]
mov eax, dword [ebp + 0x14]
mov edi, dword [ebp - 4]
cvtdq2ps xmm0, xmm0
mov dword [ebp + 0x14], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xc], ecx
mov dword [ebp + 0xc], eax
cvtdq2ps xmm1, xmm1
movss dword [ebp + 8], xmm0
movss dword [ebp - 0x10], xmm1
lea eax, [ebp - 0x18]
push eax
push ecx
push ecx
movss dword [esp + 4], xmm1
movss dword [esp], xmm0
push ecx
call dword [ebp - 8]
movss xmm0, dword [ebp - 0x18]
mulss xmm0, dword [0x6195a4]
cvttss2si eax, xmm0
push eax
call ebx
mov ecx, dword [ebp + 0xc]
add esp, 0x14
movss xmm0, dword [ebp + 8]
addss xmm0, dword [0x5f7bd0]
movss xmm1, dword [ebp - 0x10]
shr eax, 8
add eax, esi
xor esi, 0x100
movss dword [ebp + 8], xmm0
mov ax, word [edi + eax*2]
mov word [ecx], ax
add ecx, 2
sub dword [ebp + 0x14], 1
mov dword [ebp + 0xc], ecx
mov ecx, dword [ebp - 0xc]
jne 0x505230
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x50550c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 4]
mov ecx, dword [edi + 0x84]
mov dword [ebp - 8], ecx
mov ecx, dword [edi + 0x8c]
mov ebx, dword [eax + 0x5c]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], ebx
call fcn.004dfdd1
mov esi, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
and esi, 1
add esi, esi
mov dword [ebp - 4], eax
and ecx, 1
or esi, ecx
shl esi, 8
cmp byte [edi + 0x88], 2
je 0x50562a
movd xmm0, dword [ebp + 0xc]
lea eax, [ebp - 0x18]
cvtdq2ps xmm0, xmm0
push eax
push ecx
push ecx
lea ebx, [edi + 0x5c]
addss xmm0, dword [0x5f7bcc]
movss dword [esp + 4], xmm0
movd xmm0, dword [ebp + 8]
cvtdq2ps xmm0, xmm0
addss xmm0, dword [0x5f7bcc]
movss dword [esp], xmm0
push ebx
call dword [ebp - 8]
movss xmm0, dword [ebp - 0x18]
add esp, 0x10
cmp byte [edi + 0x88], 1
movss xmm1, dword [0x6195a4]
mulss xmm0, xmm1
cvttss2si eax, xmm0
mov dword [ebp - 8], eax
jne 0x5055d6
movd xmm0, dword [ebp + 0xc]
lea eax, [ebp + 8]
push 0
cvtdq2ps xmm0, xmm0
push eax
push ecx
mov ecx, ebx
movss dword [esp], xmm0
call fcn.004cd951
mov ecx, dword [ebp + 8]
jmp 0x5055e2
movss xmm0, dword [ebx]
mulss xmm0, xmm1
cvttss2si ecx, xmm0
mov eax, 0x50589f
test ecx, ecx
jne 0x5055f2
mov eax, 0x5058d9
jmp 0x50560e
mov edx, dword [ebp - 0xc]
cmp dword [edx + 0x58], 0
jne 0x505602
mov eax, 0x5056c7
jmp 0x50560e
cmp dword [edx + 0x58], 2
mov edi, 0x505863
cmove eax, edi
push dword [ebp + 0x14]
mov edi, dword [ebp - 4]
push esi
push edi
push dword [ebp + 0x10]
push dword [ebp - 8]
push ecx
push dword [ebp - 0x10]
call eax
add esp, 0x1c
jmp 0x5056be
movd xmm0, dword [ebp + 8]
lea ecx, [edi + 0x5c]
movd xmm1, dword [ebp + 0xc]
mov eax, dword [ebp + 0x14]
mov edi, dword [ebp - 4]
cvtdq2ps xmm0, xmm0
mov dword [ebp + 0x14], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xc], ecx
mov dword [ebp + 0xc], eax
cvtdq2ps xmm1, xmm1
movss dword [ebp + 8], xmm0
movss dword [ebp - 0x10], xmm1
lea eax, [ebp - 0x18]
push eax
push ecx
push ecx
movss dword [esp + 4], xmm1
movss dword [esp], xmm0
push ecx
call dword [ebp - 8]
movss xmm0, dword [ebp - 0x18]
mulss xmm0, dword [0x6195a4]
cvttss2si eax, xmm0
push eax
call ebx
mov ecx, dword [ebp + 0xc]
add esp, 0x14
movss xmm0, dword [ebp + 8]
addss xmm0, dword [0x5f7bd0]
movss xmm1, dword [ebp - 0x10]
shr eax, 8
add eax, esi
xor esi, 0x100
movss dword [ebp + 8], xmm0
mov eax, dword [edi + eax*4]
mov dword [ecx], eax
add ecx, 4
sub dword [ebp + 0x14], 1
mov dword [ebp + 0xc], ecx
mov ecx, dword [ebp - 0xc]
jne 0x505659
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x506137
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
mov edi, ecx
mov ebx, dword [edi + 4]
mov eax, dword [edi + 0x84]
mov ecx, dword [edi + 0x8c]
mov dword [ebp - 8], eax
mov eax, dword [ebx + 0x5c]
mov dword [ebp - 0xc], eax
call fcn.004dfdb3
mov esi, dword [ebp + 8]
xor esi, dword [ebp + 0xc]
and esi, 1
mov dword [ebp - 4], eax
shl esi, 8
lea eax, [edi + 0x5c]
cmp byte [edi + 0x88], 2
je 0x50625d
movd xmm0, dword [ebp + 0xc]
lea ecx, [ebp - 0x20]
cvtdq2ps xmm0, xmm0
push ecx
push ecx
push ecx
addss xmm0, dword [0x5f7bcc]
movss dword [esp + 4], xmm0
movd xmm0, dword [ebp + 8]
cvtdq2ps xmm0, xmm0
addss xmm0, dword [0x5f7bcc]
movss dword [esp], xmm0
push eax
call dword [ebp - 8]
movss xmm2, dword [edi + 0x68]
lea ecx, [edi + 0x5c]
movss xmm1, dword [ecx]
add esp, 0x10
cmp byte [edi + 0x88], 1
jne 0x506206
movd xmm0, dword [ebp + 0xc]
lea eax, [ebp - 0x14]
push eax
cvtdq2ps xmm0, xmm0
lea eax, [ebp - 0x18]
push eax
push ecx
movss dword [esp], xmm0
call fcn.004cd951
movd xmm1, dword [ebp - 0x18]
movd xmm2, dword [ebp - 0x14]
cvtdq2ps xmm1, xmm1
cvtdq2ps xmm2, xmm2
mulss xmm1, dword [0x619aac]
mulss xmm2, dword [0x619aac]
cmp dword [ebx + 0x58], 0
mov eax, 0x5064db
jne 0x506218
mov eax, 0x506313
jmp 0x506224
cmp dword [ebx + 0x58], 2
mov ecx, 0x506444
cmove eax, ecx
push dword [ebp + 0x14]
mov edi, dword [ebp - 4]
movss xmm0, dword [ebp - 0x1c]
push esi
push edi
push dword [ebp + 0x10]
sub esp, 0x10
movss dword [esp + 0xc], xmm2
movss dword [esp + 8], xmm0
movss xmm0, dword [ebp - 0x20]
movss dword [esp + 4], xmm1
movss dword [esp], xmm0
call eax
add esp, 0x20
jmp 0x50630a
movd xmm0, dword [ebp + 8]
movd xmm1, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x14]
mov edi, dword [ebp - 4]
cvtdq2ps xmm0, xmm0
mov dword [ebp - 0x14], eax
cvtdq2ps xmm1, xmm1
movss dword [ebp + 8], xmm0
movss dword [ebp - 0x10], xmm1
lea ecx, [ebp - 0x20]
push ecx
push ecx
push ecx
movss dword [esp + 4], xmm1
movss dword [esp], xmm0
push eax
call dword [ebp - 8]
movss xmm0, dword [ebp - 0x1c]
pop ecx
pop ecx
movss dword [esp + 4], xmm0
movss xmm0, dword [ebp - 0x20]
movss dword [esp], xmm0
call fcn.004caa95
fstp dword [ebp + 0xc]
movss xmm0, dword [ebp + 0xc]
mulss xmm0, dword [0x6195a4]
cvttss2si eax, xmm0
push eax
call dword [ebp - 0xc]
mov ecx, dword [ebp + 0x10]
add esp, 0xc
movss xmm0, dword [ebp + 8]
addss xmm0, dword [0x5f7bd0]
movss xmm1, dword [ebp - 0x10]
shr eax, 8
add eax, esi
xor esi, 0x100
movss dword [ebp + 8], xmm0
mov ax, word [edi + eax*2]
mov word [ecx], ax
add ecx, 2
mov eax, dword [ebp - 0x14]
mov dword [ebp + 0x10], ecx
sub ebx, 1
jne 0x506280
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x5096c1
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
mov ebx, ecx
push esi
push edi
mov eax, dword [ebx + 0x84]
mov ecx, dword [ebx + 0x8c]
mov dword [ebp - 8], eax
lea eax, [ebx + 0x5c]
mov dword [ebp - 4], eax
call fcn.004dfdb3
mov edi, dword [ebp + 8]
mov esi, edi
xor esi, dword [ebp + 0xc]
and esi, 1
mov dword [ebp - 0x10], eax
shl esi, 8
cmp byte [ebx + 0x88], 2
je 0x509829
movd xmm0, dword [ebp + 0xc]
lea eax, [ebp - 0x18]
cvtdq2ps xmm0, xmm0
push eax
push ecx
push ecx
addss xmm0, dword [0x5f7bcc]
movss dword [esp + 4], xmm0
movss dword [ebp - 4], xmm0
movd xmm0, edi
lea edi, [ebx + 0x5c]
cvtdq2ps xmm0, xmm0
addss xmm0, dword [0x5f7bcc]
movss dword [esp], xmm0
push edi
call dword [ebp - 8]
movss xmm1, dword [ebp - 0x18]
add esp, 0x10
cmp byte [ebx + 0x88], 1
movss xmm2, dword [ebp - 0x14]
movss dword [ebp + 0xc], xmm1
movss dword [ebp + 8], xmm2
jne 0x5097b0
movss xmm0, dword [ebp - 4]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push ecx
mov ecx, edi
movss dword [esp], xmm0
call fcn.004cd951
movd xmm1, dword [ebp - 0xc]
cvtdq2ps xmm1, xmm1
movss xmm2, dword [ebp + 8]
mulss xmm1, dword [0x619aac]
movss dword [ebp - 4], xmm1
movd xmm1, dword [ebp - 8]
cvtdq2ps xmm1, xmm1
mulss xmm1, dword [0x619aac]
movss dword [ebp - 8], xmm1
movss xmm1, dword [ebp + 0xc]
jmp 0x5097c3
movss xmm0, dword [edi]
movss dword [ebp - 4], xmm0
movss xmm0, dword [edi + 0xc]
movss dword [ebp - 8], xmm0
mov edi, dword [ebp + 0x14]
test edi, edi
jle 0x5098bf
mov ebx, dword [ebp + 0x10]
push ecx
push ecx
movss dword [esp + 4], xmm1
movss dword [esp], xmm2
call fcn.00509305
movss xmm1, dword [ebp + 0xc]
add eax, esi
movss xmm0, dword [ebp - 4]
xor esi, 0x100
movss xmm2, dword [ebp + 8]
addss xmm0, xmm1
addss xmm2, dword [ebp - 8]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x10]
movaps xmm1, xmm0
movss dword [ebp + 0xc], xmm0
movss dword [ebp + 8], xmm2
mov ax, word [ecx + eax*2]
mov word [ebx], ax
add ebx, 2
dec edi
test edi, edi
jg 0x5097d1
jmp 0x5098bf
mov eax, dword [ebp + 0x14]
add eax, edi
mov dword [ebp + 0x14], eax
cmp edi, eax
jge 0x5098bf
movd xmm0, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov ebx, dword [ebp - 4]
cvtdq2ps xmm0, xmm0
mov dword [ebp + 0xc], eax
addss xmm0, dword [0x5f7bcc]
movss dword [ebp + 8], xmm0
lea eax, [ebp - 0x18]
push eax
push ecx
push ecx
movss dword [esp + 4], xmm0
movd xmm0, edi
cvtdq2ps xmm0, xmm0
addss xmm0, dword [0x5f7bcc]
movss dword [esp], xmm0
push ebx
call dword [ebp - 8]
movss xmm0, dword [ebp - 0x18]
pop ecx
pop ecx
movss dword [esp + 4], xmm0
movss xmm0, dword [ebp - 0x14]
movss dword [esp], xmm0
call fcn.00509305
movss xmm0, dword [ebp + 8]
add eax, esi
pop ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor esi, 0x100
mov ax, word [ecx + eax*2]
mov ecx, dword [ebp + 0xc]
mov word [ecx], ax
add ecx, 2
inc edi
mov dword [ebp + 0xc], ecx
cmp edi, dword [ebp + 0x14]
jl 0x509857
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x5098c8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, ecx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x84]
lea ebx, [eax + 0x5c]
mov dword [ebp - 8], ecx
mov ecx, dword [eax + 0x8c]
mov dword [ebp - 4], eax
call fcn.004dfdd1
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
and esi, 1
add esi, esi
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov ecx, edi
and ecx, 1
or esi, ecx
shl esi, 8
cmp byte [eax + 0x88], 2
je 0x509a38
movd xmm0, dword [ebp + 0xc]
lea eax, [ebp - 0x1c]
cvtdq2ps xmm0, xmm0
push eax
push ecx
push ecx
addss xmm0, dword [0x5f7bcc]
movss dword [esp + 4], xmm0
movss dword [ebp - 0x14], xmm0
movd xmm0, edi
cvtdq2ps xmm0, xmm0
addss xmm0, dword [0x5f7bcc]
movss dword [esp], xmm0
push ebx
call dword [ebp - 8]
mov eax, dword [ebp - 4]
add esp, 0x10
movss xmm1, dword [ebp - 0x1c]
movss xmm2, dword [ebp - 0x18]
movss dword [ebp + 0xc], xmm1
cmp byte [eax + 0x88], 1
movss dword [ebp + 8], xmm2
jne 0x5099c1
movss xmm0, dword [ebp - 0x14]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push ecx
mov ecx, ebx
movss dword [esp], xmm0
call fcn.004cd951
movd xmm1, dword [ebp - 0xc]
cvtdq2ps xmm1, xmm1
movss xmm2, dword [ebp + 8]
mulss xmm1, dword [0x619aac]
movss dword [ebp - 4], xmm1
movd xmm1, dword [ebp - 8]
cvtdq2ps xmm1, xmm1
mulss xmm1, dword [0x619aac]
movss dword [ebp - 8], xmm1
movss xmm1, dword [ebp + 0xc]
jmp 0x5099d4
movss xmm0, dword [ebx]
movss dword [ebp - 4], xmm0
movss xmm0, dword [ebx + 0xc]
movss dword [ebp - 8], xmm0
mov edi, dword [ebp + 0x14]
test edi, edi
jle 0x509ac9
mov ebx, dword [ebp + 0x10]
push ecx
push ecx
movss dword [esp + 4], xmm1
movss dword [esp], xmm2
call fcn.00509305
movss xmm1, dword [ebp + 0xc]
add eax, esi
movss xmm0, dword [ebp - 4]
xor esi, 0x100
movss xmm2, dword [ebp + 8]
addss xmm0, xmm1
addss xmm2, dword [ebp - 8]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x10]
movaps xmm1, xmm0
movss dword [ebp + 0xc], xmm0
movss dword [ebp + 8], xmm2
mov eax, dword [ecx + eax*4]
mov dword [ebx], eax
add ebx, 4
dec edi
test edi, edi
jg 0x5099e2
jmp 0x509ac9
mov eax, dword [ebp + 0x14]
add eax, edi
mov dword [ebp + 0x14], eax
cmp edi, eax
jge 0x509ac9
movd xmm0, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
cvtdq2ps xmm0, xmm0
mov dword [ebp + 0xc], eax
addss xmm0, dword [0x5f7bcc]
movss dword [ebp + 8], xmm0
lea eax, [ebp - 0x1c]
push eax
push ecx
push ecx
movss dword [esp + 4], xmm0
movd xmm0, edi
cvtdq2ps xmm0, xmm0
addss xmm0, dword [0x5f7bcc]
movss dword [esp], xmm0
push ebx
call dword [ebp - 8]
movss xmm0, dword [ebp - 0x1c]
pop ecx
pop ecx
movss dword [esp + 4], xmm0
movss xmm0, dword [ebp - 0x18]
movss dword [esp], xmm0
call fcn.00509305
movss xmm0, dword [ebp + 8]
add eax, esi
pop ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor esi, 0x100
mov eax, dword [ecx + eax*4]
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
add ecx, 4
inc edi
mov dword [ebp + 0xc], ecx
cmp edi, dword [ebp + 0x14]
jl 0x509a63
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x5138c3
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
push dword [ebp + 0x10]
jne 0x5138fc
call fcn.004b21a1
pop ecx
cmp eax, 0xffffffff
jne 0x5138de
xor eax, eax
pop ebp
ret
push esi
mov esi, dword [ebp + 0xc]
push 1
push esi
push dword [ebp + 0x10]
call fcn.004b1ba8
add esp, 0xc
xor ecx, ecx
test eax, eax
cmovne esi, ecx
mov eax, esi
pop esi
pop ebp
ret
push dword [ebp + 0xc]
push 1
push dword [ebp + 8]
call fcn.004b16e8
add esp, 0x10
pop ebp
ret

Function at 0x51396f
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push dword [ebp + 8]
call fcn.004c02bf
mov esi, eax
pop ecx
cmp esi, 0xffffffff
jne 0x513989
xor eax, eax
jmp 0x5139e9
lea eax, [ebp - 8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x513985
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.0051394d
pop ecx
pop ecx
test al, al
jne 0x513985
push ebx
push edi
xor ebx, ebx
push ebx
push ebx
push ebx
push 2
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov esi, eax
test esi, esi
je 0x5139dc
push ebx
push ebx
push ebx
push 4
push esi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edi, eax
test edi, edi
je 0x5139dc
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp - 8]
mov dword [ecx], eax
jmp 0x5139de
mov edi, ebx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret