joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100a9a61
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 0x14]
xor ecx, ecx
push ebx
mov dword [ebp - 4], ecx
lea ebx, [eax - 3]
mov dword [ebp - 0x10], ebx
cmp dword [ebp + 0x10], ecx
jle 0x100a9b41
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
mov edx, dword [ebp + 0x18]
movzx edx, byte [ecx + edx]
mov dword [ebp - 8], edx
cmp edx, 0xff
jne 0x100a9ab3
mov al, byte [esi]
mov byte [edi + 2], al
mov al, byte [esi + 1]
mov byte [edi + 1], al
mov al, byte [esi + 2]
add esi, 3
mov byte [edi], al
mov eax, edx
mov byte [edi + 3], al
jmp 0x100a9b27
test edx, edx
jne 0x100a9abb
add esi, eax
jmp 0x100a9b2c
movzx ebx, byte [edi + 3]
mov ecx, 0xff
mov eax, ebx
imul eax, edx
push 3
cdq
idiv ecx
mov edx, dword [ebp - 8]
mov cl, dl
sub cl, al
imul eax, edx, 0xff
add cl, bl
lea ebx, [edi + 2]
mov byte [edi + 3], cl
movzx ecx, cl
pop edi
cdq
idiv ecx
mov edx, 0xff
mov ecx, eax
sub edx, ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
movzx eax, byte [esi]
imul eax, ecx
movzx ecx, byte [ebx]
imul ecx, edx
add eax, ecx
mov ecx, 0xff
cdq
idiv ecx
mov edx, dword [ebp - 8]
inc esi
mov ecx, dword [ebp - 0xc]
mov byte [ebx], al
dec ebx
sub edi, 1
jne 0x100a9af9
mov ebx, dword [ebp - 0x10]
mov edi, dword [ebp + 8]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp + 0x14]
add esi, ebx
inc ecx
add edi, 4
mov dword [ebp - 4], ecx
mov dword [ebp + 8], edi
cmp ecx, dword [ebp + 0x10]
jl 0x100a9a87
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x100aa185
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x14]
test esi, esi
je 0x100aa1c5
mov eax, dword [ebp + 0x10]
mov dword [ebp + 0x14], eax
test eax, eax
jle 0x100aa1d8
push ebx
push edi
mov edi, dword [ebp + 8]
sub esi, edi
mov bh, byte [esi + edi]
xor edx, edx
movzx ecx, byte [edi]
movzx eax, bh
imul eax, ecx
mov ecx, 0xff
div ecx
sub bh, al
add byte [edi], bh
inc edi
sub dword [ebp + 0x14], 1
jne 0x100aa1a1
pop edi
pop ebx
jmp 0x100aa1d8
push dword [ebp + 0x10]
push 0xff
push dword [ebp + 8]
call fcn.10128a60
add esp, 0xc
pop esi
pop ebp
ret
Function at 0x100ac3b7
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x1030b908]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x18]
mov dword [ebp - 0x120], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x11c], eax
mov eax, dword [ebx + 0x1c]
mov dword [ebp - 0x114], eax
mov eax, dword [ebx + 0x14]
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
shr eax, 2
mov dword [ebp - 0x118], edi
mov dword [ebp - 0x10c], ebx
push 0x64
test al, 1
je 0x100ac47b
mov ebx, dword [ebp - 0x114]
pop edi
mov ecx, dword [ebx + esi*4]
lea eax, [ebp - 0x107]
push eax
lea eax, [ebp - 0x105]
push eax
lea eax, [ebp - 0x106]
push eax
movzx eax, cl
push eax
mov eax, ecx
shr eax, 8
push eax
mov eax, ecx
shr ecx, 0x18
shr eax, 0x10
push eax
push ecx
call fcn.1007f87e
movzx eax, byte [ebp - 0x105]
xor edx, edx
movzx ecx, byte [ebp - 0x106]
add esp, 0x1c
imul eax, eax, 0x3b
imul ecx, ecx, 0x1e
add eax, ecx
movzx ecx, byte [ebp - 0x107]
imul ecx, ecx, 0xb
add eax, ecx
div edi
mov byte [ebp + esi - 0x104], al
inc esi
cmp esi, 0x100
jb 0x100ac40f
jmp 0x100ac4ba
mov edi, esi
mov esi, dword [ebp - 0x114]
pop ebx
mov ecx, dword [esi + edi*4]
xor edx, edx
mov eax, ecx
shr ecx, 0x10
shr eax, 8
movzx eax, al
imul eax, eax, 0x3b
movzx ecx, cl
imul ecx, ecx, 0x1e
add eax, ecx
movzx ecx, byte [esi + edi*4]
imul ecx, ecx, 0xb
add eax, ecx
div ebx
mov byte [ebp + edi - 0x104], al
inc edi
cmp edi, 0x100
jb 0x100ac484
mov ebx, dword [ebp - 0x10c]
xor esi, esi
mov edi, dword [ebp - 0x118]
cmp dword [ebp + 0x14], esi
jle 0x100ac51a
mov eax, dword [ebp - 0x11c]
mov ecx, ebx
mov edx, dword [ebx]
add eax, esi
push eax
mov dword [ebp - 0x110], edi
call dword [edx + 8]
mov edx, dword [ebp + 0x1c]
add edx, eax
cmp dword [ebp + 0x10], 0
jle 0x100ac50e
mov ebx, dword [ebp + 0x10]
sub edx, edi
mov ecx, edi
movzx eax, byte [edx + ecx]
mov al, byte [ebp + eax - 0x104]
mov byte [ecx], al
inc ecx
sub ebx, 1
jne 0x100ac4f5
mov ebx, dword [ebp - 0x10c]
add edi, dword [ebp - 0x120]
inc esi
cmp esi, dword [ebp + 0x14]
jl 0x100ac4cd
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
inc eax
pop ebx
call fcn.10127041
mov esp, ebp
pop ebp
ret
Function at 0x100b460f
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
lea ecx, [ebp - 4]
call fcn.10030bbc
push dword [ebp + 0xc]
lea ecx, [ebp - 4]
push 1
push dword [ebp + 0x10]
push dword [ebp + 0x10]
call fcn.100149e0
push eax
call fcn.10132360
add esp, 0x10
test eax, eax
jne 0x100b4645
mov ecx, dword [ebp + 8]
call fcn.10030bbc
jmp 0x100b465c
push dword [ebp + 0x10]
lea ecx, [ebp - 4]
call fcn.10014d48
mov ecx, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
call fcn.100138f7
lea ecx, [ebp - 4]
call fcn.10013aa3
mov eax, dword [ebp + 8]
mov esp, ebp
pop ebp
ret
Function at 0x100b4d84
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x1030b908]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
mov dword [ebp - 0x24], ebx
push edi
mov eax, dword [ebx]
mov dword [ebp - 0x28], esi
test eax, eax
je 0x100b4dad
add eax, 0xc
jmp 0x100b4db2
mov eax, 0x1014e2b4
push 0x10296f6c
push eax
call fcn.1013217d
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x100b4eef
push 2
push 0
push edi
call fcn.101326ca
push edi
call fcn.10132c3c
push 0
push 0
push edi
mov dword [ebp - 0x1c], eax
call fcn.101326ca
push edi
push 1
lea eax, [ebp - 0x14]
push 0xc
push eax
call fcn.10132360
add esp, 0x2c
cmp eax, 1
jne 0x100b4ee8
movzx ecx, byte [ebp - 0x14]
movzx eax, byte [ebp - 0x13]
shl ecx, 8
or ecx, eax
movzx eax, byte [ebp - 0x12]
shl ecx, 8
or ecx, eax
movzx eax, byte [ebp - 0x11]
shl ecx, 8
or ecx, eax
cmp ecx, 0x74746366
jne 0x100b4eda
movzx ebx, byte [ebp - 0xc]
movzx eax, byte [ebp - 0xb]
shl ebx, 8
or ebx, eax
movzx eax, byte [ebp - 0xa]
shl ebx, 8
or ebx, eax
movzx eax, byte [ebp - 9]
shl ebx, 8
or ebx, eax
cmp ebx, 0x3fffffff
ja 0x100b4ee8
mov esi, ebx
shl esi, 2
push 1
push esi
call fcn.10005397
push edi
push esi
push 1
push eax
mov dword [ebp - 0x18], eax
call fcn.10132360
add esp, 0x18
cmp eax, esi
je 0x100b4e89
mov esi, dword [ebp - 0x18]
push esi
call fcn.1012ef4e
push edi
call fcn.1013203c
pop ecx
jmp 0x100b4eee
test ebx, ebx
je 0x100b4ece
mov eax, dword [ebp - 0x18]
add eax, 2
mov dword [ebp - 0x20], eax
mov esi, eax
movzx ecx, byte [esi - 2]
movzx eax, byte [esi - 1]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 1]
shl ecx, 8
or ecx, eax
push ecx
push dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x28]
push edi
push dword [ebp - 0x24]
call fcn.100b49d7
lea esi, [esi + 4]
sub ebx, 1
jne 0x100b4e98
mov esi, dword [ebp - 0x18]
push esi
call fcn.1012ef4e
pop ecx
jmp 0x100b4ee8
push 0
push dword [ebp - 0x1c]
mov ecx, esi
push edi
push ebx
call fcn.100b49d7
push edi
call fcn.1013203c
pop ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10127041
mov esp, ebp
pop ebp
ret 4
Function at 0x100b59ee
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
mov eax, dword [0x1030b908]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov esi, ecx
mov edi, 0x1014e2b4
push edi
lea ecx, [ebp - 0x10c]
call fcn.100139c3
push 0x104
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea eax, [ebp - 0x108]
push eax
lea ecx, [ebp - 0x10c]
call fcn.10013d51
push 0x10296f68
lea ecx, [ebp - 0x10c]
call fcn.10013d51
push str.GDIPLUS.DLL
lea ecx, [ebp - 0x10c]
call fcn.10013d51
mov eax, dword [ebp - 0x10c]
test eax, eax
je 0x100b5a67
lea edi, [eax + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [esi + 0x198], eax
test eax, eax
je 0x100b5b3c
and dword [ebp - 0x110], 0
mov eax, 0x10305190
sub eax, esi
mov edi, esi
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x114], eax
push dword [eax + edi]
push dword [esi + 0x198]
call ebx
mov dword [edi], eax
test eax, eax
je 0x100b5b34
mov eax, dword [ebp - 0x110]
add edi, 4
inc eax
mov dword [ebp - 0x110], eax
cmp eax, 0x4e
mov eax, dword [ebp - 0x114]
jb 0x100b5a99
xor eax, eax
mov dword [ebp - 0x124], 1
push eax
mov dword [ebp - 0x120], eax
mov dword [ebp - 0x11c], eax
mov dword [ebp - 0x118], eax
lea eax, [ebp - 0x124]
push eax
lea eax, [ebp - 0x128]
push eax
call dword [esi + 0x88]
push str.GDI32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [esi + 0x19c], eax
test eax, eax
je 0x100b5b3b
push str.AddFontMemResourceEx
push eax
call ebx
push str.RemoveFontMemResourceEx
push dword [esi + 0x19c]
mov dword [esi + 0x190], eax
call ebx
mov dword [esi + 0x194], eax
jmp 0x100b5b3b
and dword [esi + 0x198], 0
pop ebx
lea ecx, [ebp - 0x10c]
call fcn.10013aa3
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.10127041
mov esp, ebp
pop ebp
ret

