joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1001b1e0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x44
mov eax, dword [0x100e6dd4]
xor eax, esp
mov dword [esp + 0x40], eax
push ebx
mov ebx, dword [esp + 0x4c]
push esi
push edi
push 0x40
lea eax, [esp + 0x10]
push 0
push eax
mov edi, ecx
call fcn.100b18c0
mov esi, dword [esp + 0x64]
add esp, 0xc
cmp esi, 0x40
jbe 0x1001b22f
mov ecx, edi
call fcn.10031a30
push esi
mov edx, ebx
mov ecx, edi
call fcn.10032810
lea edx, [esp + 0xc]
mov ecx, edi
call fcn.100329e0
jmp 0x1001b242
test esi, esi
jbe 0x1001b242
push esi
lea ecx, [esp + 0x10]
push ebx
push ecx
call fcn.100b0db0
add esp, 0xc
xor eax, eax
xor byte [esp + eax + 0xc], 0x36
inc eax
cmp eax, 0x40
jb 0x1001b244
mov ecx, edi
call fcn.10031a30
push 0x40
lea edx, [esp + 0x10]
mov ecx, edi
call fcn.10032810
xor eax, eax
xor byte [esp + eax + 0xc], 0x6a
inc eax
cmp eax, 0x40
jb 0x1001b265
lea esi, [edi + 0x60]
mov ecx, esi
call fcn.10031a30
push 0x40
lea edx, [esp + 0x10]
mov ecx, esi
call fcn.10032810
mov ecx, dword [esp + 0x4c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100b0660
add esp, 0x44
ret 8

Function at 0x1001b310
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xb8
mov eax, dword [0x100e6dd4]
xor eax, esp
mov dword [esp + 0xb4], eax
xor eax, eax
push ebx
push esi
mov esi, dword [esp + 0xc8]
push edi
mov edi, dword [esp + 0xc8]
mov ebx, ecx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
cmp esi, 0x40
jbe 0x1001b3c7
lea ecx, [esp + 0x4c]
call fcn.10031a30
push esi
mov edx, edi
lea ecx, [esp + 0x50]
call fcn.10032810
lea edx, [esp + 0xac]
lea ecx, [esp + 0x4c]
call fcn.100329e0
xor eax, eax
jmp 0x1001b3b0
mov ecx, dword [esp + eax + 0xac]
bswap ecx
mov dword [esp + eax + 0xc], ecx
add eax, 4
cmp eax, 0x14
jb 0x1001b3b0
jmp 0x1001b3f9
xor eax, eax
test esi, esi
jbe 0x1001b3f9
push ebp
mov edi, edi
mov ebp, eax
and ebp, 3
mov ecx, 3
sub ecx, ebp
movzx ebp, byte [edi + eax]
add ecx, ecx
add ecx, ecx
add ecx, ecx
mov edx, eax
shl ebp, cl
shr edx, 2
lea edx, [esp + edx*4 + 0x10]
inc eax
or dword [edx], ebp
cmp eax, esi
jb 0x1001b3d0
pop ebp
xor eax, eax
jmp 0x1001b400
xor dword [esp + eax*4 + 0xc], 0x36363636
inc eax
cmp eax, 0x10
jb 0x1001b400
mov ecx, ebx
call fcn.10031a30
push 0x10
lea edx, [esp + 0x10]
mov ecx, ebx
call fcn.10032ad0
xor eax, eax
xor dword [esp + eax*4 + 0xc], 0x6a6a6a6a
inc eax
cmp eax, 0x10
jb 0x1001b424
lea esi, [ebx + 0x60]
mov ecx, esi
call fcn.10031a30
push 0x10
lea edx, [esp + 0x10]
mov ecx, esi
call fcn.10032ad0
mov ecx, dword [esp + 0xc0]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100b0660
add esp, 0xb8
ret 8
Function at 0x1001b4c0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x80
push ebx
push ebp
push esi
push edi
push 5
lea edx, [esp + 0x14]
mov edi, ecx
call fcn.10032a80
lea ebx, [edi + 0x60]
push 5
lea edx, [esp + 0x54]
mov ecx, ebx
call fcn.10032a80
mov esi, dword [esp + 0x94]
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov ebp, dword [esp + 0x98]
mov edx, dword [esi + 8]
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0xc]
mov dword [esp + 0x14], ecx
mov ecx, dword [esi + 0x10]
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
test ebp, ebp
jbe 0x1001b567
jmp 0x1001b520
lea edx, [esp + 0x50]
push edx
lea edx, [esp + 0x14]
mov ecx, edi
call fcn.10031a60
lea eax, [esp + 0x10]
push eax
lea edx, [esp + 0x54]
mov ecx, ebx
call fcn.10031a60
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
xor dword [esi], ecx
xor dword [esi + 4], edx
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
xor dword [esi + 8], eax
xor dword [esi + 0xc], ecx
xor dword [esi + 0x10], edx
sub ebp, 1
jne 0x1001b520
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x80
ret 8

