Function at 0x4053f7
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
movzx eax, byte [0x6ea46b]
movzx eax, al
test eax, eax
je 0x405417
mov dword [esp], str.cdm:_2
call fcn.0042371d
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 0x405439
mov eax, 1
jmp 0x405659
movzx eax, byte [0x6ea46b]
movzx eax, al
test eax, eax
je 0x405453
mov dword [esp], 0x63e5bb
call fcn.0042371d
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.00433d56
xor eax, 1
test al, al
je 0x40547e
mov eax, 0
jmp 0x405659
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 0x4054a7
add dword [ebp - 0xc], 1
movzx eax, byte [0x6ea46b]
movzx eax, al
test eax, eax
je 0x4054c1
mov dword [esp], 0x63e5be
call fcn.0042371d
mov dword [ebp - 0x1c], 0
jmp 0x405528
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
movsx eax, al
test eax, eax
je 0x4054de
cmp eax, 0x2e
je 0x4054e7
jmp 0x405520
mov dword [ebp - 0x1c], 1
jmp 0x405524
cmp dword [ebp - 0x14], 0
jne 0x4054f7
mov eax, 0
jmp 0x405659
mov eax, dword [ebp - 0xc]
add eax, 1
movzx eax, byte [eax]
test al, al
jne 0x40550d
mov dword [ebp - 0x1c], 1
jmp 0x405524
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0
add dword [ebp - 0x10], 1
jmp 0x405524
add dword [ebp - 0x14], 1
add dword [ebp - 0xc], 1
cmp dword [ebp - 0x1c], 0
je 0x4054ca
movzx eax, byte [0x6ea46b]
movzx eax, al
test eax, eax
je 0x405548
mov dword [esp], 0x63e5c1
call fcn.0042371d
cmp dword [ebp - 0x10], 1
jg 0x405558
mov eax, 0
jmp 0x405659
movzx eax, byte [0x6ea46b]
movzx eax, al
test eax, eax
je 0x405572
mov dword [esp], 0x63e5c4
call fcn.0042371d
cmp dword [ebp - 0x10], 2
jne 0x4055d6
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
jmp 0x4055ba
mov eax, dword [ebp - 0x20]
mov eax, dword [eax*4 + 0x62f01c]
mov dword [esp + 8], 1
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.00433d56
test al, al
je 0x4055b6
mov dword [ebp - 0x24], 1
jmp 0x4055c0
add dword [ebp - 0x20], 1
cmp dword [ebp - 0x20], 6
jbe 0x405588
cmp dword [ebp - 0x24], 0
jne 0x4055d6
cmp dword [ebp - 0x18], 3
jg 0x4055d6
mov eax, 0
jmp 0x405659
movzx eax, byte [0x6ea46b]
movzx eax, al
test eax, eax
je 0x4055f0
mov dword [esp], 0x63e5c7
call fcn.0042371d
mov eax, dword [ebp + 8]
movzx eax, byte [eax]
cmp al, 0x2e
je 0x40563a
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 0x40563a
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 0x40563a
mov eax, 0
jmp 0x405659
movzx eax, byte [0x6ea46b]
movzx eax, al
test eax, eax
je 0x405654
mov dword [esp], 0x63e5ca
call fcn.0042371d
mov eax, 1
leave
ret