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

Disassembly:
push 4
mov eax, 0x701110
call fcn.00458b48
mov ebx, ecx
mov edi, dword [ebp + 8]
push edi
call fcn.004c4412
test eax, eax
je 0x4c4579
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.004c3fcd
xor eax, eax
inc eax
jmp 0x4c467b
push dword [ebx + 4]
call fcn.00496829
mov esi, eax
mov dword [ebp - 0x10], esi
pop ecx
test esi, esi
je 0x4c4625
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x64]
test eax, eax
je 0x4c4625
cmp edi, 0x25
je 0x4c45b2
cmp edi, 0x27
je 0x4c45c0
cmp edi, 0x26
je 0x4c45b2
cmp edi, 0x28
jne 0x4c4625
cmp edi, 0x27
je 0x4c45c0
cmp edi, 0x28
je 0x4c45c0
push 2
jmp 0x4c45c2
push 3
pop edi
jmp 0x4c45d0
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x64]
test eax, eax
jne 0x4c460f
push edi
mov ecx, esi
call fcn.00484691
mov esi, eax
test esi, esi
jne 0x4c45c5
mov ecx, dword [ebp - 0x10]
cmp edi, 3
setne al
push eax
call fcn.00484382
mov ecx, eax
jmp 0x4c45ff
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x64]
test eax, eax
jne 0x4c460f
push edi
mov ecx, esi
call fcn.00484691
mov esi, eax
test esi, esi
jne 0x4c45f1
jmp 0x4c4571
push 1
mov ecx, esi
call fcn.004dea6a
push eax
mov ecx, ebx
call fcn.004c4913
jmp 0x4c4571
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.004c36a4
and dword [ebp - 4], 0
lea eax, [ebp + 8]
push eax
mov ecx, ebx
call fcn.004c46cf
xor ebx, ebx
lea ecx, [ebp + 8]
test al, al
setne bl
call fcn.00520bd0
mov eax, ebx
call fcn.00458b22
ret 4

Function at 0x4cbf59
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push dword [esi + 0x244]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x4cbfc1
mov ecx, esi
call fcn.004cbfc6
push 0
push dword [esi + 0x244]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0x3a8]
test ecx, ecx
je 0x4cbf9c
push 0
call fcn.00486c8e
and dword [esi + 0x3a8], 0
mov ecx, dword [0x7e4d24]
lea ecx, [ecx + 8]
call fcn.00495650
mov ecx, dword [esi + 0x3a0]
test ecx, ecx
je 0x4cbfc1
pop esi
mov ecx, dword [ecx + 0x170]
pop ebp
jmp fcn.004cca7e
pop esi
pop ebp
ret 4
Function at 0x4cf686
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0x10]
push edi
xor edi, edi
test ebx, ebx
jne 0x4cf6a9
mov eax, dword [ebp + 8]
mov dword [eax + 8], edi
mov dword [eax], 1
mov dword [eax + 4], edi
jmp 0x4cf746
push esi
lea eax, [ebp + 0x10]
mov dword [ebp + 0x10], edi
push eax
push ebx
call fcn.004cf29c
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x4cf6cc
push ebx
call fcn.004fa50c
mov eax, dword [ebp + 8]
mov dword [eax], esi
jmp 0x4cf722
mov esi, dword [ebp + 0x10]
xor eax, eax
inc eax
test esi, esi
cmovne eax, esi
push eax
call dword [0x7ca988]
mov dword [ebp - 4], eax
pop ecx
push ebx
test eax, eax
jne 0x4cf6f7
call fcn.004fa50c
mov eax, dword [ebp + 8]
mov dword [eax], 3
jmp 0x4cf722
push esi
push 1
push eax
call fcn.004fa758
push ebx
mov esi, eax
call fcn.004fa50c
add esp, 0x14
cmp esi, dword [ebp + 0x10]
je 0x4cf72b
push dword [ebp - 4]
call dword [0x7ca98c]
mov eax, dword [ebp + 8]
mov dword [eax], 2
pop ecx
mov dword [eax + 8], edi
mov dword [eax + 4], edi
jmp 0x4cf745
push dword [ebp + 0x18]
mov ecx, dword [ebp + 0xc]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp - 4]
push dword [ebp + 8]
call fcn.004cf631
mov eax, dword [ebp + 8]
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4d3ee5
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret

Function at 0x4ebd20
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
mov eax, dword [esi]
cmp eax, 0xfffffffe
je 0x4ebd3f
mov ecx, dword [esi + 4]
add ecx, edi
xor ecx, dword [eax + edi]
call fcn.004584a2
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0xc]
add ecx, edi
xor ecx, dword [eax + edi]
pop edi
pop esi
pop ebp
jmp fcn.004584a2