Function at 0x1001b574
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x100e6dd4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 0x40
pop ebx
push ebx
lea eax, [ebp - 0x44]
push 0
push eax
mov edi, ecx
call fcn.100b18c0
add esp, 0xc
cmp dword [ebp + 0xc], ebx
jbe 0x1001b5c2
mov ecx, edi
call fcn.10032b90
push dword [ebp + 0xc]
mov edx, esi
mov ecx, edi
call fcn.100336c0
lea edx, [ebp - 0x44]
mov ecx, edi
call fcn.10033770
jmp 0x1001b5d8
cmp dword [ebp + 0xc], 0
jbe 0x1001b5d8
push dword [ebp + 0xc]
lea eax, [ebp - 0x44]
push esi
push eax
call fcn.100b0db0
add esp, 0xc
xor eax, eax
xor byte [ebp + eax - 0x44], 0x36
inc eax
cmp eax, ebx
jb 0x1001b5da
mov ecx, edi
call fcn.10032b90
push ebx
lea edx, [ebp - 0x44]
mov ecx, edi
call fcn.100336c0
xor eax, eax
xor byte [ebp + eax - 0x44], 0x6a
inc eax
cmp eax, ebx
jb 0x1001b5f8
lea esi, [edi + 0x68]
mov ecx, esi
call fcn.10032b90
push ebx
lea edx, [ebp - 0x44]
mov ecx, esi
call fcn.100336c0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100b0660
leave
ret 8

Function at 0x1001bb90
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
mov eax, dword [esp + 4]
inc eax
mov edx, 4
push esi
jmp 0x1001bba0
movzx esi, byte [eax - 1]
mov esi, dword [esi*4 + 0x100ee960]
xor dword [ecx + 0x100], esi
movzx esi, byte [eax]
mov esi, dword [esi*4 + 0x100ee960]
xor dword [ecx + 0x104], esi
movzx esi, byte [eax + 1]
mov esi, dword [esi*4 + 0x100ee960]
xor dword [ecx + 0x108], esi
movzx esi, byte [eax + 2]
mov esi, dword [esi*4 + 0x100ee960]
xor dword [ecx + 0x10c], esi
add eax, 4
sub edx, 1
jne 0x1001bba0
pop esi
ret 4
Function at 0x1001c3ec
Capabilities:
Encode data using xor

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0xf8
mov eax, dword [0x100e6dd4]
xor eax, ebp
mov dword [ebp + 0x70], eax
mov eax, ecx
push 0x20
add eax, 0x194
push eax
lea ecx, [ebp - 0x80]
call fcn.1001b574
mov eax, dword [ebp + 0x7c]
push 4
lea edx, [ebp - 0x84]
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x84], eax
call fcn.100336c0
lea eax, [ebp + 0x50]
push eax
lea ecx, [ebp - 0x80]
call fcn.1001b628
xor eax, eax
xor edx, edx
push esi
movzx esi, byte [ebp + edx + 0x50]
mov ecx, edx
and ecx, 3
shl ecx, 3
shl esi, cl
xor eax, esi
inc edx
cmp edx, 0x20
jb 0x1001c43d
mov ecx, dword [ebp + 0x70]
xor ecx, ebp
pop esi
call fcn.100b0660
add ebp, 0x74
leave
ret 4
Function at 0x1001c606
Capabilities:
Encode data using xor