Function at 0x100e0ff1
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x18]
push edi
mov edi, dword [ebp + 8]
movzx ecx, word [ebx]
mov dword [ebp - 4], ecx
mov edi, dword [edi]
mov dword [ebp - 8], edi
cmp edi, eax
jb 0x100e1015
xor eax, eax
jmp 0x100e1072
sub eax, edi
push esi
mov esi, dword [ebp + 0x14]
cmp esi, eax
cmova esi, eax
xor edx, edx
mov dword [ebp + 0x14], esi
test esi, esi
je 0x100e1061
mov ebx, dword [ebp + 0x10]
sub edi, ebx
movzx eax, byte [edi + ebx]
mov edx, ecx
shr edx, 8
xor edx, eax
add eax, ecx
imul eax, eax, 0x3193
mov ecx, 0x58bf
mov byte [ebx], dl
sub ecx, eax
inc ebx
movzx ecx, cx
sub esi, 1
jne 0x100e102e
mov esi, dword [ebp + 0x14]
mov edx, esi
mov edi, dword [ebp - 8]
mov ebx, dword [ebp + 0x18]
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 8]
lea ecx, [edi + esi]
pop esi
mov dword [eax], ecx
mov eax, edx
mov ecx, dword [ebp - 4]
mov word [ebx], cx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100ffbc3
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
xor edi, edi
cmp dword [ebp + 8], edi
jle 0x100ffc02
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
sub ebx, esi
movzx eax, word [ebx + esi]
movzx ecx, word [esi]
sub eax, ecx
cdq
xor eax, edx
sub eax, edx
cmp eax, 0xf000
jg 0x100ffc02
movzx eax, word [ebx + esi]
movzx ecx, word [esi]
cmp ax, cx
jne 0x100ffc0a
inc edi
add esi, 2
cmp edi, dword [ebp + 8]
jl 0x100ffbd8
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
pop ebp
ret
xor eax, eax
jmp 0x100ffc05
Function at 0x10115c34
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov ecx, dword [ebp + 0xc]
xor eax, eax
inc eax
shl eax, cl
push esi
mov esi, dword [ebp + 8]
mov ecx, eax
sar ecx, 1
push edi
xor edi, edi
or ecx, eax
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], edi
cmp dword [esi + 0x14], edi
jbe 0x10115dac
push ebx
xor edx, edx
mov dword [ebp - 8], edx
cmp dword [esi + 0x10], edx
jbe 0x10115d9c
lea eax, [edi + 4]
mov ebx, edi
mov dword [ebp - 0x24], eax
cmp edi, eax
jae 0x10115d8f
mov ecx, dword [esi + 0x14]
cmp ebx, ecx
jae 0x10115d8c
dec eax
cmp ebx, eax
je 0x10115c9a
lea eax, [ecx - 1]
cmp ebx, eax
je 0x10115c9a
and dword [ebp + 0xc], 0
jmp 0x10115ca1
mov dword [ebp + 0xc], 1
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x20]
imul eax, ebx
add eax, edx
inc ebx
imul ecx, ebx
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 0xc]
add ecx, edx
mov dword [ebp - 0x20], ebx
lea eax, [eax + ecx*2]
mov ecx, dword [esi]
add eax, 2
mov dword [ebp - 0x14], ecx
cmp dword [ebp + 0xc], 0
mov dword [ebp + 8], eax
movsx eax, word [eax]
je 0x10115cdd
and eax, 0xfffffbb9
movzx edi, al
mov dword [ebp - 0x10], edi
mov edi, dword [ebp - 4]
mov dword [ebp + 0xc], eax
test al, al
je 0x10115d81
test eax, 0x5000
jne 0x10115d81
mov eax, dword [ebp + 0x10]
shl eax, 8
or eax, dword [ebp - 0x10]
push ecx
movzx eax, byte [eax + 0x1030ace0]
add eax, 6
lea eax, [ecx + eax*4]
mov dword [ecx + 0x64], eax
call fcn.101171cc
pop ecx
test eax, eax
je 0x10115d73
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp - 0x14]
shr eax, 4
movzx ecx, al
push edx
movzx eax, byte [ecx + 0x1030b0e0]
mov bl, byte [ecx + 0x1030b1e0]
add eax, 6
lea eax, [edx + eax*4]
mov dword [edx + 0x64], eax
call fcn.101171cc
movzx ecx, bl
mov edx, edi
mov ebx, dword [ebp - 0x1c]
xor eax, ecx
neg edx
mov ecx, edi
test eax, eax
cmovne ecx, edx
mov edx, dword [ebp - 0x18]
mov dword [ebx + edx*4], ecx
push dword [esi + 0x20]
push eax
push dword [ebp + 8]
call fcn.10116449
mov ebx, dword [ebp - 0x20]
add esp, 0x10
mov eax, dword [ebp + 8]
mov ecx, 0x4000
mov edx, dword [ebp - 8]
or word [eax], cx
mov eax, dword [ebp - 0x24]
cmp ebx, eax
jb 0x10115c7d
mov edi, dword [ebp - 0xc]
inc edx
mov dword [ebp - 8], edx
cmp edx, dword [esi + 0x10]
jb 0x10115c6d
add edi, 4
mov dword [ebp - 0xc], edi
cmp edi, dword [esi + 0x14]
jb 0x10115c5f
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1011c2bd
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, 0xcb
cmp dword [esi + 0x14], 0xca
jne 0x1011c2f1
push esi
call fcn.1011ead7
cmp byte [esi + 0x40], 0
pop ecx
je 0x1011c2ee
mov dword [esi + 0x14], 0xcf
mov al, 1
jmp 0x1011c382
mov dword [esi + 0x14], edi
cmp dword [esi + 0x14], edi
jne 0x1011c35b
mov eax, dword [esi + 0x190]
cmp byte [eax + 0x10], 0
je 0x1011c350
mov eax, dword [esi + 8]
test eax, eax
je 0x1011c30d
push esi
call dword [eax]
pop ecx
mov eax, dword [esi + 0x190]
push esi
call dword [eax]
pop ecx
test eax, eax
je 0x1011c34c
cmp eax, 2
je 0x1011c350
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x1011c302
cmp eax, 3
je 0x1011c331
cmp eax, 1
jne 0x1011c302
inc dword [ecx + 4]
mov edx, dword [esi + 8]
mov edi, dword [edx + 8]
cmp dword [ecx + 4], edi
jl 0x1011c302
mov eax, dword [esi + 0x11c]
add eax, edi
mov dword [edx + 8], eax
jmp 0x1011c302
xor al, al
jmp 0x1011c382
mov eax, dword [esi + 0x7c]
mov dword [esi + 0x84], eax
jmp 0x1011c37b
cmp dword [esi + 0x14], 0xcc
je 0x1011c37b
mov eax, dword [esi]
push esi
mov dword [eax + 0x14], 0x14
mov ecx, dword [esi]
mov eax, dword [esi + 0x14]
mov dword [ecx + 0x18], eax
mov eax, dword [esi]
call dword [eax]
pop ecx
push esi
call fcn.1011c386
pop ecx
pop edi
pop esi
pop ebp
ret

