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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x18
mov edi, dword [esp + 0x30]
mov esi, dword [esp + 0x2c]
push 0x2e
push edi
call fcn.00408e80
add esp, 8
test eax, eax
je 0x402496
mov ebx, eax
jmp 0x402474
mov edi, ebx
inc edi
push 0x2e
push edi
call fcn.00408e80
add esp, 8
mov ebx, eax
test eax, eax
je 0x402496
mov eax, ebx
sub eax, edi
mov ecx, esi
mov edx, edi
push eax
call fcn.00401e80
add esp, 4
xor esi, esi
test eax, eax
je 0x402460
cmp dword [eax + 4], 4
jne 0x402460
mov esi, dword [eax + 8]
jmp 0x402460
xor eax, eax
test esi, esi
je 0x4024f6
test edi, edi
je 0x4024f6
push edi
call fcn.00408e10
add esp, 4
test eax, eax
je 0x4024da
mov ecx, 0x1505
xor ebp, ebp
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [edi + ebp]
test edx, edx
je 0x4024e1
mov ebx, ecx
shl ebx, 5
add ebx, ecx
add ebx, edx
inc ebp
mov ecx, ebx
cmp eax, ebp
jne 0x4024c0
jmp 0x4024e3
mov ebx, 0x1505
jmp 0x4024e3
mov ebx, ecx
mov dword [esp + 8], eax
mov ecx, dword [esi + 0x20]
lea ebp, [ecx - 1]
mov edx, ecx
sub edx, 1
jae 0x4024fe
xor eax, eax
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
and ebp, ebx
mov dword [esp], esi
mov eax, dword [esi + 4]
mov dword [esp + 0x14], eax
mov dword [esp + 4], edx
jmp 0x402514
inc ebp
dec ecx
je 0x4024f4
mov eax, ebp
and eax, edx
mov esi, dword [esp + 0x14]
mov esi, dword [esi + eax*4]
cmp esi, 0xffffffff
je 0x4024f4
mov eax, dword [esp]
mov eax, dword [eax + 8]
cmp dword [eax + esi*4], ebx
jne 0x402510
mov eax, dword [esp]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + esi*4]
mov dword [esp + 0x10], eax
push eax
mov dword [esp + 0x10], ecx
call fcn.00408e10
mov edx, dword [esp + 8]
mov ecx, dword [esp + 0x10]
add esp, 4
cmp eax, dword [esp + 8]
jne 0x402510
push dword [esp + 8]
push dword [esp + 0x14]
push edi
call fcn.00408e30
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
add esp, 0xc
test eax, eax
jne 0x402510
mov eax, dword [esp]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + esi*4]
jmp 0x4024f6
Function at 0x402620
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 0x40268d
mov esi, dword [esp + 0x28]
test esi, esi
je 0x40268d
push esi
call fcn.00408e10
add esp, 4
test eax, eax
je 0x40266a
mov ecx, 0x1505
xor edi, edi
nop
nop
nop
nop
movzx edx, byte [esi + edi]
test edx, edx
je 0x402671
mov ebx, ecx
shl ebx, 5
add ebx, ecx
add ebx, edx
inc edi
mov ecx, ebx
cmp eax, edi
jne 0x402650
jmp 0x402673
mov ebx, 0x1505
jmp 0x402673
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 0x402695
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 0x4026a4
inc ebp
dec edi
je 0x40268b
mov eax, ebp
and eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov esi, dword [edx + eax*4]
cmp esi, 0xffffffff
je 0x40268b
mov eax, dword [ecx + 8]
cmp dword [eax + esi*4], ebx
jne 0x4026a0
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + esi*4]
mov dword [esp + 4], eax
push eax
call fcn.00408e10
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp]
jne 0x4026a0
push dword [esp]
push dword [esp + 8]
push dword [esp + 0x30]
call fcn.00408e30
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x4026a0
mov eax, dword [ecx + 0x10]
mov ecx, dword [eax + esi*4]
test ecx, ecx
mov eax, 0
je 0x40268d
xor eax, eax
mov edx, dword [esp + 0x2c]
cmp dword [ecx + 4], edx
sete al
jmp 0x40268d
Function at 0x4028b0
Capabilities:
Hash data using djb2

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x18
mov eax, 0xffffffff
test ecx, ecx
je 0x4029b8
mov esi, edx
test edx, edx
je 0x4029b8
mov dword [esp], ecx
cmp dword [esp + 0x2c], 0
je 0x4029b8
push esi
call fcn.00408e10
add esp, 4
test eax, eax
je 0x40290a
mov ecx, 0x1505
xor edi, edi
movzx edx, byte [esi + edi]
test edx, edx
je 0x402911
mov ebp, ecx
shl ebp, 5
add ebp, ecx
add ebp, edx
inc edi
mov ecx, ebp
cmp eax, edi
jne 0x4028f0
jmp 0x402913
mov ebp, 0x1505
jmp 0x402913
mov ebp, ecx
mov dword [esp + 8], esi
mov ecx, dword [esp]
mov esi, dword [ecx + 0x20]
lea ebx, [esi - 1]
mov edx, esi
sub edx, 1
mov dword [esp + 0x10], edx
jae 0x4029c0
mov edi, 0xffffffff
mov eax, dword [ecx + 0x18]
cmp eax, dword [ecx + 0x1c]
jb 0x40297a
call fcn.00402ab0
mov ecx, eax
mov eax, 0xffffffff
test ecx, ecx
mov ecx, dword [esp + 8]
jne 0x4029b8
push ecx
call fcn.00408e10
add esp, 4
mov dword [esp + 4], eax
mov ecx, dword [esp]
mov esi, dword [ecx + 0x20]
lea ebx, [esi - 1]
mov eax, esi
sub eax, 1
mov dword [esp + 0x10], eax
jae 0x402a2f
mov edi, 0xffffffff
mov eax, dword [ecx + 0xc]
mov edx, dword [ecx + 0x18]
mov esi, dword [esp + 8]
mov dword [eax + edx*4], esi
mov eax, dword [ecx + 4]
mov edx, dword [ecx + 0x18]
mov dword [eax + edi*4], edx
mov eax, dword [ecx + 0x10]
mov edx, dword [ecx + 0x18]
mov esi, dword [esp + 0x2c]
mov dword [eax + edx*4], esi
mov eax, dword [ecx + 0x14]
mov edx, dword [ecx + 0x18]
mov dword [eax + edx*4], edi
mov eax, dword [ecx + 8]
mov edx, dword [ecx + 0x18]
mov dword [eax + edx*4], ebp
inc dword [ecx + 0x18]
mov eax, dword [ecx]
mov dword [esi], eax
xor eax, eax
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [esp + 4], eax
and ebx, ebp
mov eax, dword [ecx + 4]
mov dword [esp + 0xc], eax
jmp 0x4029d8
inc ebx
dec esi
je 0x40292f
mov edi, ebx
and edi, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
mov eax, dword [eax + edi*4]
cmp eax, 0xffffffff
je 0x402934
mov edx, dword [ecx + 8]
cmp dword [edx + eax*4], ebp
jne 0x4029d0
mov ecx, dword [ecx + 0xc]
mov edi, dword [ecx + eax*4]
push edi
call fcn.00408e10
mov ecx, dword [esp + 4]
add esp, 4
cmp eax, dword [esp + 4]
jne 0x4029d0
push dword [esp + 4]
push edi
push dword [esp + 0x10]
call fcn.00408e30
mov ecx, dword [esp + 0xc]
add esp, 0xc
test eax, eax
jne 0x4029d0
mov eax, 0xffffffff
jmp 0x4029b8
and ebx, ebp
mov eax, dword [ecx + 4]
mov dword [esp + 0xc], eax
jmp 0x402a48
inc ebx
dec esi
je 0x402975
mov edi, ebx
and edi, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
mov eax, dword [eax + edi*4]
cmp eax, 0xffffffff
je 0x40297a
mov edx, dword [ecx + 8]
cmp dword [edx + eax*4], ebp
jne 0x402a40
mov ecx, dword [ecx + 0xc]
mov eax, dword [ecx + eax*4]
mov dword [esp + 0x14], eax
push eax
call fcn.00408e10
mov ecx, dword [esp + 4]
add esp, 4
cmp eax, dword [esp + 4]
jne 0x402a40
push dword [esp + 4]
push dword [esp + 0x18]
push dword [esp + 0x10]
call fcn.00408e30
mov ecx, dword [esp + 0xc]
add esp, 0xc
test eax, eax
jne 0x402a40
jmp 0x40297a
Function at 0x403160
Capabilities:
Compute adler32 checksum
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x14
mov ebp, dword [esp + 0x2c]
test ebp, ebp
je 0x403306
mov esi, dword [esp + 0x30]
mov ecx, dword [esp + 0x28]
movzx edi, cx
shr ecx, 0x10
test esi, esi
je 0x4032ff
mov edx, 0x5e6ea9af
mov eax, esi
mul edx
shr edx, 0xb
imul eax, edx, 0x15b0
mov edx, esi
sub edx, eax
mov eax, edx
jmp 0x4031f1
add ebp, dword [esp + 0x10]
mov esi, dword [esp + 8]
mov eax, edi
mov edx, 0x80078071
mul edx
mov ebx, edx
shr ebx, 0xf
mov eax, ecx
mov edx, 0x80078071
mul edx
imul eax, ebx, 0xfff1
sub edi, eax
shr edx, 0xf
imul eax, edx, 0xfff1
sub ecx, eax
sub esi, dword [esp + 0xc]
mov eax, 0x15b0
je 0x4032ff
xor edx, edx
cmp eax, 8
mov dword [esp + 8], esi
jb 0x40326c
mov edx, eax
and edx, 0x1ff8
mov dword [esp], edx
mov edx, 7
nop
nop
nop
nop
mov ebx, eax
movzx eax, byte [ebp]
add eax, edi
add ecx, eax
movzx esi, byte [ebp + 1]
add esi, eax
add ecx, esi
movzx eax, byte [ebp + 2]
mov edi, esi
and edi, eax
xor esi, eax
lea eax, [esi + edi*2]
add ecx, eax
movzx esi, byte [ebp + 3]
add esi, eax
add ecx, esi
movzx eax, byte [ebp + 4]
add eax, esi
add ecx, eax
movzx esi, byte [ebp + 5]
add esi, eax
add ecx, esi
movzx eax, byte [ebp + 6]
add eax, esi
add ecx, eax
movzx edi, byte [ebp + 7]
add edi, eax
mov eax, ebx
add ecx, edi
add ebp, 8
add edx, 8
cmp edx, ebx
jb 0x403210
mov esi, dword [esp + 8]
mov edx, dword [esp]
mov ebx, eax
sub ebx, edx
mov dword [esp + 0xc], eax
jbe 0x4031b8
mov dword [esp], edx
not edx
add edx, eax
mov dword [esp + 4], edx
mov edx, eax
and edx, 3
mov dword [esp + 0x10], ebx
je 0x4032b4
neg edx
xor eax, eax
mov ebx, ebp
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx esi, byte [ebx]
inc ebx
add edi, esi
add ecx, edi
dec eax
cmp edx, eax
jne 0x4032a0
mov edx, dword [esp]
sub edx, eax
jmp 0x4032b9
mov ebx, ebp
mov edx, dword [esp]
mov eax, dword [esp + 4]
cmp eax, 3
jb 0x4031b0
mov eax, dword [esp + 0xc]
sub eax, edx
xor edx, edx
nop
nop
movzx esi, byte [ebx + edx]
add esi, edi
add ecx, esi
movzx edi, byte [ebx + edx + 1]
add edi, esi
add ecx, edi
movzx esi, byte [ebx + edx + 2]
add esi, edi
add ecx, esi
movzx edi, byte [ebx + edx + 3]
add edi, esi
add ecx, edi
add edx, 4
cmp eax, edx
jne 0x4032d0
jmp 0x4031b0
shl ecx, 0x10
or ecx, edi
jmp 0x40330b
mov ecx, 1
mov eax, ecx
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x403320
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebx
push edi
push esi
mov edx, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
not ecx
cmp edx, 4
jb 0x40339c
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
shr eax, 8
xor cl, byte [edi]
movzx ecx, cl
xor eax, dword [ecx*4 + 0x435938]
mov esi, eax
shr esi, 8
xor al, byte [edi + 1]
movzx eax, al
mov eax, dword [eax*4 + 0x435938]
mov ecx, eax
and ecx, esi
add ecx, ecx
sub eax, ecx
add eax, esi
mov ebx, eax
xor al, byte [edi + 2]
shr ebx, 8
movzx eax, al
xor ebx, dword [eax*4 + 0x435938]
mov ecx, ebx
xor bl, byte [edi + 3]
shr ecx, 8
movzx eax, bl
xor ecx, dword [eax*4 + 0x435938]
add edi, 4
add edx, 0xfffffffc
cmp edx, 3
ja 0x403340
test edx, edx
je 0x4033ae
test dl, 1
jne 0x4033b2
mov esi, edx
cmp edx, 1
jne 0x4033ce
jmp 0x40340c
mov eax, ecx
jmp 0x40340c
mov eax, ecx
xor cl, byte [edi]
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x435938]
inc edi
lea esi, [edx - 1]
mov ecx, eax
cmp edx, 1
je 0x40340c
xor edx, edx
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, eax
shr ecx, 8
xor al, byte [edi + edx]
movzx eax, al
xor ecx, dword [eax*4 + 0x435938]
mov eax, ecx
shr eax, 8
xor cl, byte [edi + edx + 1]
movzx ecx, cl
xor eax, dword [ecx*4 + 0x435938]
add edx, 2
cmp esi, edx
jne 0x4033e0
not eax
pop esi
pop edi
pop ebx
ret
Function at 0x409330
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
call fcn.00409430
push eax
mov edi, esp
sub esp, 0x100
mov esi, esp
call fcn.00430780
test al, 1
jne 0x409350
jmp 0x4093c0
call fcn.0042b8d0
test al, 1
jne 0x40935b
jmp 0x4093b7
sub esp, 4
mov dword [esp], 0xfffffff6
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov dword [edi], eax
xor eax, eax
sub esp, 0xc
mov dword [esp], esi
mov dword [esp + 4], 0
mov dword [esp + 8], 0x100
call fcn.00408d20
add esp, 0xc
lea eax, str.eleet_or_leetspeak__is_a_system_of_modified_spellings_used_primarily_on_the_internet._it_often_uses_character_replacements_in_ways_that_play_on_the_similarity_of_their_glyphs_via_reflection_or_other_resemblance
sub esp, 8
mov dword [esp], esi
mov dword [esp + 4], eax
call fcn.004093e0
add esp, 8
call fcn.0040a7c0
test al, 1
jne 0x4093b0
jmp 0x4093b7
call fcn.00410d40
jmp 0x4093b7
call fcn.00432560
jmp 0x4093be
jmp 0x4093c0
xor eax, eax
sub esp, 4
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x409490
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x20c
mov dword [esp], ecx
mov edi, dword [esp + 0x220]
movzx ecx, word [edi]
test cx, cx
je 0x4095ba
lea eax, [edi + 2]
xor ebx, ebx
jmp 0x4094cd
add ebx, esi
movzx ecx, word [eax]
add eax, 2
test cx, cx
je 0x4094f1
movzx ebp, cx
xor ecx, ecx
cmp ebp, 0x800
setb dl
mov esi, 1
cmp ebp, 0x80
jb 0x4094c0
mov cl, dl
xor ecx, 3
mov esi, ecx
jmp 0x4094c0
lea esi, [ebx + 1]
push esi
call fcn.0042f310
add esp, 4
mov ebp, eax
test ebx, ebx
jle 0x4095c8
add ebx, ebp
add esi, ebp
mov eax, ebp
mov dword [esp + 8], esi
jmp 0x409538
mov byte [eax], dl
mov esi, 1
add edi, 2
add eax, esi
cmp eax, ebx
mov esi, dword [esp + 8]
jae 0x4095ca
movzx edx, word [edi]
test dx, dx
je 0x4095ca
cmp dx, 0x7f
jbe 0x409520
mov ecx, eax
not ecx
add ecx, esi
movzx esi, dx
cmp ecx, 2
jb 0x409580
cmp esi, 0x7ff
ja 0x409580
mov ecx, edx
shr ecx, 6
add cl, 0xc0
mov byte [eax], cl
and dl, 0x3f
or dl, 0x80
mov byte [eax + 1], dl
mov esi, 2
jmp 0x409527
mov dword [esp + 4], esi
xor esi, esi
cmp ecx, 3
jb 0x409527
mov esi, dword [esp + 4]
mov ecx, esi
shr ecx, 0xc
or cl, 0xe0
mov byte [eax], cl
mov ecx, esi
shr ecx, 6
and cl, 0x3f
or cl, 0x80
mov byte [eax + 1], cl
and dl, 0x3f
or dl, 0x80
mov byte [eax + 2], dl
mov esi, 3
jmp 0x409527
push 1
call fcn.0042f310
add esp, 4
mov ebp, eax
jmp 0x4095ca
mov eax, ebp
mov edi, dword [esp + 0x228]
mov edx, dword [esp + 0x224]
mov byte [eax], 0
xor ecx, ecx
jmp 0x4095e7
mov ebx, eax
mov byte [esp + ecx + 0xc], bl
inc ecx
movzx eax, byte [ebp + ecx]
mov bl, 0x2f
cmp eax, 0x5c
je 0x4095e2
test eax, eax
jne 0x4095e0
mov byte [esp + ecx + 0xc], 0
lea eax, [esp + 0xc]
push 0
push 0
push 0
mov ecx, dword [esp + 0xc]
push dword [ecx + 8]
add ecx, 0x10
push 0
push 0
push edi
push edx
push eax
push ecx
call fcn.00405690
add esp, 0x28
test eax, eax
setne al
add esp, 0x20c
pop esi
pop edi
pop ebx
pop ebp
ret 0xc
Function at 0x40a5b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x2c
mov edx, dword [esp + 0x40]
mov esi, 0xffffffff
mov ecx, 0xfffffffd
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
add ecx, 3
cmp byte [edx + esi + 1], 0
lea esi, [esi + 1]
jne 0x40a5d0
shr ecx, 2
movzx eax, byte [edx + esi - 1]
cmp eax, 0x3d
je 0x40a5ef
cmp eax, 0x2e
jne 0x40a5f0
dec ecx
movzx eax, byte [edx + esi - 2]
cmp eax, 0x3d
je 0x40a5ff
cmp eax, 0x2e
jne 0x40a600
dec ecx
mov dword [esp + 4], ecx
mov edi, 0
test esi, esi
je 0x40a6f6
xor edi, edi
mov ebp, 2
mov dword [esp + 8], esi
jmp 0x40a632
mov edi, edx
lea eax, [ebp + 4]
add ebp, 2
cmp ebp, esi
mov ebp, eax
jae 0x40a6f6
mov esi, dword [esp + 0x40]
movzx eax, byte [esi + ebp - 2]
push eax
call fcn.00410a80
add esp, 4
mov bh, al
movzx eax, byte [esi + ebp - 1]
mov esi, dword [esp + 8]
push eax
call fcn.00410a80
add esp, 4
mov bl, al
shl bh, 2
shr al, 4
and al, 3
or al, bh
mov ecx, edi
and ecx, 1
mov edx, edi
xor edx, 1
lea edx, [edx + ecx*2]
mov ecx, dword [esp + 0x44]
mov byte [ecx + edi], al
cmp ebp, esi
jae 0x40a620
mov dword [esp], edx
mov eax, dword [esp + 0x40]
movzx eax, byte [eax + ebp]
push eax
call fcn.00410a80
add esp, 4
cmp al, 0x40
jne 0x40a6a0
mov edi, dword [esp]
jmp 0x40a622
mov bh, al
shl bl, 4
shr al, 2
and al, 0xf
or al, bl
mov edx, dword [esp]
lea edi, [edx + 1]
mov ecx, dword [esp + 0x44]
mov byte [ecx + edx], al
lea eax, [ebp + 1]
cmp eax, esi
jae 0x40a622
mov eax, dword [esp + 0x40]
movzx eax, byte [eax + ebp + 1]
push eax
call fcn.00410a80
add esp, 4
cmp al, 0x40
je 0x40a622
shl bh, 6
add al, bh
mov ecx, dword [esp + 0x44]
mov edi, dword [esp]
mov byte [ecx + edi + 1], al
add edi, 2
jmp 0x40a622
mov ebx, dword [esp + 4]
cmp edi, ebx
mov eax, 0
jne 0x40a775
lea edi, [esp + 0xc]
mov esi, dword [esp + 0x44]
mov eax, esi
mov ecx, 8
xchg esi, eax
rep movsd dword es:[edi], dword [esi]
xchg esi, eax
mov eax, ebx
add eax, 0xffffffe0
je 0x40a771
xor edi, edi
cmp ebx, 0x21
je 0x40a75b
mov ecx, eax
and ecx, 0xfffffffe
xor edi, edi
nop
nop
nop
nop
nop
mov edx, edi
and edx, 0x1e
movzx edx, byte [esp + edx + 0xc]
xor dl, byte [esi + edi + 0x20]
mov byte [esi + edi], dl
lea edx, [edi + 1]
and edx, 0x1f
movzx edx, byte [esp + edx + 0xc]
xor dl, byte [esi + edi + 0x21]
mov byte [esi + edi + 1], dl
add edi, 2
cmp ecx, edi
jne 0x40a730
test bl, 1
je 0x40a771
mov ecx, edi
and ecx, 0x1f
movzx ecx, byte [esp + ecx + 0xc]
xor cl, byte [esi + edi + 0x20]
mov byte [esi + edi], cl
mov byte [esi + eax], 0
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x41c0e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xb0
mov dword [esp + 0x10], 0xf333cde9
mov dword [esp + 0x14], 0xf766f160
mov dword [esp + 0x18], 0xfb1bf530
mov dword [esp + 0x1c], 0xff1ff96c
mov dword [esp + 0x20], 0xe31efdd9
mov dword [esp + 0x24], 0xe70ee114
mov dword [esp + 0x28], 0xeb78e571
mov dword [esp + 0x2c], 0xef0be90c
mov dword [esp + 0x30], 0x9374ed7a
mov dword [esp + 0x34], 0x97009179
mov dword [esp + 0x38], 0x9b669570
mov dword [esp + 0x3c], 0x9f089968
mov dword [esp + 0x40], 0x83689d0f
mov dword [esp + 0x44], 0x876a8169
mov dword [esp + 0x48], 0x8b1d8561
mov word [esp + 0x4c], 0x8988
mov dword [esp + 0x4e], 0
mov dword [esp + 0x52], 0
mov dword [esp + 0x56], 0
mov dword [esp + 0x59], 0
mov dword [esp + 0x6c], 0
mov eax, dword [esp + 0x6c]
cmp eax, 0x4c
ja 0x41c1c5
nop
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x6c]
add al, 0x9e
xor al, byte [esp + ecx + 0x10]
add al, 0xae
mov ecx, dword [esp + 0x6c]
mov byte [esp + ecx + 0x10], al
inc dword [esp + 0x6c]
mov eax, dword [esp + 0x6c]
cmp eax, 0x4d
jb 0x41c1a0
movzx edx, word [esp + 0x10]
lea eax, [esp + 0x6c]
mov ecx, eax
test dx, dx
je 0x41c1f1
lea ecx, [esp + 0x6c]
lea esi, [esp + 0x12]
nop
nop
nop
mov word [ecx], dx
add ecx, 2
movzx edx, word [esi]
add esi, 2
test dx, dx
jne 0x41c1e0
mov word [ecx], 0
lea ebx, [esp + 0xc]
push ebx
push 0
push 0
push 0x1e
push eax
push 0
call dword [0x44155c]
mov edi, dword [esp + 0xc]
test edi, edi
jns 0x41c219
mov eax, 0xffffffff
jmp 0x41c21c
lea eax, [edi + edi]
push eax
call fcn.0042f310
add esp, 4
mov esi, eax
lea eax, [esp + 0x6c]
push ebx
push edi
push esi
push 0x1e
push eax
push 0
call dword [0x44155c]
mov dword [esp + 0x10], 0x8b0c9522
mov dword [esp + 0x14], 0x8f1a8901
mov dword [esp + 0x18], 0x83178d2a
mov dword [esp + 0x1c], 0x87268114
mov dword [esp + 0x20], 0x7b128519
mov dword [esp + 0x24], 0x7f7879de
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x3b], 0
mov dword [esp + 8], 0
mov eax, dword [esp + 8]
cmp eax, 0x2e
ja 0x41c2ff
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp + 8]
mov eax, dword [esp + 8]
movzx edx, byte [esp + eax + 0x10]
lea edi, [ecx - 0x6f3bf093]
lea eax, [ecx + edx]
add eax, 0x90c40f6d
add ecx, 0x6d
mov ebx, ecx
and ebx, edi
and ebx, edx
xor ecx, edi
and ecx, edx
lea ecx, [ecx + ebx*2]
mov edx, eax
not edx
and edx, ecx
not ecx
and ecx, eax
sub ecx, edx
add cl, 5
mov eax, dword [esp + 8]
mov byte [esp + eax + 0x10], cl
inc dword [esp + 8]
mov eax, dword [esp + 8]
cmp eax, 0x2f
jb 0x41c2b0
lea eax, [esp + 0x10]
push eax
push esi
push dword [ebp + 8]
call fcn.00417cb0
add esp, 0xc
mov ebx, eax
jmp dword [0x43bb7c]
Function at 0x421bf0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xfc0
mov esi, esp
push 0x1000
call fcn.0042f310
add esp, 4
mov dword [esi + 0x84], eax
mov dword [esi + 0x560], 0xbfaecd2
mov dword [esi + 0x564], 0xdd0e1905
mov word [esi + 0x568], 0xe1c0
mov dword [esi + 0x56a], 0
mov dword [esi + 0x56e], 0
mov dword [esi + 0x572], 0
mov dword [esi + 0x576], 0
mov dword [esi + 0x579], 0
mov dword [esi + 0x170], 0
mov eax, dword [esi + 0x170]
cmp eax, 0x1c
ja 0x421cc8
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esi + 0x170]
mov eax, dword [esi + 0x170]
movzx edx, byte [esi + eax + 0x560]
lea eax, [ecx + edx]
add eax, 0xb94ec9c
add ecx, 0xb94ec9c
and ecx, edx
add ecx, ecx
sub eax, ecx
add al, 0xbc
mov ecx, dword [esi + 0x170]
mov byte [esi + ecx + 0x560], al
inc dword [esi + 0x170]
mov eax, dword [esi + 0x170]
cmp eax, 0x1d
jb 0x421c80
mov eax, dword [str.Z05cIW__messi]
mov dword [esi + 0x170], 0x76002123
mov dword [esi + 0x174], 0x6868257d
mov dword [esi + 0x178], 0x1f2a337f
mov dword [esi + 0x17c], 0x630e2d0b
mov dword [esi + 0x180], 0x727f7c65
mov dword [esi + 0x184], 0x78617a7a
mov dword [esi + 0x188], 0x36d0726a
mov dword [esi + 0x18c], 0x726b113c
mov dword [esi + 0x190], 0x5161000d
mov dword [esi + 0x194], 0xe136744
mov dword [esi + 0x198], 0x4b500d04
mov dword [esi + 0x19c], 0x4f1c0c61
mov dword [esi + 0x1a0], 0x41524050
mov dword [esi + 0x1a4], 0xbd424744
mov dword [esi + 0x1a8], 0x72765955
mov dword [esi + 0x1ac], 0xbf5e4778
mov dword [esi + 0x1b0], 0
mov dword [esi + 0x1b3], 0
mov dword [esi + 0x904], 0
mov ecx, dword [esi + 0x904]
cmp ecx, 0x46
ja 0x421dea
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov edx, dword [esi + 0x904]
mov ecx, dword [esi + 0x904]
movzx edi, byte [esi + ecx + 0x170]
lea ecx, [edx + edi]
add ecx, 0xe00359a0
add edx, 0xe00359a0
and edx, edi
add edx, edx
sub ecx, edx
add cl, 0xa0
mov edx, dword [esi + 0x904]
mov byte [esi + edx + 0x170], cl
inc dword [esi + 0x904]
mov ecx, dword [esi + 0x904]
cmp ecx, 0x47
jb 0x421da0
movzx ecx, byte [esi + 0x170]
mov edi, dword [esi + 0x84]
mov ebx, edi
test cl, cl
je 0x421e1b
lea edx, [esi + 0x171]
mov ebx, edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov byte [ebx], cl
inc ebx
movzx ecx, byte [edx]
inc edx
test cl, cl
jne 0x421e10
mov byte [ebx], 0
movzx ecx, byte [eax]
test cl, cl
je 0x421e3b
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov byte [ebx], cl
inc ebx
movzx ecx, byte [eax]
inc eax
test cl, cl
jne 0x421e30
mov byte [ebx], 0
movzx eax, byte [esi + 0x560]
test al, al
je 0x421e5b
lea ecx, [esi + 0x561]
nop
mov byte [ebx], al
inc ebx
movzx eax, byte [ecx]
inc ecx
test al, al
jne 0x421e50
mov byte [ebx], 0
push 0
call fcn.00432b70
add esp, 4
xor ecx, ecx
test eax, eax
setne cl
mov edx, dword [ecx*4 + 0x43d1ac]
mov ecx, 0xe63139c5
xor ecx, dword [0x43d1b4]
add ecx, edx
inc ecx
jmp ecx