Disassembly:
push 0x20c
mov eax, 0x100b91d0
call fcn.100b0abe
mov ebx, ecx
lea esi, [ebx + 0x14c]
cmp byte [esi], 0
je 0x1001c7ec
push 0x100e95e8
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp byte [0x100e9580], 0
jne 0x1001c656
mov edi, 0x100e9580
push edi
mov ecx, esi
call fcn.1001c4b8
test al, al
je 0x1001c656
push edi
mov ecx, esi
call fcn.1001c1bd
mov byte [esi], 0
push 0x100e95e8
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp byte [esi], 0
je 0x1001c7ec
mov eax, dword [ebx + 0x168]
mov ecx, dword [ebx + 0x164]
push eax
push ecx
lea ecx, [ebp - 0x210]
call fcn.1001b574
push 0x34
pop ecx
lea esi, [ebp - 0x210]
lea edi, [ebp - 0x140]
rep movsd dword es:[edi], dword [esi]
push 0x10
lea edx, [ebx + 0x154]
lea ecx, [ebp - 0x140]
call fcn.100336c0
push 4
lea edx, [ebp - 0x30]
lea ecx, [ebp - 0x140]
mov byte [ebp - 0x30], 0
mov byte [ebp - 0x2f], 0
mov byte [ebp - 0x2e], 0
mov byte [ebp - 0x2d], 1
call fcn.100336c0
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x140]
call fcn.1001b628
push 0x20
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.100b0db0
mov ecx, dword [ebx + 0x150]
xor eax, eax
inc eax
shl eax, cl
add esp, 0xc
dec eax
and dword [ebp - 0x214], 0
mov dword [ebp - 0x218], eax
test eax, eax
je 0x1001c74d
push 0x34
pop ecx
lea esi, [ebp - 0x210]
lea edi, [ebp - 0x140]
rep movsd dword es:[edi], dword [esi]
push 0x20
lea edx, [ebp - 0x30]
lea ecx, [ebp - 0x140]
call fcn.100336c0
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x140]
call fcn.1001b628
xor eax, eax
mov cl, byte [ebp + eax - 0x30]
xor byte [ebp + eax - 0x50], cl
inc eax
cmp eax, 0x20
jb 0x1001c737
dec dword [ebp - 0x218]
jne 0x1001c705
cmp dword [ebp - 0x214], 0
jne 0x1001c75e
lea eax, [ebx + 0x16c]
jmp 0x1001c770
cmp dword [ebp - 0x214], 1
lea eax, [ebx + 0x194]
je 0x1001c770
lea eax, [ebp - 0x70]
push 0x20
lea ecx, [ebp - 0x50]
push ecx
push eax
call fcn.100b0db0
add esp, 0xc
inc dword [ebp - 0x214]
cmp dword [ebp - 0x214], 3
push 0x10
pop eax
jb 0x1001c6fb
lea edi, [ebx + 0x18c]
lea esi, [ebp - 0x70]
movsd dword es:[edi], dword [esi]
push 8
movsd dword es:[edi], dword [esi]
pop esi
mov cl, byte [ebp + esi - 0x70]
mov eax, esi
and eax, 7
lea eax, [eax + ebx + 0x18c]
xor byte [eax], cl
inc esi
cmp esi, 0x20
jb 0x1001c7a3
mov esi, 0x100e95e8
lea edi, [ebx + 0x14c]
push esi
mov byte [edi], 0
mov dword [ebp - 0x218], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
and dword [ebp - 4], 0
push edi
mov ecx, 0x100e9580
call fcn.1001c59f
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, ebx
call fcn.1001c1fa
test al, al
je 0x1001c81f
cmp byte [ebx + 0x1bc], 0
je 0x1001c81f
lea eax, [ebx + 0x1b4]
push 8
push eax
add ebx, 0x18c
push ebx
call fcn.100aefe0
add esp, 0xc
neg eax
sbb eax, eax
inc eax
jmp 0x1001c821
mov al, 1
call fcn.100b0b41
ret
Function at 0x1001cc62
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 8], 0
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 4]
mov eax, dword [edi]
mov ebx, edx
mov dword [ebp - 4], edi
lea esi, [edi + ecx*4 + 8]
je 0x1001cce6
jmp 0x1001cc8d
mov cl, byte [esi + eax]
xor byte [ebx], cl
inc eax
inc ebx
dec dword [ebp + 8]
je 0x1001cc92
cmp eax, 0x10
jne 0x1001cc81
cmp dword [ebp + 8], 0x10
jb 0x1001ccb8
mov edi, dword [ebp + 8]
shr edi, 4
push edi
lea ecx, [esi + 0x10]
mov edx, ebx
call dword [0x100ee944]
shl edi, 4
add ebx, edi
sub dword [ebp + 8], edi
mov edi, dword [ebp - 4]
push 0x10
pop eax
cmp dword [ebp + 8], 0
je 0x1001cce4
xor eax, eax
mov edi, esi
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 1
lea ecx, [esi + 0x10]
mov edx, esi
stosd dword es:[edi], eax
call dword [0x100ee944]
xor eax, eax
mov cl, byte [esi + eax]
xor byte [ebx], cl
inc eax
inc ebx
dec dword [ebp + 8]
jne 0x1001ccd5
mov edi, dword [ebp - 4]
mov dword [edi], eax
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x1001cec0
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg

