joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1824b0
Capabilities:
Hash data using djb2

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
xor edi, edi
cmp dword [esp + 0x24], 0
je 0x1825b1
mov ebx, dword [esp + 0x28]
test ebx, ebx
je 0x1825b1
push ebx
call fcn.0018a5d0
add esp, 4
test eax, eax
je 0x18250a
mov ecx, 0x1505
xor ebp, ebp
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [ebx + ebp]
test edx, edx
je 0x182511
mov esi, ecx
shl esi, 5
add esi, ecx
add esi, edx
inc ebp
mov ecx, esi
cmp eax, ebp
jne 0x1824f0
jmp 0x182513
mov esi, 0x1505
jmp 0x182513
mov esi, ecx
mov dword [esp], eax
mov ecx, dword [esp + 0x24]
mov ebx, dword [ecx + 0x20]
lea ebp, [ebx - 1]
mov eax, ebx
sub eax, 1
mov dword [esp + 0xc], eax
jb 0x1825b1
and ebp, esi
mov eax, dword [ecx + 4]
mov dword [esp + 8], eax
jmp 0x182544
inc ebp
dec ebx
je 0x1825af
mov eax, ebp
and eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov edi, dword [edx + eax*4]
cmp edi, 0xffffffff
je 0x1825af
mov eax, dword [ecx + 8]
cmp dword [eax + edi*4], esi
jne 0x182540
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + edi*4]
mov dword [esp + 4], eax
push eax
call fcn.0018a5d0
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp]
jne 0x182540
push dword [esp]
push dword [esp + 8]
push dword [esp + 0x30]
call fcn.0018a5f0
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x182540
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + edi*4]
test eax, eax
je 0x1825af
cmp dword [eax + 4], 2
mov edi, 0
jne 0x1825b1
mov edi, dword [eax + 8]
jmp 0x1825b1
xor edi, edi
mov eax, edi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x1825e0
Capabilities:
Hash data using djb2

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x18
fldz
fstp qword [esp + 0x10]
cmp dword [esp + 0x2c], 0
je 0x18264b
mov esi, dword [esp + 0x30]
test esi, esi
je 0x18264b
push esi
call fcn.0018a5d0
add esp, 4
test eax, eax
je 0x18262a
mov ecx, 0x1505
xor edi, edi
movzx edx, byte [esi + edi]
test edx, edx
je 0x182631
mov ebp, ecx
shl ebp, 5
add ebp, ecx
add ebp, edx
inc edi
mov ecx, ebp
cmp eax, edi
jne 0x182610
jmp 0x182633
mov ebp, 0x1505
jmp 0x182633
mov ebp, ecx
mov dword [esp], eax
mov ecx, dword [esp + 0x2c]
mov edi, dword [ecx + 0x20]
lea ebx, [edi - 1]
mov eax, edi
sub eax, 1
mov dword [esp + 0xc], eax
jae 0x182657
fld qword [esp + 0x10]
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
and ebx, ebp
mov eax, dword [ecx + 4]
mov dword [esp + 8], eax
jmp 0x182674
inc ebx
dec edi
je 0x18264b
mov eax, ebx
and eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov esi, dword [edx + eax*4]
cmp esi, 0xffffffff
je 0x18264b
mov eax, dword [ecx + 8]
cmp dword [eax + esi*4], ebp
jne 0x182670
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + esi*4]
mov dword [esp + 4], eax
push eax
call fcn.0018a5d0
mov ecx, dword [esp + 0x30]
add esp, 4
cmp eax, dword [esp]
jne 0x182670
push dword [esp]
push dword [esp + 8]
push dword [esp + 0x38]
call fcn.0018a5f0
mov ecx, dword [esp + 0x38]
add esp, 0xc
test eax, eax
jne 0x182670
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + esi*4]
test eax, eax
je 0x18264b
cmp dword [eax + 4], 3
jne 0x18264b
fld qword [eax + 8]
fstp qword [esp + 0x10]
jmp 0x18264b
Function at 0x182710
Capabilities:
Hash data using djb2

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
xor edi, edi
cmp dword [esp + 0x24], 0
je 0x182811
mov ebx, dword [esp + 0x28]
test ebx, ebx
je 0x182811
push ebx
call fcn.0018a5d0
add esp, 4
test eax, eax
je 0x18276a
mov ecx, 0x1505
xor ebp, ebp
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [ebx + ebp]
test edx, edx
je 0x182771
mov esi, ecx
shl esi, 5
add esi, ecx
add esi, edx
inc ebp
mov ecx, esi
cmp eax, ebp
jne 0x182750
jmp 0x182773
mov esi, 0x1505
jmp 0x182773
mov esi, ecx
mov dword [esp], eax
mov ecx, dword [esp + 0x24]
mov ebx, dword [ecx + 0x20]
lea ebp, [ebx - 1]
mov eax, ebx
sub eax, 1
mov dword [esp + 0xc], eax
jb 0x182811
and ebp, esi
mov eax, dword [ecx + 4]
mov dword [esp + 8], eax
jmp 0x1827a4
inc ebp
dec ebx
je 0x18280f
mov eax, ebp
and eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov edi, dword [edx + eax*4]
cmp edi, 0xffffffff
je 0x18280f
mov eax, dword [ecx + 8]
cmp dword [eax + edi*4], esi
jne 0x1827a0
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + edi*4]
mov dword [esp + 4], eax
push eax
call fcn.0018a5d0
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp]
jne 0x1827a0
push dword [esp]
push dword [esp + 8]
push dword [esp + 0x30]
call fcn.0018a5f0
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x1827a0
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + edi*4]
test eax, eax
je 0x18280f
cmp dword [eax + 4], 5
mov edi, 0
jne 0x182811
mov edi, dword [eax + 8]
jmp 0x182811
xor edi, edi
mov eax, edi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x182b40
Capabilities:
Hash data using djb2

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
xor eax, eax
cmp dword [esp + 0x24], 0
je 0x182bad
mov esi, dword [esp + 0x28]
test esi, esi
je 0x182bad
push esi
call fcn.0018a5d0
add esp, 4
test eax, eax
je 0x182b8a
mov ecx, 0x1505
xor edi, edi
nop
nop
nop
nop
movzx edx, byte [esi + edi]
test edx, edx
je 0x182b91
mov ebx, ecx
shl ebx, 5
add ebx, ecx
add ebx, edx
inc edi
mov ecx, ebx
cmp eax, edi
jne 0x182b70
jmp 0x182b93
mov ebx, 0x1505
jmp 0x182b93
mov ebx, ecx
mov dword [esp], eax
mov ecx, dword [esp + 0x24]
mov edi, dword [ecx + 0x20]
lea ebp, [edi - 1]
mov eax, edi
sub eax, 1
mov dword [esp + 0xc], eax
jae 0x182bb5
xor eax, eax
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
and ebp, ebx
mov eax, dword [ecx + 4]
mov dword [esp + 8], eax
jmp 0x182bc4
inc ebp
dec edi
je 0x182bab
mov eax, ebp
and eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov esi, dword [edx + eax*4]
cmp esi, 0xffffffff
je 0x182bab
mov eax, dword [ecx + 8]
cmp dword [eax + esi*4], ebx
jne 0x182bc0
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + esi*4]
mov dword [esp + 4], eax
push eax
call fcn.0018a5d0
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp]
jne 0x182bc0
push dword [esp]
push dword [esp + 8]
push dword [esp + 0x30]
call fcn.0018a5f0
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x182bc0
mov eax, dword [ecx + 0x10]
mov ecx, dword [eax + esi*4]
test ecx, ecx
mov eax, 0
je 0x182bad
xor eax, eax
mov edx, dword [esp + 0x2c]
cmp dword [ecx + 4], edx
sete al
jmp 0x182bad
Function at 0x18ab00
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push esi
mov eax, dword [0x1cabfc]
cmp eax, 0x270
jne 0x18ab5f
mov eax, 0xfffff640
mov edx, dword [0x1cac00]
nop
nop
nop
nop
nop
nop
nop
nop
and edx, 0x80000000
mov esi, dword [eax + 0x1cb5c4]
mov ecx, esi
and ecx, 0x7ffffffe
or ecx, edx
mov edx, esi
and esi, 1
neg esi
and esi, 0x9908b0df
xor esi, dword [eax + 0x1cbbf4]
shr ecx, 1
xor esi, ecx
mov dword [eax + 0x1cbf80], esi
add eax, 4
jne 0x18ab20
mov eax, 0x270
jmp 0x18ab75
cmp eax, 0x4e0
jb 0x18ab75
mov ecx, 0x1cabfc
call fcn.0018ad40
mov eax, dword [0x1cabfc]
lea ecx, [eax + 1]
mov dword [0x1cabfc], ecx
mov eax, dword [eax*4 + 0x1cac00]
mov ecx, eax
shr ecx, 0xb
and ecx, dword [0x1cbf80]
xor ecx, eax
mov eax, ecx
shl eax, 7
and eax, 0x9d2c5680
xor eax, ecx
mov ecx, eax
shl ecx, 0xf
and ecx, 0xefc40000
xor ecx, eax
shr ecx, 0x12
and eax, 0x7fff
xor eax, ecx
pop esi
ret

