Function at 0x4053cf
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
movzx eax, byte [0x6ef42b]
movzx eax, al
test eax, eax
je 0x4053ef
mov dword [esp], str.cdm:_2
call fcn.004232e5
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
mov eax, dword [sym.imp.msvcrt.dll__stricmp]
call eax
test eax, eax
jne 0x405411
mov eax, 1
jmp 0x405631
movzx eax, byte [0x6ef42b]
movzx eax, al
test eax, eax
je 0x40542b
mov dword [esp], 0x6425bb
call fcn.004232e5
mov dword [esp + 8], 1
mov eax, dword [ebp + 8]
mov dword [esp + 4], eax
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call fcn.004335ee
xor eax, 1
test al, al
je 0x405456
mov eax, 0
jmp 0x405631
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], 1
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
cmp al, 0x2e
jne 0x40547f
add dword [ebp - 0xc], 1
movzx eax, byte [0x6ef42b]
movzx eax, al
test eax, eax
je 0x405499
mov dword [esp], 0x6425be
call fcn.004232e5
mov dword [ebp - 0x1c], 0
jmp 0x405500
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
movsx eax, al
test eax, eax
je 0x4054b6
cmp eax, 0x2e
je 0x4054bf
jmp 0x4054f8
mov dword [ebp - 0x1c], 1
jmp 0x4054fc
cmp dword [ebp - 0x14], 0
jne 0x4054cf
mov eax, 0
jmp 0x405631
mov eax, dword [ebp - 0xc]
add eax, 1
movzx eax, byte [eax]
test al, al
jne 0x4054e5
mov dword [ebp - 0x1c], 1
jmp 0x4054fc
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0
add dword [ebp - 0x10], 1
jmp 0x4054fc
add dword [ebp - 0x14], 1
add dword [ebp - 0xc], 1
cmp dword [ebp - 0x1c], 0
je 0x4054a2
movzx eax, byte [0x6ef42b]
movzx eax, al
test eax, eax
je 0x405520
mov dword [esp], 0x6425c1
call fcn.004232e5
cmp dword [ebp - 0x10], 1
jg 0x405530
mov eax, 0
jmp 0x405631
movzx eax, byte [0x6ef42b]
movzx eax, al
test eax, eax
je 0x40554a
mov dword [esp], 0x6425c4
call fcn.004232e5
cmp dword [ebp - 0x10], 2
jne 0x4055ae
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
jmp 0x405592
mov eax, dword [ebp - 0x20]
mov eax, dword [eax*4 + 0x63301c]
mov dword [esp + 8], 1
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.004335ee
test al, al
je 0x40558e
mov dword [ebp - 0x24], 1
jmp 0x405598
add dword [ebp - 0x20], 1
cmp dword [ebp - 0x20], 6
jbe 0x405560
cmp dword [ebp - 0x24], 0
jne 0x4055ae
cmp dword [ebp - 0x18], 3
jg 0x4055ae
mov eax, 0
jmp 0x405631
movzx eax, byte [0x6ef42b]
movzx eax, al
test eax, eax
je 0x4055c8
mov dword [esp], 0x6425c7
call fcn.004232e5
mov eax, dword [ebp + 8]
movzx eax, byte [eax]
cmp al, 0x2e
je 0x405612
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sub.msvcrt.dll_strlen
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call sub.msvcrt.dll_strlen
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
cmp eax, dword [ebp - 0x28]
jle 0x405612
mov eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x28]
lea edx, [eax - 1]
mov eax, dword [ebp + 0xc]
add eax, edx
movzx eax, byte [eax]
cmp al, 0x2e
je 0x405612
mov eax, 0
jmp 0x405631
movzx eax, byte [0x6ef42b]
movzx eax, al
test eax, eax
je 0x40562c
mov dword [esp], 0x6425ca
call fcn.004232e5
mov eax, 1
leave
ret