Disassembly:
push esi
push edi
mov edi, dword [esp + 0x14]
xor esi, esi
mov eax, 0x12345678
mov ecx, 0x23456789
mov edx, 0x34567890
test edi, edi
jbe 0x1001cf21
push ebx
mov ebx, dword [esp + 0x14]
push ebp
movzx ebp, byte [esi + ebx]
xor ebp, eax
and ebp, 0xff
shr eax, 8
xor eax, dword [ebp*4 + 0x100ee960]
inc esi
movzx ebp, al
add ebp, ecx
imul ebp, ebp, 0x8088405
inc ebp
mov ecx, ebp
shr ebp, 0x18
xor ebp, edx
and ebp, 0xff
shr edx, 8
xor edx, dword [ebp*4 + 0x100ee960]
cmp esi, edi
jb 0x1001cee1
pop ebp
pop ebx
mov esi, dword [esp + 0xc]
mov dword [esi + 0x14], eax
pop edi
mov dword [esi + 0x18], ecx
mov dword [esi + 0x1c], edx
xor eax, eax
pop esi
ret 0xc

Function at 0x1001cfc0
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg

Disassembly:
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0xc]
mov edx, dword [ecx + 0xc]
push ebp
mov ebp, dword [ecx + 0x10]
push esi
mov esi, dword [ecx + 0x14]
push edi
xor edi, edi
test eax, eax
jbe 0x1001d040
mov ecx, dword [esp + 0x14]
push ebx
nop
mov bl, byte [edi + ecx]
mov ecx, esi
or ecx, 2
mov eax, ecx
xor eax, 1
imul eax, ecx
mov ecx, dword [esp + 0x18]
shr eax, 8
xor al, bl
mov byte [edi + ecx], al
movzx eax, bl
xor eax, edx
and eax, 0xff
shr edx, 8
xor edx, dword [eax*4 + 0x100ee960]
inc edi
movzx eax, dl
add eax, ebp
imul eax, eax, 0x8088405
inc eax
mov ebp, eax
shr eax, 0x18
xor eax, esi
and eax, 0xff
shr esi, 8
xor esi, dword [eax*4 + 0x100ee960]
mov eax, dword [esp + 0x1c]
cmp edi, eax
jb 0x1001cfe0
mov ecx, dword [esp + 0x14]
pop ebx
pop edi
mov dword [ecx + 0x14], esi
pop esi
mov dword [ecx + 0x10], ebp
mov dword [ecx + 0xc], edx
pop ebp
ret 0xc
Function at 0x1001d0a0
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg

Disassembly:
mov eax, dword [esp + 4]
push ebx
mov ebx, dword [eax + 0xc]
push ebp
mov ebp, dword [eax + 0x10]
push esi
mov esi, dword [eax + 0x14]
push edi
xor edi, edi
cmp dword [esp + 0x1c], edi
jbe 0x1001d11a
mov eax, dword [esp + 0x18]
lea ecx, [ecx]
mov edx, esi
or edx, 2
mov ecx, edx
xor ecx, 1
imul ecx, edx
shr ecx, 8
xor cl, byte [edi + eax]
inc edi
movzx edx, cl
xor edx, ebx
and edx, 0xff
shr ebx, 8
xor ebx, dword [edx*4 + 0x100ee960]
movzx edx, bl
add edx, ebp
imul edx, edx, 0x8088405
inc edx
mov ebp, edx
shr edx, 0x18
xor edx, esi
and edx, 0xff
shr esi, 8
xor esi, dword [edx*4 + 0x100ee960]
mov byte [edi + eax - 1], cl
cmp edi, dword [esp + 0x1c]
jb 0x1001d0c0
mov eax, dword [esp + 0x14]
pop edi
mov dword [eax + 0x14], esi
pop esi
mov dword [eax + 0x10], ebp
mov dword [eax + 0xc], ebx
mov eax, dword [esp + 0x14]
pop ebp
pop ebx
ret 0xc