Function at 0x18ad40
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebx
push edi
push esi
mov esi, dword [ecx + 0x9c4]
mov eax, 0x3fe
nop
nop
and esi, 0x80000000
mov edi, dword [ecx + eax*4 - 0x630]
mov edx, edi
and edx, 0x7ffffffe
or edx, esi
shr edx, 1
mov esi, edi
and edi, 1
neg edi
and edi, 0x9908b0df
xor edi, dword [ecx + eax*4]
xor edi, edx
mov dword [ecx + eax*4 - 0xff4], edi
inc eax
cmp eax, 0x4e1
jne 0x18ad50
mov eax, 0x353
mov edx, 0x80000000
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
lea esi, [eax - 0x270]
mov ebx, dword [ecx + eax*4 + 4]
and ebx, edx
and esi, 1
mov edi, eax
or edi, 1
add edi, esi
mov esi, dword [ecx + edi*4 + 4]
mov edi, esi
and edi, 0x7ffffffe
or edi, ebx
shr edi, 1
and esi, 1
neg esi
and esi, 0x9908b0df
xor esi, dword [ecx + eax*4 - 0xd48]
xor esi, edi
mov dword [ecx + eax*4 - 0x9bc], esi
inc eax
cmp eax, 0x4df
jne 0x18ada0
mov esi, 0x80000000
and esi, dword [ecx + 0x1380]
mov edx, dword [ecx + 4]
mov eax, edx
and eax, 0x7ffffffe
or eax, esi
shr eax, 1
and edx, 1
neg edx
xor eax, dword [ecx + 0x634]
and edx, 0x9908b0df
xor eax, edx
mov dword [ecx + 0x9c0], eax
mov dword [ecx], 0
pop esi
pop edi
pop ebx
ret
Function at 0x18ca80
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
push ebx
push edi
push esi
push eax
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
movzx ebx, byte [edx]
test bl, bl
je 0x18ccf1
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x1c]
dec edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
test esi, esi
je 0x18cabc
cmp edx, esi
jae 0x18ccf1
test edi, edi
je 0x18ccf1
movzx ebp, bl
test bl, bl
js 0x18caf0
inc edx
lea ecx, [eax + 2]
mov word [eax], bp
mov esi, ecx
sub esi, eax
sar esi, 1
sub edi, esi
mov eax, ecx
mov esi, dword [esp + 0x24]
mov bh, byte [edx]
mov bl, bh
test bh, bh
jne 0x18cab0
jmp 0x18ccf1
mov ecx, ebp
and ecx, 0xffffffe0
cmp ecx, 0xc0
jne 0x18cb28
cmp bl, 0xc2
jb 0x18cae0
mov bh, byte [edx + 1]
movzx esi, bh
mov ecx, esi
and ecx, 0xffffffc0
cmp ecx, 0x80
jne 0x18cb8a
and ebp, 0x1f
shl ebp, 6
add edx, 2
and esi, 0x3f
or esi, ebp
jmp 0x18cbd8
mov ecx, ebp
and ecx, 0xfffffff0
cmp ecx, 0xe0
jne 0x18cb52
movzx ecx, byte [edx + 1]
cmp bl, 0xed
je 0x18cb94
cmp ebp, 0xe0
jne 0x18cb9d
mov ebx, ecx
add bl, 0x40
cmp bl, 0xe0
jb 0x18cadc
jmp 0x18cb9d
mov ecx, ebp
and ecx, 0xfffffff8
cmp ecx, 0xf0
jne 0x18ccd0
cmp bl, 0xf4
ja 0x18cae0
movzx ecx, byte [edx + 1]
je 0x18cbef
cmp ebp, 0xf0
jne 0x18cbf8
mov bh, cl
add bh, 0x40
cmp bh, 0xd0
jb 0x18cadc
jmp 0x18cbf8
inc edx
mov esi, dword [esp + 0x24]
jmp 0x18cae2
cmp cl, 0x9f
ja 0x18cadc
mov esi, ecx
and esi, 0xffffffc0
cmp esi, 0x80
jne 0x18ccd7
mov bh, byte [edx + 2]
movzx esi, bh
mov dword [esp], esi
and esi, 0xffffffc0
cmp esi, 0x80
jne 0x18cbe3
shl ebp, 0xc
and ecx, 0x3f
shl ecx, 6
or ecx, ebp
add edx, 3
mov esi, dword [esp]
and esi, 0x3f
or esi, ecx
lea ecx, [eax + 2]
mov word [eax], si
jmp 0x18cad2
add edx, 2
mov esi, dword [esp + 0x24]
jmp 0x18cae2
cmp cl, 0x8f
ja 0x18cadc
mov esi, ecx
and esi, 0xffffffc0
cmp esi, 0x80
jne 0x18ccd7
movzx ebp, byte [edx + 2]
mov esi, ebp
not esi
or esi, 0xc0
add esi, ebp
cmp esi, 0x7f
jne 0x18ccdd
mov bh, byte [edx + 3]
movzx esi, bh
mov dword [esp], esi
and esi, 0xffffffc0
cmp esi, 0x80
jne 0x18cce5
and bl, 7
movzx esi, bl
shl esi, 0x12
shl ecx, 0xc
and ebp, 0x3f
shl ebp, 6
add ecx, esi
lea esi, [ecx + ebp]
add esi, 0xfff80000
add edx, 4
and esi, 0xfffff800
cmp esi, 0xd800
je 0x18cadc
lea esi, [ecx + ebp]
mov ebx, dword [esp]
and ebx, 0x3f
add ebx, esi
add ebx, 0xfff80000
cmp ebx, 0x10000
jb 0x18cadc
cmp edi, 2
jb 0x18ccd0
add ecx, ebp
add ecx, 0x9f4b2545
add ecx, 0x60abdabb
shr ecx, 0xa
mov esi, ecx
xor esi, 0x2400
or ecx, 0x3ff
and ecx, esi
or ecx, 0xd800
mov word [eax], cx
and ebx, 0x3ff
or ebx, 0xdc00
lea ecx, [eax + 4]
mov word [eax + 2], bx
jmp 0x18cad2
mov ecx, eax
jmp 0x18cad2
inc edx
jmp 0x18cadc
add edx, 2
jmp 0x18cadc
add edx, 3
mov esi, dword [esp + 0x24]
jmp 0x18cae2
mov word [eax], 0
sub eax, dword [esp + 0x18]
sar eax, 1
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x195ed0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x428
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 4]
mov esi, 0xfffffffe
nop
nop
nop
nop
nop
nop
cmp word [eax + esi + 2], 0
lea esi, [esi + 2]
jne 0x195ef0
sar esi, 1
lea ecx, [esp + 0x7c]
push ecx
push 0
push 0
push esi
push eax
push 0
call dword [0x1cd2fc]
mov dword [esp + 0xe8], 0x195a5b61
mov dword [esp + 0xec], 0
mov ecx, 0x8f
mov edi, 0x70
movzx edx, byte [esp + ecx + 0x59]
mov ebx, ecx
xor ebx, edi
and ebx, edx
xor ebx, edi
mov dl, 0x34
sub dl, bl
mov byte [esp + ecx + 0x59], dl
inc ecx
dec edi
cmp ecx, 0x97
jne 0x195f30
xor ecx, ecx
cmp eax, dword [esp + 0xe8]
setne cl
jmp dword [ecx*4 + 0x1c6b6c]
Function at 0x1ef190
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [ecx]
test eax, eax
je 0x1ef26b
push ebp
push ebx
push edi
push esi
sub esp, 8
mov dword [esp], 0x4c4d4a4b
mov word [esp + 4], 0
mov byte [esp + 6], 0
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx esi, byte [esp + edx]
lea edi, [edx + 0x27e6f8f2]
mov ebp, 0xd
sub ebp, edx
mov ebx, ebp
or ebx, esi
and ebp, 0xd
and edi, 2
or edi, ebp
xor edi, 2
lea ebp, [edx*2 + 0x4fcdf1e4]
neg ebp
add ebp, edx
add ebp, 0xf1
or ebp, edi
and ebp, esi
not ebx
or ebx, ebp
add bl, 0x46
mov byte [esp + edx], bl
mov esi, edx
and esi, 1
xor edx, 1
lea edx, [edx + esi*2]
cmp edx, 7
jb 0x1ef1c0
mov edx, dword [0x1cd300]
test edx, edx
je 0x1ef25e
mov esi, dword [esp]
xor edi, edi
mov ebx, dword [0x1cd304]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebx + edi*8], 0x1b6183f2
je 0x1ef240
inc edi
cmp edx, edi
jne 0x1ef230
jmp 0x1ef25e
mov edx, dword [ebx + edi*8 + 4]
cmp edx, esi
je 0x1ef25e
push eax
push 4
push edx
push dword [0x1cd308]
mov esi, ecx
call fcn.001f1570
mov ecx, esi
add esp, 0x10
mov dword [ecx], 0
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1ef270
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x20
cmp dword [ecx + 8], 0
je 0x1ef330
mov eax, dword [ecx]
test eax, eax
je 0x1ef330
mov dword [esp + 0xc], eax
mov dword [esp + 4], 0x4c4d4a4b
mov word [esp + 8], 0
mov byte [esp + 0xa], 0
xor eax, eax
nop
nop
nop
nop
nop
nop
movzx edi, byte [esp + eax + 4]
lea esi, [eax + 0x27e6f8f2]
mov ebx, 0xd
sub ebx, eax
mov edx, ebx
or edx, edi
and ebx, 0xd
and esi, 2
or esi, ebx
xor esi, 2
lea ebx, [eax*2 + 0x4fcdf1e4]
neg ebx
add ebx, eax
add ebx, 0xf1
or ebx, esi
and ebx, edi
not edx
or edx, ebx
add dl, 0x46
mov byte [esp + eax + 4], dl
mov edx, eax
and edx, 1
xor eax, 1
lea eax, [eax + edx*2]
cmp eax, 7
jb 0x1ef2b0
mov eax, dword [esp + 4]
mov esi, dword [0x1cd300]
test esi, esi
je 0x1ef3ae
xor edi, edi
mov ebx, dword [0x1cd304]
nop
nop
nop
nop
nop
cmp dword [ebx + edi*8], 0xaf0e0c2e
je 0x1ef38a
inc edi
cmp esi, edi
jne 0x1ef320
jmp 0x1ef3ae
mov dword [esp + 4], 0xf9babbbc
mov dword [esp + 8], 0
mov eax, 0xd21727df
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [esp + eax + 0x2de8d825]
xor ecx, eax
mov edx, 1
sub edx, ecx
add ecx, 0xae
and edx, 9
and ecx, 0xf6
sub ecx, edx
mov byte [esp + eax + 0x2de8d825], cl
inc eax
cmp eax, 0xd21727e7
jne 0x1ef350
mov eax, dword [esp + 4]
jmp 0x1ef4c5
mov esi, dword [ebx + edi*8 + 4]
cmp esi, eax
je 0x1ef3ae
push dword [ebp + 8]
push dword [esp + 0x10]
push 8
push esi
push dword [0x1cd308]
mov esi, ecx
call fcn.001f1570
mov ecx, esi
add esp, 0x14
mov edi, dword [ebp + 0xc]
cmp edi, 1
mov esi, dword [ebp + 0x10]
mov edx, esi
sbb edx, 0
jl 0x1ef4b8
cmp eax, 0xc000010a
jne 0x1ef4b8
mov edx, 0xffffd8f0
mov eax, edi
mul edx
sub edx, edi
imul esi, esi, 0xffffd8f0
add esi, edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], esi
mov eax, dword [ecx]
mov dword [esp + 0xc], eax
mov dword [esp + 4], 0x4c4d4a4b
mov word [esp + 8], 0
mov byte [esp + 0xa], 0
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx esi, byte [esp + eax + 4]
lea edi, [eax + 0x27e6f8f2]
mov ebx, 0xd
sub ebx, eax
mov edx, ebx
or edx, esi
and ebx, 0xd
and edi, 2
or edi, ebx
xor edi, 2
lea ebx, [eax*2 + 0x4fcdf1e4]
neg ebx
add ebx, eax
add ebx, 0xf1
or ebx, edi
and ebx, esi
not edx
or edx, ebx
add dl, 0x46
mov byte [esp + eax + 4], dl
mov edx, eax
and edx, 1
xor eax, 1
lea eax, [eax + edx*2]
cmp eax, 7
jb 0x1ef410
mov eax, dword [esp + 4]
mov esi, dword [0x1cd300]
test esi, esi
je 0x1ef4b8
xor edi, edi
mov ebx, dword [0x1cd304]
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebx + edi*8], 0x4c697c35
je 0x1ef490
inc edi
cmp esi, edi
jne 0x1ef480
jmp 0x1ef4b8
mov esi, dword [ebx + edi*8 + 4]
cmp esi, eax
je 0x1ef4b8
lea eax, [esp + 0x10]
push eax
push 0
push dword [esp + 0x14]
push 0xc
push esi
push dword [0x1cd308]
mov esi, ecx
call fcn.001f1570
mov ecx, esi
add esp, 0x18
test eax, eax
js 0x1ef4c5
mov esi, eax
call fcn.001ef190
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0xc
Function at 0x1f30d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x30
mov ebx, dword [esp + 0x44]
movzx eax, word [ebx]
mov dword [esp], 0x4342fb0d
mov dword [esp + 4], 0
mov ecx, 0xae5392f0
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx esi, byte [esp + ecx + 0x51ac6d10]
xor esi, ecx
lea edx, [esi*2 + 0x30bc429e]
add esi, 0x985e214f
and edx, 2
mov edi, edx
and edi, esi
or edx, esi
xor edx, 1
add edx, edi
mov byte [esp + ecx + 0x51ac6d10], dl
inc ecx
cmp ecx, 0xae5392f8
jne 0x1f3100
mov ecx, dword [esp]
xor edx, edx
cmp ecx, eax
setne dl
xor eax, eax
jmp dword [edx*4 + 0x1caaa4]