Function at 0x1013ab3d
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1013a9bc

Function at 0x1013cce4
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1013c9a4

Function at 0x1014480b
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
mov dword [eax + 0x54], ecx
mov dword [eax + 0x5c], ecx
mov dword [eax + 0x58], ecx
pop ebp
ret

Function at 0x10144af5
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
and dword [eax], 0
and dword [eax + 4], 0
mov dword [eax + 8], 0x6a09e667
mov dword [eax + 0xc], 0xbb67ae85
mov dword [eax + 0x10], 0x3c6ef372
mov dword [eax + 0x14], 0xa54ff53a
mov dword [eax + 0x18], 0x510e527f
mov dword [eax + 0x1c], 0x9b05688c
mov dword [eax + 0x20], 0x1f83d9ab
mov dword [eax + 0x24], 0x5be0cd19
pop ebp
ret
Function at 0x101456ee
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x15c
mov eax, dword [0x1030b908]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
push 0x10
pop ecx
lea edi, [ebp - 0x144]
mov dword [ebp - 0x15c], ebx
rep movsd dword es:[edi], dword [esi]
push 0x40
lea ecx, [ebp - 0x13c]
pop edx
mov eax, dword [ecx + 0x2c]
xor eax, dword [ecx + 0x18]
xor eax, dword [ecx - 8]
xor eax, dword [ecx]
lea ecx, [ecx + 4]
rol eax, 1
mov dword [ecx + 0x34], eax
sub edx, 1
jne 0x10145724
mov eax, dword [ebx]
mov ecx, dword [ebx + 0x10]
mov edi, dword [ebx + 4]
mov esi, dword [ebx + 8]
mov edx, dword [ebx + 0xc]
mov ebx, edx
and dword [ebp - 0x150], 0
mov dword [ebp - 0x14c], eax
mov dword [ebp - 0x148], ecx
mov dword [ebp - 0x158], 0x14
mov edx, eax
mov ecx, edi
not ecx
rol edx, 5
and ecx, ebx
mov eax, esi
and eax, edi
or ecx, eax
mov eax, dword [ebp - 0x148]
add edx, ecx
mov dword [ebp - 0x148], ebx
mov ecx, dword [ebp - 0x150]
add eax, 0x5a827999
mov ebx, esi
mov esi, edi
mov edi, dword [ebp - 0x14c]
ror esi, 2
add edx, dword [ebp + ecx*4 - 0x144]
add eax, edx
inc ecx
mov dword [ebp - 0x14c], eax
mov dword [ebp - 0x150], ecx
cmp ecx, 0x14
jl 0x10145769
mov dword [ebp - 0x154], ebx
mov edx, ebx
mov dword [ebp - 0x150], 0x28
mov ecx, eax
mov eax, edx
xor eax, esi
rol ecx, 5
xor eax, edi
add ecx, eax
mov eax, dword [ebp - 0x158]
add ecx, dword [ebp + eax*4 - 0x144]
mov eax, dword [ebp - 0x148]
add eax, 0x6ed9eba1
mov dword [ebp - 0x148], edx
add eax, ecx
mov edx, esi
mov ecx, dword [ebp - 0x158]
mov esi, edi
mov edi, dword [ebp - 0x14c]
ror esi, 2
inc ecx
mov dword [ebp - 0x14c], eax
mov dword [ebp - 0x158], ecx
cmp ecx, 0x28
jl 0x101457cd
mov dword [ebp - 0x154], edx
mov ebx, edx
mov dword [ebp - 0x158], 0x3c
mov edx, eax
mov ecx, esi
or ecx, edi
rol edx, 5
add edx, dword [ebp - 0x148]
and ecx, ebx
mov eax, esi
mov dword [ebp - 0x148], ebx
and eax, edi
mov ebx, esi
or ecx, eax
mov esi, edi
mov eax, dword [ebp - 0x150]
mov edi, dword [ebp - 0x14c]
ror esi, 2
add ecx, dword [ebp + eax*4 - 0x144]
lea eax, [ecx - 0x70e44324]
mov ecx, dword [ebp - 0x150]
add eax, edx
inc ecx
mov dword [ebp - 0x14c], eax
mov dword [ebp - 0x150], ecx
cmp ecx, 0x3c
jl 0x10145831
mov dword [ebp - 0x154], ebx
mov edx, ebx
mov ebx, dword [ebp - 0x158]
mov ecx, eax
rol ecx, 5
mov eax, edx
xor eax, esi
add ecx, 0xca62c1d6
add ecx, dword [ebp - 0x148]
xor eax, edi
add eax, dword [ebp + ebx*4 - 0x144]
add eax, ecx
mov dword [ebp - 0x148], edx
mov edx, esi
mov dword [ebp - 0x150], eax
mov esi, edi
mov ecx, ebx
mov edi, dword [ebp - 0x14c]
mov ebx, dword [ebp - 0x15c]
ror esi, 2
inc ecx
mov dword [ebp - 0x14c], eax
mov dword [ebp - 0x158], ecx
cmp ecx, 0x50
jl 0x10145890
add dword [ebx + 4], edi
add dword [ebx], eax
add dword [ebx + 8], esi
mov ecx, dword [ebp - 4]
add dword [ebx + 0xc], edx
xor ecx, ebp
mov eax, dword [ebp - 0x148]
add dword [ebx + 0x10], eax
pop edi
pop esi
pop ebx
call fcn.10127041
mov esp, ebp
pop ebp
ret
Function at 0x10149e30
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
push ebx
push esi
xor ebx, ebx
mov esi, dword [edx]
push edi
mov edi, dword [edx + 4]
cmp dword [ebp + 0x10], ebx
jle 0x10149e76
lea eax, [esi + 1]
movzx esi, al
mov ecx, dword [edx + esi*4 + 8]
lea eax, [ecx + edi]
movzx edi, al
mov eax, dword [edx + edi*4 + 8]
mov dword [edx + esi*4 + 8], eax
add eax, ecx
mov dword [edx + edi*4 + 8], ecx
mov ecx, dword [ebp + 0xc]
movzx eax, al
mov al, byte [edx + eax*4 + 8]
xor byte [ebx + ecx], al
inc ebx
cmp ebx, dword [ebp + 0x10]
jl 0x10149e45
mov dword [edx + 4], edi
pop edi
mov dword [edx], esi
pop esi
pop ebx
pop ebp
ret