Function at 0x1001d130
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xa4
mov eax, dword [0x100e6dd4]
xor eax, esp
mov dword [esp + 0xa0], eax
movzx eax, byte [esp + 0xa8]
push ebp
mov ebp, dword [esp + 0xb0]
push edi
push 0x40
push eax
lea ecx, [esp + 0x70]
push ecx
call fcn.100b18c0
mov edi, esi
lea edx, [esp + 0x74]
add esp, 0xc
xor ecx, ecx
sub edi, edx
nop
lea eax, [esp + ecx + 0x68]
movzx edx, byte [edi + eax]
xor byte [eax], dl
movzx edx, byte [esi + ecx + 1]
xor byte [eax + 1], dl
movzx edx, byte [esi + ecx + 2]
xor byte [eax + 2], dl
movzx edx, byte [esi + ecx + 3]
xor byte [eax + 3], dl
movzx edx, byte [esi + ecx + 4]
xor byte [eax + 4], dl
add ecx, 5
cmp ecx, 0x14
jb 0x1001d170
lea ecx, [esp + 8]
call fcn.10031a30
push 0x40
lea edx, [esp + 0x6c]
lea ecx, [esp + 0xc]
call fcn.10032810
mov edx, ebp
lea ecx, [esp + 8]
call fcn.100329e0
mov ecx, dword [esp + 0xa8]
pop edi
pop ebp
xor ecx, esp
call fcn.100b0660
add esp, 0xa4
ret 8
Function at 0x10022050
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push ebp
lea ebp, [ebx + 0x1c]
shr ebx, 2
mov eax, ebx
shr eax, 1
add eax, 3
push esi
mov dword [ecx], eax
add ecx, 0x10
xor esi, esi
mov dword [esp + 0xc], ebp
test ebx, ebx
jbe 0x10022081
mov eax, dword [edx]
mov dword [ecx + esi*4], eax
inc esi
add edx, 4
cmp esi, ebx
jb 0x10022074
cmp esi, ebp
jae 0x10022172
mov edx, esi
sub edx, ebx
lea eax, [ecx + edx*4]
mov dword [esp + 0x14], eax
push edi
xor edx, edx
mov eax, esi
div ebx
mov edi, dword [ecx + esi*4 - 4]
test edx, edx
jne 0x100220fe
movzx eax, byte [eax + 0x100c46a0]
mov edx, edi
and edx, 0xff
movzx edx, byte [edx + str.cw]
mov ebp, edi
shr ebp, 0x18
movzx ebp, byte [ebp + str.cw]
shl edx, 8
or edx, ebp
mov ebp, edi
shr ebp, 0x10
shr edi, 8
and ebp, 0xff
movzx ebp, byte [ebp + str.cw]
and edi, 0xff
movzx edi, byte [edi + str.cw]
shl edx, 8
or edx, ebp
mov ebp, dword [esp + 0x10]
shl edx, 8
xor edi, eax
or edi, edx
jmp 0x10022156
cmp ebx, 6
jbe 0x10022156
cmp edx, 4
jne 0x10022156
mov edx, edi
shr edx, 0x10
and edx, 0xff
movzx eax, byte [edx + str.cw]
mov edx, edi
shr edx, 0x18
movzx edx, byte [edx + str.cw]
shl edx, 8
or eax, edx
mov edx, edi
shr edx, 8
and edx, 0xff
movzx edx, byte [edx + str.cw]
shl eax, 8
and edi, 0xff
or eax, edx
movzx edx, byte [edi + str.cw]
shl eax, 8
or eax, edx
mov edi, eax
mov eax, dword [esp + 0x18]
mov edx, dword [eax]
xor edx, edi
mov dword [ecx + esi*4], edx
inc esi
add eax, 4
mov dword [esp + 0x18], eax
cmp esi, ebp
jb 0x10022095
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 4
Function at 0x10023760
Capabilities:
Hash data using sha256