Function at 0x1f3f00
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x28
mov esi, dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
mov dword [esp], 0x4c4d4a4b
mov word [esp + 4], 0
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, eax
add cl, 0x92
xor cl, byte [esp + eax]
add cl, 0x26
mov byte [esp + eax], cl
inc eax
cmp eax, 6
jne 0x1f3f30
mov eax, dword [esp]
mov edx, dword [0x1cd300]
test edx, edx
je 0x1f3f98
xor ebx, ebx
mov ecx, dword [0x1cd304]
nop
nop
nop
nop
nop
nop
nop
cmp dword [ecx + ebx*8], 0x9c142cda
je 0x1f3f70
inc ebx
cmp edx, ebx
jne 0x1f3f60
jmp 0x1f3f98
mov edx, dword [ecx + ebx*8 + 4]
cmp edx, eax
je 0x1f3f98
mov eax, esp
lea ecx, [esp + 0x1c]
push 5
push 0x18
push eax
push ecx
push dword [ebp + 8]
push 0x14
push edx
push dword [0x1cd308]
call fcn.001f1570
add esp, 0x20
test edi, edi
je 0x1f3fa2
mov ecx, dword [esp + 8]
mov dword [edi], ecx
test esi, esi
je 0x1f3fae
cmp byte [esp + 0x15], 0
setne byte [esi]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret

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

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x2ef008], 0x8088405
inc edx
mov dword [ebx + 0x2ef008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x492060
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
push ebp
mov edi, ecx
mov ecx, dword [ebp + 8]
mov esi, ecx
shr esi, 2
je 0x49208d
lea edi, [edi + esi*4]
lea edx, [edx + esi*4]
lea eax, [eax + esi*4]
neg esi
mov ebx, dword [eax + esi*4]
mov ebp, dword [edx + esi*4]
mov dword [edi + esi*4], ebx
xor dword [eax + esi*4], ebp
inc esi
jne 0x49207e
and ecx, 3
je 0x4920a5
mov bl, byte [ecx + eax - 1]
mov bh, byte [ecx + edx - 1]
mov byte [ecx + edi - 1], bl
xor byte [ecx + eax - 1], bh
dec ecx
jne 0x492092
pop ebp
pop esi
pop edi
pop ebx
pop ebp
ret 4
Function at 0x4920b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
push ebp
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
push esi
shr esi, 2
je 0x4920e9
lea ecx, [ecx + esi*4]
lea edi, [edi + esi*4]
lea edx, [edx + esi*4]
lea eax, [eax + esi*4]
neg esi
mov ebp, dword [eax + esi*4]
mov ebx, dword [edi + esi*4]
xor ebx, dword [edx + esi*4]
mov dword [edx + esi*4], ebx
xor ebx, dword [ecx + esi*4]
mov dword [edi + esi*4], ebp
mov dword [eax + esi*4], ebx
inc esi
jne 0x4920d1
pop esi
and esi, 3
je 0x49210e
mov bl, byte [esi + eax - 1]
mov bh, byte [esi + edx - 1]
xor bh, byte [esi + edi - 1]
mov byte [esi + edx - 1], bh
xor bh, byte [esi + ecx - 1]
mov byte [esi + edi - 1], bl
mov byte [esi + eax - 1], bh
dec esi
jne 0x4920ef
pop ebp
pop esi
pop edi
pop ebx
pop ebp
ret 8

Function at 0x492118
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov edi, ecx
mov ecx, dword [ebp + 8]
mov esi, ecx
shr esi, 2
je 0x492144
lea edi, [edi + esi*4]
lea edx, [edx + esi*4]
lea eax, [eax + esi*4]
neg esi
mov ebx, dword [edx + esi*4]
xor ebx, dword [eax + esi*4]
mov dword [edi + esi*4], ebx
mov dword [eax + esi*4], ebx
inc esi
jne 0x492135
and ecx, 3
je 0x49215c
mov bl, byte [ecx + edx - 1]
xor bl, byte [ecx + eax - 1]
mov byte [ecx + edi - 1], bl
mov byte [ecx + eax - 1], bl
dec ecx
jne 0x492149
pop esi
pop edi
pop ebx
pop ebp
ret 4

Function at 0x492164
Capabilities:
Encode data using xor

Disassembly:
push ebx
push edi
shr ecx, 1
lea edi, [eax + ecx*8]
lea edx, [edx + ecx*8]
neg ecx
mov ebx, dword [edx + ecx*8]
mov eax, dword [edx + ecx*8 + 4]
xor dword [edi + ecx*8], ebx
xor dword [edi + ecx*8 + 4], eax
inc ecx
jne 0x492170
pop edi
pop ebx
ret
Function at 0x492a8c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call dword [eax + 0x20]
mov esi, eax
mov eax, esi
shr eax, 2
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
call fcn.004926e4
mov dword [ebp - 0x10], eax
xor edx, edx
push ebp
push 0x20b7cb
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, esi
add eax, eax
push eax
mov eax, dword [ebp - 8]
pop edx
mov ecx, edx
cdq
idiv ecx
mov edi, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov dword [ebp - 0x14], eax
dec edi
test edi, edi
jl 0x492b3a
inc edi
mov edx, dword [ebp - 0x10]
mov eax, ebx
mov ecx, esi
call fcn.00465d10
mov edx, ebx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov edx, dword [ebp - 0x14]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
call fcn.00492164
lea eax, [ebx + esi]
mov ebx, eax
mov edx, dword [ebp - 0x14]
mov eax, ebx
mov ecx, esi
call fcn.00465d10
mov edx, ebx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov edx, dword [ebp - 0x10]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
call fcn.00492164
lea eax, [ebx + esi]
mov ebx, eax
dec edi
jne 0x492ae7
mov eax, esi
add eax, eax
push eax
mov eax, dword [ebp - 8]
pop edx
mov ecx, edx
cdq
idiv ecx
mov edi, edx
cmp esi, edi
jg 0x492b88
mov edx, dword [ebp - 0x10]
mov eax, ebx
mov ecx, esi
call fcn.00465d10
mov edx, ebx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov edx, dword [ebp - 0x14]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
call fcn.00492164
mov eax, dword [ebp - 4]
mov edx, dword [eax + 8]
mov eax, dword [ebp - 0x10]
mov ecx, esi
call fcn.00465d10
lea eax, [ebx + esi]
mov ebx, eax
sub edi, esi
test edi, edi
jle 0x492bb2
mov eax, dword [ebp - 4]
mov edx, dword [eax + 8]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x5c]
dec edi
test edi, edi
jl 0x492bb2
inc edi
xor eax, eax
mov edx, dword [ebp - 4]
mov edx, dword [edx + 8]
mov dl, byte [edx + eax]
xor byte [ebx + eax], dl
inc eax
dec edi
jne 0x492ba2
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x20b7d2
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.00492880
ret

Function at 0x4a1394
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
xor ebx, ebx
mov bl, dl
dec ebx
test ebx, ebx
jl 0x4a13e8
inc ebx
xor edx, edx
mov ecx, edx
shl ecx, 2
movzx esi, byte [eax + ecx]
lea esi, [esi*4 + 0x2ef814]
mov esi, dword [esi]
movzx edi, byte [eax + ecx + 1]
lea edi, [edi*4 + 0x2efc14]
xor esi, dword [edi]
movzx edi, byte [eax + ecx + 2]
lea edi, [edi*4 + 0x2f0014]
xor esi, dword [edi]
movzx edi, byte [eax + ecx + 3]
lea edi, [edi*4 + 0x2f0414]
xor esi, dword [edi]
lea ecx, [eax + ecx]
mov dword [ecx], esi
inc edx
dec ebx
jne 0x4a13a3
pop edi
pop esi
pop ebx
ret