Function at 0x40d310
Capabilities:
Contain obfuscated stackstrings
Encrypt data using rc4 prga

Disassembly:
push ebx
push edi
push esi
sub esp, 0x5c
mov esi, ecx
mov edi, dword [esp + 0x6c]
add edi, dword [ecx + 0x60]
mov word [esp + 4], 0x2517
mov byte [esp + 6], 0x2a
mov dword [esp + 7], 0
mov byte [esp + 0xb], 0
mov dword [esp + 0x18], 0
mov eax, dword [esp + 0x18]
cmp eax, 7
ja 0x40d37b
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 0x18]
movzx eax, byte [esp + eax + 4]
push dword [esp + 0x18]
push eax
call fcn.0040e0e0
add esp, 8
mov ecx, dword [esp + 0x18]
mov byte [esp + ecx + 4], al
inc dword [esp + 0x18]
mov eax, dword [esp + 0x18]
cmp eax, 8
jb 0x40d350
mov dword [esp + 0xc], 0x8280bca6
mov word [esp + 0x10], 0xb582
mov dword [esp + 0x12], 0
mov byte [esp + 0x16], 0
mov dword [esp + 0x18], 0
mov eax, dword [esp + 0x18]
cmp eax, 0xa
ja 0x40d3db
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 0x18]
movzx eax, byte [esp + eax + 0xc]
push dword [esp + 0x18]
push eax
call fcn.0040e060
add esp, 8
mov ecx, dword [esp + 0x18]
mov byte [esp + ecx + 0xc], al
inc dword [esp + 0x18]
mov eax, dword [esp + 0x18]
cmp eax, 0xb
jb 0x40d3b0
mov dword [esp + 0x18], 0x7274a8af
mov dword [esp + 0x1c], 0x4e4a9ca0
mov dword [esp + 0x20], 0x4d52549f
mov dword [esp + 0x24], 0x46594251
mov dword [esp + 0x28], 0x96415552
mov dword [esp + 0x2c], 0x447ba1bb
mov dword [esp + 0x30], 0x43594f46
mov dword [esp + 0x34], 0x4a728c4c
mov dword [esp + 0x38], 0x444b4b41
mov dword [esp + 0x3c], 0xb4b1bb4f
mov dword [esp + 0x40], 0xab6285b6
mov dword [esp + 0x44], 0x7ebdb1b1
mov dword [esp + 0x48], 0xa6b6a4a0
mov dword [esp + 0x4c], 0xbaa4778d
mov dword [esp + 0x50], 0x7f91b8a7
mov byte [esp + 0x54], 0x50
mov dword [esp + 0x55], 0
mov word [esp + 0x59], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0x42
ja 0x40d4a6
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
movzx eax, byte [esp + eax + 0x18]
push dword [esp]
push eax
call fcn.0040dfd0
add esp, 8
mov ecx, dword [esp]
mov byte [esp + ecx + 0x18], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0x43
jb 0x40d480
mov ecx, dword [esp + 0x70]
movzx edx, byte [esp + 0x18]
mov eax, edi
test dl, dl
je 0x40d4cb
lea ebx, [esp + 0x19]
mov eax, edi
nop
nop
nop
nop
nop
mov byte [eax], dl
inc eax
movzx edx, byte [ebx]
inc ebx
test dl, dl
jne 0x40d4c0
mov byte [eax], 0
movzx edx, byte [ecx]
test dl, dl
je 0x40d4eb
inc ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov byte [eax], dl
inc eax
movzx edx, byte [ecx]
inc ecx
test dl, dl
jne 0x40d4e0
mov ecx, dword [esp + 0x74]
mov byte [eax], 0
movzx edx, byte [esp + 0xc]
test dl, dl
je 0x40d50b
lea ebx, [esp + 0xd]
nop
mov byte [eax], dl
inc eax
movzx edx, byte [ebx]
inc ebx
test dl, dl
jne 0x40d500
mov byte [eax], 0
movzx edx, byte [ecx]
test dl, dl
je 0x40d52b
inc ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov byte [eax], dl
inc eax
movzx edx, byte [ecx]
inc ecx
test dl, dl
jne 0x40d520
mov byte [eax], 0
movzx ecx, byte [esp + 4]
test cl, cl
je 0x40d54b
lea edx, [esp + 5]
nop
nop
nop
nop
nop
mov byte [eax], cl
inc eax
movzx ecx, byte [edx]
inc edx
test cl, cl
jne 0x40d540
mov byte [eax], 0
sub eax, edi
mov ecx, dword [esi + 0x60]
mov edx, ecx
and edx, eax
xor eax, ecx
lea eax, [eax + edx*2]
mov dword [esi + 0x60], eax
add esp, 0x5c
pop esi
pop edi
pop ebx
ret 0xc