Disassembly:
xor eax, eax
mov dword [ecx], 0x6a09e667
mov dword [ecx + 4], 0xbb67ae85
mov dword [ecx + 8], 0x3c6ef372
mov dword [ecx + 0xc], 0xa54ff53a
mov dword [ecx + 0x10], 0x510e527f
mov dword [ecx + 0x14], 0x9b05688c
mov dword [ecx + 0x18], 0x1f83d9ab
mov dword [ecx + 0x1c], 0x5be0cd19
mov dword [ecx + 0x20], eax
mov dword [ecx + 0x24], eax
mov dword [ecx + 0x28], eax
mov dword [ecx + 0x2c], eax
mov dword [ecx + 0x70], eax
mov dword [ecx + 0x74], eax
ret
Function at 0x10024140
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 8
mov eax, dword [esp + 0x10]
push ebp
push esi
mov esi, dword [eax]
push edi
mov ebp, ecx
xor edi, edi
and esi, 7
mov dword [esp + 0xc], ebp
cmp edx, 5
jae 0x10024167
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 8
ret 0xc
sub edx, 4
add dword [esp + 0x18], 5
push ebx
lea ebx, [edx + ebp]
mov dword [esp + 0x14], ebx
lea edx, [edi + ebp]
cmp edx, ebx
jae 0x1002418f
mov edi, edi
mov cl, byte [edx]
and cl, 0xfe
cmp cl, 0xe8
je 0x1002418f
inc edx
cmp edx, ebx
jb 0x10024180
mov ecx, edx
sub ecx, edi
mov eax, edx
sub eax, ebp
sub ecx, ebp
mov edi, eax
cmp edx, ebx
jae 0x1002427f
cmp ecx, 2
jbe 0x100241eb
xor esi, esi
movzx ecx, byte [edx + 4]
lea eax, [ecx + 1]
test al, 0xfe
jne 0x10024270
movzx eax, byte [edx + 3]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 2]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 1]
shl ecx, 8
or ecx, eax
mov eax, ecx
mov ecx, dword [esp + 0x1c]
lea ebp, [edi + ecx]
add edi, 5
cmp dword [esp + 0x24], 0
je 0x10024214
add eax, ebp
jmp 0x10024216
shr esi, cl
test esi, esi
je 0x100241aa
cmp esi, 4
ja 0x10024209
cmp esi, 3
je 0x10024209
mov ecx, esi
shr ecx, 1
movzx eax, byte [ecx + edx + 1]
inc eax
test al, 0xfe
jne 0x100241aa
or esi, 8
shr esi, 1
inc edi
jmp 0x10024177
sub eax, ebp
test esi, esi
je 0x1002424a
and esi, 6
add esi, esi
add esi, esi
mov ebx, eax
mov ecx, esi
shr ebx, cl
inc ebx
test bl, 0xfe
jne 0x10024244
mov ebx, 0x100
shl ebx, cl
dec ebx
xor eax, ebx
cmp dword [esp + 0x24], 0
je 0x10024242
add eax, ebp
jmp 0x10024244
sub eax, ebp
mov ebx, dword [esp + 0x14]
xor esi, esi
mov ebp, dword [esp + 0x10]
mov ecx, eax
shr ecx, 8
mov byte [edx + 1], al
mov byte [edx + 2], cl
mov ecx, eax
shr eax, 0x18
shr ecx, 0x10
and al, 1
neg al
mov byte [edx + 3], cl
mov byte [edx + 4], al
jmp 0x10024177
mov ebp, dword [esp + 0x10]
or esi, 8
shr esi, 1
inc edi
jmp 0x10024177
pop ebx
cmp ecx, 2
jbe 0x10024298
mov edx, dword [esp + 0x1c]
xor esi, esi
mov eax, edi
pop edi
mov dword [edx], esi
pop esi
pop ebp
add esp, 8
ret 0xc
mov edx, dword [esp + 0x1c]
shr esi, cl
mov eax, edi
pop edi
mov dword [edx], esi
pop esi
pop ebp
add esp, 8
ret 0xc

