joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4e3500
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x3c]
xor ecx, ecx
mov edx, 0x3c
call fcn.004052b4
mov dword [ebp - 0x3c], 0x3c
call fcn.0042a1e0
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], 0xc
or dword [ebp - 0x38], 0x4000
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], esi
test edi, edi
jns 0x4e354a
call fcn.00405fc0
mov dword [ebp - 0x20], edi
lea eax, [ebp - 0x3c]
push eax
call sub.shell32.dll_ShellExecuteExW
cmp eax, 1
sbb eax, eax
inc eax
and eax, 0x7f
cmp eax, 1
jbe 0x4e3569
call fcn.00405fc0
call fcn.004b4250
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4e3cc8
Capabilities:
Encode data using base64

Disassembly:
push ebx
push esi
push edi
mov edi, edx
test edi, edi
jbe 0x4e3e40
mov ebx, eax
mov eax, edi
mov esi, 3
xor edx, edx
div esi
mov esi, eax
test esi, esi
jns 0x4e3ced
call fcn.00405fc0
test esi, esi
jle 0x4e3d81
movzx eax, byte [ebx]
shl eax, 0x10
movzx edx, byte [ebx + 1]
shl edx, 8
add eax, edx
movzx edx, byte [ebx + 2]
add eax, edx
mov edx, eax
shr edx, 0x12
and edx, 0x3f
cmp edx, 0x3f
jbe 0x4e3d1c
call fcn.00405fc0
movzx edx, byte [edx + 0x5913c0]
mov byte [ecx], dl
mov edx, eax
shr edx, 0xc
and edx, 0x3f
cmp edx, 0x3f
jbe 0x4e3d37
call fcn.00405fc0
movzx edx, byte [edx + 0x5913c0]
mov byte [ecx + 1], dl
mov edx, eax
shr edx, 6
and edx, 0x3f
cmp edx, 0x3f
jbe 0x4e3d53
call fcn.00405fc0
movzx edx, byte [edx + 0x5913c0]
mov byte [ecx + 2], dl
and eax, 0x3f
cmp eax, 0x3f
jbe 0x4e3d6a
call fcn.00405fc0
movzx eax, byte [eax + 0x5913c0]
mov byte [ecx + 3], al
add ecx, 4
add ebx, 3
dec esi
jne 0x4e3cf5
mov eax, edi
mov esi, 3
xor edx, edx
div esi
dec edx
je 0x4e3d97
dec edx
je 0x4e3ddc
jmp 0x4e3e40
movzx eax, byte [ebx]
shl eax, 0x10
mov edx, eax
shr edx, 0x12
and edx, 0x3f
cmp edx, 0x3f
jbe 0x4e3daf
call fcn.00405fc0
movzx edx, byte [edx + 0x5913c0]
mov byte [ecx], dl
shr eax, 0xc
and eax, 0x3f
cmp eax, 0x3f
jbe 0x4e3dc8
call fcn.00405fc0
movzx eax, byte [eax + 0x5913c0]
mov byte [ecx + 1], al
mov byte [ecx + 2], 0x3d
mov byte [ecx + 3], 0x3d
jmp 0x4e3e40
movzx eax, byte [ebx]
shl eax, 0x10
movzx edx, byte [ebx + 1]
shl edx, 8
add eax, edx
mov edx, eax
shr edx, 0x12
and edx, 0x3f
cmp edx, 0x3f
jbe 0x4e3dfd
call fcn.00405fc0
movzx edx, byte [edx + 0x5913c0]
mov byte [ecx], dl
mov edx, eax
shr edx, 0xc
and edx, 0x3f
cmp edx, 0x3f
jbe 0x4e3e18
call fcn.00405fc0
movzx edx, byte [edx + 0x5913c0]
mov byte [ecx + 1], dl
shr eax, 6
and eax, 0x3f
cmp eax, 0x3f
jbe 0x4e3e32
call fcn.00405fc0
movzx eax, byte [eax + 0x5913c0]
mov byte [ecx + 2], al
mov byte [ecx + 3], 0x3d
pop edi
pop esi
pop ebx
ret
Function at 0x4e9b3c
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa0
push ebx
push esi
push edi
mov ebx, ecx
mov esi, edx
mov dword [ebp - 0x58], eax
xor eax, eax
mov dword [ebp - 0x5c], eax
xor eax, eax
mov dword [ebp - 0x60], eax
xor eax, eax
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x40]
xor ecx, ecx
mov edx, 0x40
call fcn.004052b4
lea eax, [ebp - 0x50]
xor ecx, ecx
mov edx, 0x10
call fcn.004052b4
mov dword [ebp - 0x50], 0x67452301
mov dword [ebp - 0x4c], 0xefcdab89
mov dword [ebp - 0x48], 0x98badcfe
mov dword [ebp - 0x44], 0x10325476
mov eax, ebx
shr eax, 0x1d
add dword [ebp - 0x5c], eax
mov eax, ebx
add eax, eax
add eax, eax
add eax, eax
add dword [ebp - 0x60], eax
cmp eax, dword [ebp - 0x60]
jbe 0x4e9bb0
inc dword [ebp - 0x5c]
test ebx, ebx
jbe 0x4e9c2c
mov edi, 0x40
sub edi, dword [ebp - 0x54]
cmp ebx, edi
jb 0x4e9c00
mov eax, dword [ebp - 0x54]
cmp eax, 0x3f
jbe 0x4e9bcd
call fcn.00405fc0
lea edx, [ebp + eax - 0x40]
mov ecx, edi
test ecx, ecx
jns 0x4e9bdc
call fcn.00405fc0
mov eax, esi
call fcn.00404bcc
mov eax, 0x40
sub eax, dword [ebp - 0x54]
sub ebx, eax
mov eax, 0x40
sub eax, dword [ebp - 0x54]
add esi, eax
push ebp
call fcn.004e8e9c
pop ecx
jmp 0x4e9c28
mov eax, dword [ebp - 0x54]
cmp eax, 0x3f
jbe 0x4e9c0d
call fcn.00405fc0
lea edx, [ebp + eax - 0x40]
mov ecx, ebx
test ecx, ecx
jns 0x4e9c1c
call fcn.00405fc0
mov eax, esi
call fcn.00404bcc
add dword [ebp - 0x54], ebx
xor ebx, ebx
test ebx, ebx
ja 0x4e9bb4
mov eax, dword [ebp - 0x54]
cmp eax, 0x3f
jbe 0x4e9c39
call fcn.00405fc0
mov byte [ebp + eax - 0x40], 0x80
cmp dword [ebp - 0x54], 0x38
jb 0x4e9c4b
push ebp
call fcn.004e8e9c
pop ecx
lea eax, [ebp - 8]
mov edx, dword [ebp - 0x60]
mov dword [eax], edx
lea eax, [ebp - 4]
mov edx, dword [ebp - 0x5c]
mov dword [eax], edx
push ebp
call fcn.004e8e9c
pop ecx
mov edx, dword [ebp - 0x58]
lea eax, [ebp - 0x50]
mov ecx, 0x10
call fcn.00404bcc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x514364
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov ebx, eax
test ebx, ebx
je 0x514478
call sub.kernel32.dll_GetCurrentThreadId_1
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [ebx + 8], eax
call fcn.004b1a5c
mov byte [ebp - 9], al
xor eax, eax
call fcn.004b1b2c
xor edx, edx
push ebp
push 0x514471
push dword fs:[edx]
mov dword fs:[edx], esp
xor eax, eax
call fcn.0051228c
mov dword [ebp - 0x10], eax
xor edx, edx
push ebp
push 0x514453
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, ebx
call fcn.00514768
dec eax
test eax, eax
jl 0x514438
inc eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
call fcn.00515a9c
mov eax, dword [eax + 4]
cmp eax, dword [ebp - 8]
je 0x514430
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
call fcn.00515a9c
call fcn.0051562c
cmp al, 1
je 0x514430
xor eax, eax
push ebp
push 0x514426
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
call fcn.00515a9c
mov eax, dword [eax + 0xc]
push eax
call sub.kernel32.dll_TerminateThread
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x514430
inc dword [ebp - 4]
dec dword [ebp - 0x14]
jne 0x5143d1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x51445a
mov eax, dword [ebp - 0x10]
xor edx, edx
mov dword [ebp - 0x10], edx
call fcn.004060e0
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5144d8
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov edi, edx
mov esi, eax
test esi, esi
je 0x5146d0
test edi, edi
je 0x51456f
call fcn.00511160
xor eax, eax
push ebp
push 0x514568
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00514768
mov ebx, eax
dec ebx
cmp ebx, 0
jl 0x514555
mov edx, ebx
mov eax, esi
call fcn.00514778
cmp edi, dword [eax + 4]
jne 0x51454f
lea eax, [ebp - 8]
push eax
mov edx, ebx
mov eax, esi
call fcn.00514778
mov eax, dword [eax + 0xc]
push eax
call sub.kernel32.dll_GetExitCodeThread
test eax, eax
je 0x514544
cmp dword [ebp - 8], 0x103
je 0x51454f
mov edx, ebx
mov eax, esi
call fcn.005142b0
jmp 0x514555
dec ebx
cmp ebx, 0xffffffff
jne 0x514513
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5146d0
call fcn.00511178
ret
call sub.kernel32.dll_GetCurrentThreadId_1
mov dword [ebp - 4], eax
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [esi + 0xc]
cmp eax, edx
jbe 0x51459b
sub eax, edx
cmp eax, 0x3e8
jae 0x51459b
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.005144d8
jmp 0x5146d0
call sub.kernel32.dll_GetTickCount_1
mov dword [esi + 0xc], eax
xor eax, eax
call fcn.0051228c
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x5146c9
push dword fs:[edx]
mov dword fs:[edx], esp
mov byte [ebp - 0xd], 0
mov eax, dword [ebp - 0xc]
call fcn.00515a94
mov edi, eax
dec edi
test edi, edi
jl 0x51463b
inc edi
xor ebx, ebx
mov edx, ebx
mov eax, dword [ebp - 0xc]
call fcn.00515a9c
mov byte [eax + 0x58], 0
mov edx, ebx
mov eax, dword [ebp - 0xc]
call fcn.00515a9c
cmp dword [eax + 0xc], 0
je 0x514637
mov edx, ebx
mov eax, dword [ebp - 0xc]
call fcn.00515a9c
mov eax, dword [eax + 4]
cmp eax, dword [ebp - 4]
je 0x514637
lea eax, [ebp - 8]
push eax
mov edx, ebx
mov eax, dword [ebp - 0xc]
call fcn.00515a9c
mov eax, dword [eax + 0xc]
push eax
call sub.kernel32.dll_GetExitCodeThread
test eax, eax
je 0x514625
cmp dword [ebp - 8], 0x103
je 0x514637
mov edx, ebx
mov eax, dword [ebp - 0xc]
call fcn.00515a9c
mov byte [eax + 0x58], 1
mov byte [ebp - 0xd], 1
inc ebx
dec edi
jne 0x5145d1
cmp byte [ebp - 0xd], 0
jne 0x51464b
call fcn.00407404
jmp 0x5146d0
call fcn.00511160
xor eax, eax
push ebp
push 0x5146a7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00514768
mov ebx, eax
dec ebx
cmp ebx, 0
jl 0x514694
mov edx, ebx
mov eax, esi
call fcn.00514778
mov eax, dword [eax + 4]
mov edx, dword [ebp - 0xc]
call fcn.00514480
test al, al
je 0x51468e
mov edx, ebx
mov eax, esi
call fcn.005142b0
dec ebx
cmp ebx, 0xffffffff
jne 0x51466d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5146ae
call fcn.00511178
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x51e1fc
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 4], edx
mov edi, eax
mov eax, edi
call fcn.0051fdc0
mov esi, ebx
test esi, esi
jne 0x51e23a
push 0x51e368
push 0x51e380
call sub.kernel32.dll_GetModuleHandleW_2
push eax
call fcn.0040d334
test eax, eax
je 0x51e23a
mov edx, dword [ebp - 4]
push edx
call eax
mov esi, eax
lea eax, [ebp - 0x10]
xor ecx, ecx
mov edx, 8
call fcn.004052b4
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SuspendThread
cmp eax, 0xffffffff
je 0x51e35c
xor eax, eax
push ebp
push 0x51e355
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp + 8], 0
je 0x51e274
mov ebx, dword [ebp + 8]
jmp 0x51e283
lea edx, [ebp - 8]
mov eax, 0xcc
call fcn.00413200
mov ebx, eax
xor eax, eax
push ebp
push 0x51e337
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp + 8], 0
jne 0x51e29d
mov dword [ebx], 0x10007
cmp dword [ebp + 8], 0
jne 0x51e2b1
push ebx
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_GetThreadContext
test eax, eax
je 0x51e31b
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebx + 0x90]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_GetThreadSelectorEntry
test eax, eax
je 0x51e31b
cmp dword [ebp + 0x1c], 0
je 0x51e2d7
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x14], eax
jmp 0x51e2e0
mov eax, dword [ebx + 0xb8]
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x10]
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0051e1a0
push eax
push 0xffffffffffffffff
push 0xffffffffffffffff
movzx eax, byte [ebp + 0x18]
push eax
push esi
push 1
movzx eax, byte [ebp + 0x14]
push eax
movzx eax, byte [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push eax
push 0
push ebx
mov ecx, dword [ebx + 0xb4]
mov edx, dword [ebp - 0x14]
mov eax, edi
call fcn.0051e0fc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x51e33e
cmp dword [ebp + 8], 0
jne 0x51e336
mov eax, dword [ebp - 8]
call fcn.0040494c
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18

Function at 0x520108
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff80
push ebx
push esi
push edi
mov byte [ebp - 0x7d], cl
mov edi, edx
mov dword [ebp - 0x7c], eax
lea eax, [ebp - 0x78]
mov edx, dword [0x4eb680]
call fcn.0040923c
xor eax, eax
push ebp
push 0x52018e
push dword fs:[eax]
mov dword fs:[eax], esp
test edi, edi
je 0x520172
mov eax, edi
call fcn.0052047c
mov ebx, eax
dec ebx
test ebx, ebx
jl 0x520172
inc ebx
xor esi, esi
lea ecx, [ebp - 0x78]
mov edx, esi
mov eax, edi
call fcn.00520530
movzx eax, byte [ebp - 0x7d]
xor al, 1
mov byte [ebp - 0x20], al
mov byte [ebp - 0x1f], 0
lea edx, [ebp - 0x78]
mov eax, dword [ebp - 0x7c]
call fcn.005201e8
inc esi
dec ebx
jne 0x52014a
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x520195
lea eax, [ebp - 0x78]
mov edx, dword [0x4eb680]
call fcn.00409314
ret
Function at 0x530c28
Capabilities:
Encode data using xor
Encrypt data using tea

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff0
mov dword [esp], edx
mov ebx, eax
mov edx, dword [ebx]
mov ecx, edx
and ecx, 0xff
shl ecx, 0x18
mov esi, edx
and esi, 0xff00
shl esi, 8
or ecx, esi
mov esi, edx
and esi, 0xff0000
shr esi, 8
or ecx, esi
and edx, 0xff000000
shr edx, 0x18
or ecx, edx
mov edx, ecx
mov ecx, edx
add ebx, 4
mov eax, dword [ebx]
mov edx, eax
and edx, 0xff
shl edx, 0x18
mov ebx, eax
and ebx, 0xff00
shl ebx, 8
or edx, ebx
mov ebx, eax
and ebx, 0xff0000
shr ebx, 8
or edx, ebx
and eax, 0xff000000
shr eax, 0x18
or edx, eax
mov eax, edx
xor ebx, ebx
mov edx, dword [0x69c5f4]
mov esi, dword [0x69c5f8]
mov dword [esp + 4], esi
mov esi, dword [0x69c5fc]
mov dword [esp + 8], esi
mov esi, dword [0x69c600]
mov dword [esp + 0xc], esi
mov esi, 0x20
add ebx, 0x9e3779b9
mov edi, eax
shl edi, 4
mov ebp, eax
xor ebp, edx
add edi, ebp
mov ebp, eax
shr ebp, 5
xor ebp, ebx
add edi, ebp
add edi, dword [esp + 4]
add ecx, edi
mov edi, ecx
shl edi, 4
mov ebp, dword [esp + 8]
xor ebp, ecx
add edi, ebp
mov ebp, ecx
shr ebp, 5
xor ebp, ebx
add edi, ebp
add edi, dword [esp + 0xc]
add eax, edi
dec esi
jne 0x530ccb
mov edx, ecx
and edx, 0xff
shl edx, 0x18
mov ebx, ecx
and ebx, 0xff00
shl ebx, 8
or edx, ebx
mov ebx, ecx
and ebx, 0xff0000
shr ebx, 8
or edx, ebx
and ecx, 0xff000000
shr ecx, 0x18
or edx, ecx
mov ecx, dword [esp]
mov dword [ecx], edx
mov edx, eax
and edx, 0xff
shl edx, 0x18
mov ecx, eax
and ecx, 0xff00
shl ecx, 8
or edx, ecx
mov ecx, eax
and ecx, 0xff0000
shr ecx, 8
or edx, ecx
and eax, 0xff000000
shr eax, 0x18
or edx, eax
mov eax, dword [esp]
add eax, 4
mov dword [eax], edx
add esp, 0x10
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x530d80
Capabilities:
Decrypt data using tea
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff0
mov dword [esp], edx
mov ebx, eax
mov edx, dword [ebx]
mov ecx, edx
and ecx, 0xff
shl ecx, 0x18
mov esi, edx
and esi, 0xff00
shl esi, 8
or ecx, esi
mov esi, edx
and esi, 0xff0000
shr esi, 8
or ecx, esi
and edx, 0xff000000
shr edx, 0x18
or ecx, edx
mov edx, ecx
mov ecx, edx
add ebx, 4
mov eax, dword [ebx]
mov edx, eax
and edx, 0xff
shl edx, 0x18
mov ebx, eax
and ebx, 0xff00
shl ebx, 8
or edx, ebx
mov ebx, eax
and ebx, 0xff0000
shr ebx, 8
or edx, ebx
and eax, 0xff000000
shr eax, 0x18
or edx, eax
mov eax, edx
mov ebx, 0xc6ef3720
mov edx, dword [0x69c5f4]
mov esi, dword [0x69c5f8]
mov dword [esp + 4], esi
mov esi, dword [0x69c5fc]
mov dword [esp + 8], esi
mov esi, dword [0x69c600]
mov dword [esp + 0xc], esi
mov esi, 0x20
mov edi, ecx
shl edi, 4
mov ebp, dword [esp + 8]
xor ebp, ecx
add edi, ebp
mov ebp, ecx
shr ebp, 5
xor ebp, ebx
add edi, ebp
add edi, dword [esp + 0xc]
sub eax, edi
mov edi, eax
shl edi, 4
mov ebp, eax
xor ebp, edx
add edi, ebp
mov ebp, eax
shr ebp, 5
xor ebp, ebx
add edi, ebp
add edi, dword [esp + 4]
sub ecx, edi
sub ebx, 0x9e3779b9
dec esi
jne 0x530e26
mov edx, ecx
and edx, 0xff
shl edx, 0x18
mov ebx, ecx
and ebx, 0xff00
shl ebx, 8
or edx, ebx
mov ebx, ecx
and ebx, 0xff0000
shr ebx, 8
or edx, ebx
and ecx, 0xff000000
shr ecx, 0x18
or edx, ecx
mov ecx, dword [esp]
mov dword [ecx], edx
mov edx, eax
and edx, 0xff
shl edx, 0x18
mov ecx, eax
and ecx, 0xff00
shl ecx, 8
or edx, ecx
mov ecx, eax
and ecx, 0xff0000
shr ecx, 8
or edx, ecx
and eax, 0xff000000
shr eax, 0x18
or edx, eax
mov eax, dword [esp]
add eax, 4
mov dword [eax], edx
add esp, 0x10
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x5310cc
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
mov eax, 0x69c5ec
mov ecx, 0xff
mov edx, 8
call fcn.004052b4
mov dword [ebp - 8], ebx
mov ebx, esi
mov eax, dword [ebp - 4]
shr eax, 3
test eax, eax
jbe 0x53115f
mov dword [ebp - 0xc], eax
mov esi, ebx
mov edx, esi
mov eax, dword [ebp - 8]
mov ecx, 8
call fcn.00404bcc
mov edx, esi
mov eax, 1
mov ecx, 0x69c5ec
add ecx, eax
dec ecx
movzx ecx, byte [ecx]
mov esi, edx
add esi, eax
dec esi
xor byte [esi], cl
inc eax
cmp eax, 9
jne 0x53111a
mov esi, ebx
mov edx, esi
mov eax, esi
call fcn.00530c28
mov edx, 0x69c5ec
mov eax, esi
mov ecx, 8
call fcn.00404bcc
mov eax, dword [ebp - 8]
add eax, 8
mov dword [ebp - 8], eax
add ebx, 8
dec dword [ebp - 0xc]
jne 0x531102
mov esi, dword [ebp - 4]
and esi, 7
test esi, esi
je 0x5311b2
mov edx, 0x69c5ec
mov eax, 0x69c5ec
call fcn.00530c28
mov ecx, esi
test ecx, ecx
jns 0x531183
call fcn.00405fc0
mov edi, ebx
mov edx, edi
mov eax, dword [ebp - 8]
call fcn.00404bcc
mov edx, edi
mov ecx, esi
test ecx, ecx
jbe 0x5311b2
mov eax, 1
mov ebx, 0x69c5ec
add ebx, eax
dec ebx
movzx ebx, byte [ebx]
mov esi, edx
add esi, eax
dec esi
xor byte [esi], bl
inc eax
dec ecx
jne 0x53119c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5311bc
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
mov eax, 0x69c5ec
mov ecx, 0xff
mov edx, 8
call fcn.004052b4
mov dword [ebp - 8], ebx
mov ebx, esi
mov eax, dword [ebp - 4]
shr eax, 3
test eax, eax
jbe 0x53125f
mov dword [ebp - 0x14], eax
mov esi, ebx
mov edx, esi
mov edi, dword [ebp - 8]
mov eax, edi
mov ecx, 8
call fcn.00404bcc
lea edx, [ebp - 0x10]
mov eax, edi
mov ecx, 8
call fcn.00404bcc
mov edx, esi
mov eax, esi
call fcn.00530d80
mov edx, esi
mov eax, 1
mov ecx, 0x69c5ec
add ecx, eax
dec ecx
movzx ecx, byte [ecx]
mov esi, edx
add esi, eax
dec esi
xor byte [esi], cl
inc eax
cmp eax, 9
jne 0x531224
mov edx, 0x69c5ec
lea eax, [ebp - 0x10]
mov ecx, 8
call fcn.00404bcc
mov eax, dword [ebp - 8]
add eax, 8
mov dword [ebp - 8], eax
add ebx, 8
dec dword [ebp - 0x14]
jne 0x5311f2
mov esi, dword [ebp - 4]
and esi, 7
test esi, esi
je 0x5312b2
mov edx, 0x69c5ec
mov eax, 0x69c5ec
call fcn.00530c28
mov ecx, esi
test ecx, ecx
jns 0x531283
call fcn.00405fc0
mov edi, ebx
mov edx, edi
mov eax, dword [ebp - 8]
call fcn.00404bcc
mov edx, edi
mov ecx, esi
test ecx, ecx
jbe 0x5312b2
mov eax, 1
mov ebx, 0x69c5ec
add ebx, eax
dec ebx
movzx ebx, byte [ebx]
mov esi, edx
add esi, eax
dec esi
xor byte [esi], bl
inc eax
dec ecx
jne 0x53129c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x541548
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x54154e
ret
Function at 0x54fc94
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov ecx, 0x593330
test edx, edx
jne 0x54fcb3
xor eax, eax
jmp 0x54fdd1
mov dword [ebp - 4], 1
cmp byte [ebp - 4], 0
je 0x54fcd0
push esi
push edx
push eax
call fcn.0054fdd8
add esp, 0xc
jmp 0x54fdd1
push esi
push edx
push eax
call fcn.00550098
add esp, 0xc
jmp 0x54fdd1
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x551ac4
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, ecx
mov edx, dword [ebp - 8]
cmp byte [edx], 0
jne 0x551b17
xor esi, esi
mov edx, dword [ebp - 4]
mov dword [ebp - 0xc], edx
mov ecx, esi
mov ebx, 8
test cl, 1
je 0x551afa
shr ecx, 1
xor ecx, 0xedb88320
jmp 0x551afc
shr ecx, 1
dec ebx
jne 0x551aeb
mov edx, dword [ebp - 0xc]
mov dword [edx], ecx
inc esi
add dword [ebp - 0xc], 4
cmp esi, 0x100
jne 0x551ae4
mov edx, dword [ebp - 8]
mov byte [edx], 1
mov edx, dword [ebp + 8]
dec edx
test edx, edx
jl 0x551b5c
inc edx
xor esi, esi
cmp esi, 0x7ffffffe
jbe 0x551b2f
call fcn.00405fc0
mov ecx, dword [ebp + 0xc]
movzx ecx, byte [ecx + esi]
xor ecx, eax
and ecx, 0xff
cmp ecx, 0xff
jbe 0x551b4b
call fcn.00405fc0
mov ebx, dword [ebp - 4]
mov ecx, dword [ebx + ecx*4]
shr eax, 8
xor ecx, eax
mov eax, ecx
inc esi
dec edx
jne 0x551b22
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x555578
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov ebx, eax
mov dword [ebx + 4], 0x12345678
mov dword [ebx + 8], 0x23456789
mov dword [ebx + 0xc], 0x34567890
mov eax, dword [ebp - 4]
test eax, eax
je 0x5555a5
sub eax, 4
mov eax, dword [eax]
mov esi, eax
test esi, esi
jle 0x5555ee
mov edi, 1
mov eax, dword [ebp - 4]
movzx edx, byte [eax + edi - 1]
mov eax, dword [ebx + 4]
call fcn.004e8dac
mov dword [ebx + 4], eax
mov eax, dword [ebx + 4]
and eax, 0xff
add dword [ebx + 8], eax
imul eax, dword [ebx + 8], 0x8088405
inc eax
mov dword [ebx + 8], eax
mov edx, dword [ebx + 8]
shr edx, 0x18
mov eax, dword [ebx + 0xc]
call fcn.004e8dac
mov dword [ebx + 0xc], eax
inc edi
dec esi
jne 0x5555b0
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x5555f4
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
cmp dword [ebp - 8], 0
jne 0x55561f
mov ecx, 0x321
mov edx, 0x555804
mov eax, 0x55584c
call fcn.00407a60
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.00555578
mov dword [ebp - 0x10], 0xa
lea edi, [ebp - 0x1c]
mov eax, pe_nt_image_headers32
call fcn.00404e70
mov byte [ebp - 9], al
movzx esi, word [ebx + 0xc]
and si, 0xffff
or si, 2
movzx eax, si
xor si, 1
movzx edx, si
imul edx
shr eax, 8
mov esi, eax
movzx edx, byte [ebp - 9]
mov eax, dword [ebx + 4]
call fcn.004e8dac
mov dword [ebx + 4], eax
mov eax, dword [ebx + 4]
and eax, 0xff
add dword [ebx + 8], eax
imul eax, dword [ebx + 8], 0x8088405
inc eax
mov dword [ebx + 8], eax
mov edx, dword [ebx + 8]
shr edx, 0x18
mov eax, dword [ebx + 0xc]
call fcn.004e8dac
mov dword [ebx + 0xc], eax
mov eax, esi
xor al, byte [ebp - 9]
mov byte [edi], al
inc edi
dec dword [ebp - 0x10]
jne 0x555633
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.00555578
mov dword [ebp - 0x10], 0xa
lea edi, [ebp - 0x1c]
movzx esi, word [ebx + 0xc]
and si, 0xffff
or si, 2
movzx eax, si
xor si, 1
movzx edx, si
imul edx
shr eax, 8
mov esi, eax
movzx edx, byte [edi]
mov eax, dword [ebx + 4]
call fcn.004e8dac
mov dword [ebx + 4], eax
mov eax, dword [ebx + 4]
and eax, 0xff
add dword [ebx + 8], eax
imul eax, dword [ebx + 8], 0x8088405
inc eax
mov dword [ebx + 8], eax
mov edx, dword [ebx + 8]
shr edx, 0x18
mov eax, dword [ebx + 0xc]
call fcn.004e8dac
mov dword [ebx + 0xc], eax
mov eax, esi
xor byte [edi], al
inc edi
dec dword [ebp - 0x10]
jne 0x5556b5
movzx eax, byte [ebp + 0xa]
mov byte [ebp - 9], al
movzx esi, word [ebx + 0xc]
and si, 0xffff
or si, 2
movzx eax, si
xor si, 1
movzx edx, si
imul edx
shr eax, 8
mov esi, eax
movzx edx, byte [ebp - 9]
mov eax, dword [ebx + 4]
call fcn.004e8dac
mov edi, eax
mov dword [ebx + 4], edi
and edi, 0xff
add dword [ebx + 8], edi
imul edi, dword [ebx + 8], 0x8088405
inc edi
mov dword [ebx + 8], edi
mov edx, edi
shr edx, 0x18
mov eax, dword [ebx + 0xc]
call fcn.004e8dac
mov dword [ebx + 0xc], eax
mov eax, esi
xor al, byte [ebp - 9]
mov byte [ebp - 0x12], al
movzx eax, byte [ebp + 0xb]
mov byte [ebp - 9], al
movzx esi, word [ebx + 0xc]
and si, 0xffff
or si, 2
movzx eax, si
xor si, 1
movzx edx, si
imul edx
shr eax, 8
mov esi, eax
movzx edx, byte [ebp - 9]
mov eax, dword [ebx + 4]
call fcn.004e8dac
mov edi, eax
mov dword [ebx + 4], edi
and edi, 0xff
add dword [ebx + 8], edi
imul edi, dword [ebx + 8], 0x8088405
inc edi
mov dword [ebx + 8], edi
mov edx, edi
shr edx, 0x18
mov eax, dword [ebx + 0xc]
call fcn.004e8dac
mov dword [ebx + 0xc], eax
mov eax, esi
xor al, byte [ebp - 9]
mov byte [ebp - 0x11], al
mov byte [ebx + 0x10], 1
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x1c]
mov dword [eax], edx
mov edx, dword [ebp - 0x18]
mov dword [eax + 4], edx
mov edx, dword [ebp - 0x14]
mov dword [eax + 8], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4