Function at 0x506caf
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00506b2e

Function at 0x5091dd
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00508e9d

Function at 0x516536
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 0x51655e
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 0x516599
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 0x516575
pop edi
xor ecx, dword [ebp + 0xc]
push ecx
call fcn.00516536
pop ecx
pop esi
pop ebp
ret
Function at 0x52eee3
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0x10]
test ebx, ebx
jle 0x52ef57
cmp dword [ebp + 0x14], 0
je 0x52ef05
push dword [ebp + 0x14]
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0052efdb
jmp 0x52ef57
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 0x52ef12
pop edi
pop esi
pop ebx
pop ebp
ret 0x10

Function at 0x52ef5c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 0x10]
test edi, edi
jle 0x52efd6
cmp dword [ebp + 0x14], 0
je 0x52ef7e
push dword [ebp + 0x14]
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0052efdb
jmp 0x52efd6
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 0x52ef8b
pop esi
pop ebx
pop edi
pop ebp
ret 0x10

Function at 0x531241
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x808
mov eax, dword [0x7ca418]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 8]
call fcn.005312a3
push 1
call fcn.004f24b9
push eax
call fcn.005018bb
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x808]
push 0x800
push eax
call fcn.005312c1
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.004584a2
mov esp, ebp
pop ebp
ret
Function at 0x54c247
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.004e9970
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 0x54c265
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 0x54e24d
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.00526079
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 0x54e36b
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 [0x710b70]
movss dword [esp + 4], xmm0
movd xmm0, dword [ebp + 8]
cvtdq2ps xmm0, xmm0
addss xmm0, dword [0x710b70]
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 [0x730b04]
mulss xmm0, xmm1
cvttss2si eax, xmm0
mov dword [ebp - 8], eax
jne 0x54e310
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.005329d3
mov edi, dword [ebp + 8]
jmp 0x54e31c
movss xmm0, dword [ebx]
mulss xmm0, xmm1
cvttss2si edi, xmm0
mov eax, edi
mov ecx, 0x54e601
cdq
xor eax, edx
sub eax, edx
cmp eax, 0x10
jge 0x54e334
mov ecx, 0x54e63d
jmp 0x54e350
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x58], 0
jne 0x54e344
mov ecx, 0x54e40a
jmp 0x54e350
cmp dword [eax + 0x58], 2
mov edx, 0x54e5c0
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 0x54e401
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 [0x730b04]
cvttss2si eax, xmm0
push eax
call ebx
mov ecx, dword [ebp + 0xc]
add esp, 0x14
movss xmm0, dword [ebp + 8]
addss xmm0, dword [0x710b98]
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 0x54e39a
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x54e676
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.00526097
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 0x54e794
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 [0x710b70]
movss dword [esp + 4], xmm0
movd xmm0, dword [ebp + 8]
cvtdq2ps xmm0, xmm0
addss xmm0, dword [0x710b70]
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 [0x730b04]
mulss xmm0, xmm1
cvttss2si eax, xmm0
mov dword [ebp - 8], eax
jne 0x54e740
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.005329d3
mov ecx, dword [ebp + 8]
jmp 0x54e74c
movss xmm0, dword [ebx]
mulss xmm0, xmm1
cvttss2si ecx, xmm0
mov eax, 0x54ea09
test ecx, ecx
jne 0x54e75c
mov eax, 0x54ea43
jmp 0x54e778
mov edx, dword [ebp - 0xc]
cmp dword [edx + 0x58], 0
jne 0x54e76c
mov eax, 0x54e831
jmp 0x54e778
cmp dword [edx + 0x58], 2
mov edi, 0x54e9cd
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 0x54e828
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 [0x730b04]
cvttss2si eax, xmm0
push eax
call ebx
mov ecx, dword [ebp + 0xc]
add esp, 0x14
movss xmm0, dword [ebp + 8]
addss xmm0, dword [0x710b98]
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 0x54e7c3
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x54f262
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.00526079
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 0x54f388
movd xmm0, dword [ebp + 0xc]
lea ecx, [ebp - 0x20]
cvtdq2ps xmm0, xmm0
push ecx
push ecx
push ecx
addss xmm0, dword [0x710b70]
movss dword [esp + 4], xmm0
movd xmm0, dword [ebp + 8]
cvtdq2ps xmm0, xmm0
addss xmm0, dword [0x710b70]
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 0x54f331
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.005329d3
movd xmm1, dword [ebp - 0x18]
movd xmm2, dword [ebp - 0x14]
cvtdq2ps xmm1, xmm1
cvtdq2ps xmm2, xmm2
mulss xmm1, dword [0x730ac4]
mulss xmm2, dword [0x730ac4]
cmp dword [ebx + 0x58], 0
mov eax, 0x54f606
jne 0x54f343
mov eax, 0x54f43e
jmp 0x54f34f
cmp dword [ebx + 0x58], 2
mov ecx, 0x54f56f
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 0x54f435
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.0053ea1d
fstp dword [ebp + 0xc]
movss xmm0, dword [ebp + 0xc]
mulss xmm0, dword [0x730b04]
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 [0x710b98]
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 0x54f3ab
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x552848
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.00526079
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 0x5529b0
movd xmm0, dword [ebp + 0xc]
lea eax, [ebp - 0x18]
cvtdq2ps xmm0, xmm0
push eax
push ecx
push ecx
addss xmm0, dword [0x710b70]
movss dword [esp + 4], xmm0
movss dword [ebp - 4], xmm0
movd xmm0, edi
lea edi, [ebx + 0x5c]
cvtdq2ps xmm0, xmm0
addss xmm0, dword [0x710b70]
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 0x552937
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.005329d3
movd xmm1, dword [ebp - 0xc]
cvtdq2ps xmm1, xmm1
movss xmm2, dword [ebp + 8]
mulss xmm1, dword [0x730ac4]
movss dword [ebp - 4], xmm1
movd xmm1, dword [ebp - 8]
cvtdq2ps xmm1, xmm1
mulss xmm1, dword [0x730ac4]
movss dword [ebp - 8], xmm1
movss xmm1, dword [ebp + 0xc]
jmp 0x55294a
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 0x552a46
mov ebx, dword [ebp + 0x10]
push ecx
push ecx
movss dword [esp + 4], xmm1
movss dword [esp], xmm2
call fcn.00552474
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 0x552958
jmp 0x552a46
mov eax, dword [ebp + 0x14]
add eax, edi
mov dword [ebp + 0x14], eax
cmp edi, eax
jge 0x552a46
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 [0x710b70]
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 [0x710b70]
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.00552474
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 0x5529de
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x552a4f
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.00526097
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 0x552bbf
movd xmm0, dword [ebp + 0xc]
lea eax, [ebp - 0x1c]
cvtdq2ps xmm0, xmm0
push eax
push ecx
push ecx
addss xmm0, dword [0x710b70]
movss dword [esp + 4], xmm0
movss dword [ebp - 0x14], xmm0
movd xmm0, edi
cvtdq2ps xmm0, xmm0
addss xmm0, dword [0x710b70]
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 0x552b48
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.005329d3
movd xmm1, dword [ebp - 0xc]
cvtdq2ps xmm1, xmm1
movss xmm2, dword [ebp + 8]
mulss xmm1, dword [0x730ac4]
movss dword [ebp - 4], xmm1
movd xmm1, dword [ebp - 8]
cvtdq2ps xmm1, xmm1
mulss xmm1, dword [0x730ac4]
movss dword [ebp - 8], xmm1
movss xmm1, dword [ebp + 0xc]
jmp 0x552b5b
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 0x552c50
mov ebx, dword [ebp + 0x10]
push ecx
push ecx
movss dword [esp + 4], xmm1
movss dword [esp], xmm2
call fcn.00552474
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 0x552b69
jmp 0x552c50
mov eax, dword [ebp + 0x14]
add eax, edi
mov dword [ebp + 0x14], eax
cmp edi, eax
jge 0x552c50
movd xmm0, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
cvtdq2ps xmm0, xmm0
mov dword [ebp + 0xc], eax
addss xmm0, dword [0x710b70]
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 [0x710b70]
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.00552474
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 0x552bea
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x55a895
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
push dword [ebp + 0x10]
jne 0x55a8ce
call fcn.004fb2bc
pop ecx
cmp eax, 0xffffffff
jne 0x55a8b0
xor eax, eax
pop ebp
ret
push esi
mov esi, dword [ebp + 0xc]
push 1
push esi
push dword [ebp + 0x10]
call fcn.004facc3
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.004fa758
add esp, 0x10
pop ebp
ret

Function at 0x55a941
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.005095ac
mov esi, eax
pop ecx
cmp esi, 0xffffffff
jne 0x55a95b
xor eax, eax
jmp 0x55a9bb
lea eax, [ebp - 8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x55a957
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.0055a91f
pop ecx
pop ecx
test al, al
jne 0x55a957
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 0x55a9ae
push ebx
push ebx
push ebx
push 4
push esi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edi, eax
test edi, edi
je 0x55a9ae
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp - 8]
mov dword [ecx], eax
jmp 0x55a9b0
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