Function at 0x100254d0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov eax, ecx
xor edx, edx
push esi
mov dword [eax + 0x34], edx
mov byte [eax + 0x1f], dl
mov dword [eax + 0x24], edx
call fcn.100254b0
lea esi, [eax + 0x60]
mov eax, edx
and eax, 1
dec eax
not eax
and eax, 0xedb88320
mov ecx, edx
shr ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov dword [esi], ecx
inc edx
add esi, 4
cmp edx, 0x100
jb 0x100254e6
pop esi
ret
Function at 0x1002b1e0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0x14]
push esi
mov esi, eax
mov ebx, 0x100
push edi
or esi, ebx
mov eax, esi
shr eax, 7
add ebp, ebp
and eax, 1
mov ecx, ebx
and ecx, ebp
mov edx, esi
push eax
mov eax, dword [esp + 0x1c]
shr edx, 8
add ecx, ebx
add edx, ecx
lea edi, [eax + edx*2]
mov eax, dword [esp + 0x18]
call fcn.1002b140
add esi, esi
mov ecx, esi
xor ecx, ebp
not ecx
and ebx, ecx
cmp esi, 0x10000
jb 0x1002b1f1
pop edi
pop esi
pop ebp
pop ebx
ret 0xc

Function at 0x1002b290
Capabilities:
Encode data using xor

Disassembly:
push ebx
xor eax, eax
or ecx, 0x100
push edi
lea ebx, [ebx]
mov ebx, ecx
shr ebx, 7
mov edi, ecx
shr edi, 8
movzx edi, word [esi + edi*2]
and ebx, 1
neg ebx
sar ebx, 4
shr edi, 4
and ebx, 0x7f
xor edi, ebx
add eax, dword [edx + edi*4]
add ecx, ecx
cmp ecx, 0x10000
jb 0x1002b2a0
pop edi
pop ebx
ret

Function at 0x1002b2d0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
push esi
mov esi, eax
mov edx, 0x100
xor eax, eax
or ecx, edx
mov edi, edi
add esi, esi
mov ebx, edx
and ebx, esi
add ebx, edx
mov ebp, ecx
shr ebp, 8
add ebp, ebx
mov ebx, dword [esp + 0x10]
movzx ebx, word [ebx + ebp*2]
mov ebp, ecx
shr ebp, 7
and ebp, 1
neg ebp
shr ebx, 4
sar ebp, 4
and ebp, 0x7f
xor ebx, ebp
add eax, dword [edi + ebx*4]
add ecx, ecx
mov ebx, ecx
xor ebx, esi
not ebx
and edx, ebx
cmp ecx, 0x10000
jb 0x1002b2e0
pop esi
pop ebp
pop ebx
ret 4

Function at 0x1002b3b0
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, 1
shl ebx, cl
xor eax, eax
or edx, ebx
cmp edx, 1
je 0x1002b3e3
mov ecx, edx
and edx, 1
shr ecx, 1
movzx ebx, word [edi + ecx*2]
neg edx
sar edx, 4
and edx, 0x7f
shr ebx, 4
xor ebx, edx
add eax, dword [esi + ebx*4]
mov edx, ecx
cmp edx, 1
jne 0x1002b3c1
pop ebx
ret

Function at 0x1002b3f0
Capabilities:
Encode data using xor

Disassembly:
push esi
push edi
mov esi, eax
mov edi, ecx
xor eax, eax
lea edx, [eax + 1]
test edi, edi
je 0x1002b432
push ebx
push ebp
mov ebx, dword [esp + 0x14]
movzx ebx, word [ebx + edx*2]
mov ecx, esi
and ecx, 1
mov ebp, ecx
neg ebp
sar ebp, 4
and ebp, 0x7f
shr ebx, 4
xor ebx, ebp
mov ebp, dword [esp + 0x18]
add eax, dword [ebp + ebx*4]
add edx, edx
shr esi, 1
or edx, ecx
sub edi, 1
jne 0x1002b401
pop ebp
pop ebx
pop edi
pop esi
ret 8
Function at 0x10031a30
Capabilities:
Hash data using sha1

Disassembly:
xor eax, eax
mov dword [ecx], 0x67452301
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
mov dword [ecx + 0x10], 0xc3d2e1f0
mov dword [ecx + 0x18], eax
mov dword [ecx + 0x1c], eax
ret