Function at 0x1014a06d
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
and dword [eax], 0
and dword [eax + 4], 0
mov dword [eax + 8], 0x67452301
mov dword [eax + 0xc], 0xefcdab89
mov dword [eax + 0x10], 0x98badcfe
mov dword [eax + 0x14], 0x10325476
pop ebp
ret

Function at 0x1014aa09
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x1030b908]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0x14]
mov ecx, dword [ebp + 8]
push esi
push edi
lea eax, [ebx + 0x3c8]
mov dword [ebp - 0x44], ebx
mov esi, eax
mov dword [ebp - 0x48], eax
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, dword [ebp + 0x10]
test edi, edi
jle 0x1014ab02
mov esi, dword [ebp + 0xc]
lea eax, [ecx + 2]
add esi, 2
mov dword [ebp - 0x38], eax
dec edi
shr edi, 4
inc edi
mov dword [ebp - 0x3c], edi
xor edx, edx
movzx ecx, byte [esi - 2]
movzx eax, byte [esi - 1]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 1]
shl ecx, 8
add esi, 4
or ecx, eax
mov dword [ebp + edx - 0x34], ecx
mov dword [ebp + edx - 0x24], ecx
add edx, 4
cmp edx, 0x10
jl 0x1014aa58
lea eax, [ebp - 0x24]
mov dword [ebp - 0x40], esi
push eax
push ebx
call dword [ebx + 0x3c4]
mov edi, dword [ebp - 0x38]
xor esi, esi
pop ecx
pop ecx
mov al, byte [ebp + esi - 0x14]
xor al, byte [ebp + esi - 0x24]
mov edx, dword [ebp + esi - 0x14]
mov ecx, edx
mov ebx, dword [ebp + esi - 0x24]
mov byte [edi + 1], al
mov eax, ebx
shr ecx, 8
shr eax, 8
xor cl, al
mov eax, ebx
mov byte [edi], cl
mov ecx, edx
shr eax, 0x10
shr ecx, 0x10
xor cl, al
shr edx, 0x18
mov eax, dword [ebp + esi - 0x34]
shr ebx, 0x18
xor dl, bl
mov dword [ebp + esi - 0x14], eax
mov byte [edi - 1], cl
add esi, 4
mov byte [edi - 2], dl
add edi, 4
cmp esi, 0x10
jl 0x1014aa9e
sub dword [ebp - 0x3c], 1
mov esi, dword [ebp - 0x40]
mov ebx, dword [ebp - 0x44]
mov dword [ebp - 0x38], edi
jne 0x1014aa56
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 4]
lea esi, [ebp - 0x14]
mov edi, eax
xor ecx, ebp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
pop ebx
call fcn.10127041
mov esp, ebp
pop ebp
ret
Function at 0x1014b6f9
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x1030b908]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov dword [ebp - 0x18], eax
lea edi, [ebp - 0x14]
add eax, 0x3c8
mov esi, eax
mov dword [ebp - 0x1c], eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, dword [ebp + 0x10]
test edi, edi
jle 0x1014b7ab
mov esi, dword [ebp + 0xc]
add ebx, 2
add esi, 2
dec edi
shr edi, 4
inc edi
xor edx, edx
movzx ecx, byte [esi - 2]
movzx eax, byte [esi - 1]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 1]
shl ecx, 8
add esi, 4
or ecx, eax
xor dword [ebp + edx*4 - 0x14], ecx
inc edx
cmp edx, 4
jl 0x1014b73d
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
push eax
call dword [eax + 0x3c0]
pop ecx
pop ecx
xor edx, edx
mov al, byte [ebp + edx*4 - 0x14]
mov ecx, dword [ebp + edx*4 - 0x14]
mov byte [ebx + 1], al
mov eax, ecx
shr eax, 8
mov byte [ebx], al
mov eax, ecx
shr eax, 0x10
shr ecx, 0x18
inc edx
mov byte [ebx - 1], al
mov byte [ebx - 2], cl
add ebx, 4
cmp edx, 4
jl 0x1014b77a
sub edi, 1
jne 0x1014b73b
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 4]
lea esi, [ebp - 0x14]
mov edi, eax
xor ecx, ebp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
pop ebx
call fcn.10127041
mov esp, ebp
pop ebp
ret