Function at 0x40a020
Capabilities:
Contain obfuscated stackstrings
Encode data using xor
Encrypt data using rc4 prga
Resolve function by parsing pe exports

Disassembly:
push ebx
push edi
push esi
sub esp, 0x60
mov eax, dword [esp + 0x70]
add eax, dword [ecx + 0x60]
mov word [esp + 0x14], 0x85b7
mov byte [esp + 0x16], 0xba
mov word [esp + 0x17], 0
mov byte [esp + 0x19], 0
mov dword [esp + 8], 0
mov edx, dword [esp + 8]
cmp edx, 5
ja 0x40a095
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov edx, dword [esp + 8]
mov esi, dword [esp + 8]
movzx esi, byte [esp + esi + 0x14]
add edx, 0xfffb7fdf
xor edx, esi
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x1c]
add dl, 0xa5
mov esi, dword [esp + 8]
mov byte [esp + esi + 0x14], dl
inc dword [esp + 8]
mov edx, dword [esp + 8]
cmp edx, 6
jb 0x40a060
mov dword [esp + 8], 0xbe8480ae
mov word [esp + 0xc], 0xb3ba
mov dword [esp + 0xe], 0
mov word [esp + 0x12], 0
mov dword [esp], 0
mov edx, dword [esp]
cmp edx, 0xb
ja 0x40a10c
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov edx, dword [esp]
mov esi, dword [esp]
movzx esi, byte [esp + esi + 8]
lea edi, [edx + 0xdd]
and edi, esi
add edx, esi
add edi, edi
sub edx, edi
add edx, 0xb03d7cdd
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x1c]
add dl, 0xaf
mov esi, dword [esp]
mov byte [esp + esi + 8], dl
inc dword [esp]
mov edx, dword [esp]
cmp edx, 0xc
jb 0x40a0d0
mov dword [esp + 0x1c], 0xeae81415
mov dword [esp + 0x20], 0xe6e61804
mov dword [esp + 0x24], 0xe3d6d815
mov dword [esp + 0x28], 0x1e23e2d7
mov dword [esp + 0x2c], 0xee1b2f2e
mov dword [esp + 0x30], 0x20f5c3c1
mov dword [esp + 0x34], 0x25132522
mov dword [esp + 0x38], 0x32eee820
mov dword [esp + 0x3c], 0x383d393f
mov dword [esp + 0x40], 0x303b3935
mov dword [esp + 0x44], 0x3dc6ef32
mov dword [esp + 0x48], 0xc6073337
mov dword [esp + 0x4c], 0x3e0a383c
mov dword [esp + 0x50], 0x3200fdd3
mov dword [esp + 0x54], 0xf1db340d
mov byte [esp + 0x58], 0x94
mov dword [esp + 0x59], 0
mov word [esp + 0x5d], 0
mov dword [esp + 4], 0
mov edx, dword [esp + 4]
cmp edx, 0x42
ja 0x40a1ed
nop
nop
nop
nop
nop
nop
nop
mov edx, dword [esp + 4]
mov esi, dword [esp + 4]
movzx esi, byte [esp + esi + 0x1c]
lea edi, [edx + esi]
add edx, 0x72
and edx, esi
add edx, edx
sub edi, edx
add edi, 0x9d156272
mov dword [esp], edi
mov edx, dword [esp]
add dl, 0xc6
mov esi, dword [esp + 4]
mov byte [esp + esi + 0x1c], dl
inc dword [esp + 4]
mov edx, dword [esp + 4]
cmp edx, 0x43
jb 0x40a1b0
mov esi, dword [esp + 0x74]
movzx ebx, byte [esp + 0x1c]
mov edx, eax
test bl, bl
je 0x40a21b
lea edi, [esp + 0x1d]
mov edx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov byte [edx], bl
inc edx
movzx ebx, byte [edi]
inc edi
test bl, bl
jne 0x40a210
mov byte [edx], 0
movzx ebx, byte [esi]
test bl, bl
je 0x40a23b
inc esi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov byte [edx], bl
inc edx
movzx ebx, byte [esi]
inc esi
test bl, bl
jne 0x40a230
mov esi, dword [esp + 0x78]
mov byte [edx], 0
movzx ebx, byte [esp + 8]
test bl, bl
je 0x40a25b
lea edi, [esp + 9]
nop
mov byte [edx], bl
inc edx
movzx ebx, byte [edi]
inc edi
test bl, bl
jne 0x40a250
mov byte [edx], 0
movzx ebx, byte [esi]
test bl, bl
je 0x40a27b
inc esi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov byte [edx], bl
inc edx
movzx ebx, byte [esi]
inc esi
test bl, bl
jne 0x40a270
mov byte [edx], 0
movzx ebx, byte [esp + 0x14]
test bl, bl
je 0x40a29b
lea esi, [esp + 0x15]
nop
nop
nop
nop
nop
mov byte [edx], bl
inc edx
movzx ebx, byte [esi]
inc esi
test bl, bl
jne 0x40a290
mov byte [edx], 0
sub edx, eax
add dword [ecx + 0x60], edx
add esp, 0x60
pop esi
pop edi
pop ebx
ret 0xc