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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xb0
mov edi, dword [ebp + 8]
mov dword [esp + 0x1c], ecx
add edi, dword [ecx + 0x60]
mov dword [esp + 0x78], 0x574c4e9b
mov dword [esp + 0x7c], 0x825a4349
mov dword [esp + 0x80], 0x4e42587c
mov dword [esp + 0x84], 0x436fad86
mov dword [esp + 0x88], 0x53696844
mov dword [esp + 0x8c], 0x4b505851
mov dword [esp + 0x90], 0x54974997
mov dword [esp + 0x94], 0x9ca3a79e
mov dword [esp + 0x98], 0x4e404cb4
mov dword [esp + 0x9c], 0x354e
mov byte [esp + 0xa0], 0
mov dword [esp + 8], 0
mov eax, dword [esp + 8]
cmp eax, 0x28
ja 0x4099cb
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 8]
mov ecx, dword [esp + 8]
movzx ecx, byte [esp + ecx + 0x78]
lea edx, [eax - 0x2e88e19c]
add eax, 0x64
and eax, ecx
or edx, ecx
sub edx, eax
mov dword [esp + 0x20], edx
mov eax, dword [esp + 0x20]
add al, 0x44
mov ecx, dword [esp + 8]
mov byte [esp + ecx + 0x78], al
inc dword [esp + 8]
mov eax, dword [esp + 8]
cmp eax, 0x29
jb 0x409990
mov dword [esp + 8], 0x6b1c1832
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0xf
ja 0x409a45
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 8]
lea edx, [eax - 0x23f4bb2e]
and edx, ecx
add eax, ecx
add eax, 0xdc0b44d2
add edx, edx
sub eax, edx
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x20]
mov ecx, eax
xor ecx, 0x41
and eax, 0x41
lea eax, [ecx + eax*2]
inc al
mov ecx, dword [esp]
mov byte [esp + ecx + 8], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0x10
jb 0x409a00
mov dword [esp + 0x20], 0xc6c4f8f9
mov dword [esp + 0x24], 0x3a3af4f0
mov dword [esp + 0x28], 0x3f423c09
mov dword [esp + 0x2c], 0x32373e43
mov dword [esp + 0x30], 0xa374342
mov dword [esp + 0x34], 0x5409efed
mov dword [esp + 0x38], 0x512f5956
mov dword [esp + 0x3c], 0x2602145c
mov dword [esp + 0x40], 0x54595d53
mov dword [esp + 0x44], 0x641f5521
mov dword [esp + 0x48], 0x19d23366
mov dword [esp + 0x4c], 0x2a6b6f63
mov dword [esp + 0x50], 0x1a661c10
mov dword [esp + 0x54], 0x674d93f
mov dword [esp + 0x58], 0xcd270871
mov dword [esp + 0x5c], 0x27a080a
mov dword [esp + 0x60], 0x1ca2ac2
mov dword [esp + 0x64], 0x57b7d01
mov dword [esp + 0x68], 0x567f0075
mov word [esp + 0x6c], 0x91be
mov dword [esp + 0x6e], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 0x51
ja 0x409b41
nop
nop
nop
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
movzx ecx, byte [esp + ecx + 0x20]
lea edx, [eax + 0xfa]
and edx, ecx
mov esi, 0xccd52d05
sub esi, eax
or esi, ecx
not esi
add esi, ecx
sub esi, edx
mov dword [esp], esi
mov eax, dword [esp]
add al, 0x2a
mov ecx, dword [esp + 4]
mov byte [esp + ecx + 0x20], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 0x52
jb 0x409b00
mov eax, dword [ebp + 0xc]
movzx ecx, byte [esp + 0x20]
mov edx, edi
test cl, cl
je 0x409b6b
lea esi, [esp + 0x21]
mov edx, edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov byte [edx], cl
inc edx
movzx ecx, byte [esi]
inc esi
test cl, cl
jne 0x409b60
mov byte [edx], 0
movzx ecx, byte [eax]
test cl, cl
je 0x409b8b
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov byte [edx], cl
inc edx
movzx ecx, byte [eax]
inc eax
test cl, cl
jne 0x409b80
mov byte [edx], 0
movzx eax, byte [esp + 8]
test al, al
je 0x409bab
lea ecx, [esp + 9]
nop
nop
nop
nop
nop
mov byte [edx], al
inc edx
movzx eax, byte [ecx]
inc ecx
test al, al
jne 0x409ba0
mov ebx, dword [ebp + 0x14]
mov esi, dword [ebp + 0x10]
mov byte [edx], 0
movzx eax, byte [esp + 0x78]
test al, al
mov dword [esp + 0x18], edi
je 0x409bdb
lea ecx, [esp + 0x79]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov byte [edx], al
inc edx
movzx eax, byte [ecx]
inc ecx
test al, al
jne 0x409bd0
mov byte [edx], 0
mov ecx, ebx
shr ecx, 2
mov eax, esi
mov edi, edx
xchg esi, eax
rep movsd dword es:[edi], dword [esi]
xchg esi, eax
mov eax, ebx
and eax, 0xfffffffc
mov ecx, esi
lea esi, [edx + eax]
add eax, ecx
mov ecx, ebx
shr ecx, 1
and ecx, 1
mov ebx, eax
mov edi, esi
xchg esi, ebx
rep movsw word es:[edi], word [esi]
xchg esi, ebx
mov ebx, dword [ebp + 0x14]
test bl, 1
je 0x409c1d
mov ecx, ebx
and ecx, 2
movzx eax, byte [eax + ecx]
mov byte [esi + ecx], al
mov dword [esp + 0x20], 0xd8e7cbc5
mov dword [esp + 0x24], 0xa4a0928c
mov dword [esp + 0x28], 0x9ca7968a
mov dword [esp + 0x2c], 0x82918592
mov dword [esp + 0x30], 0x8d929e99
mov dword [esp + 0x34], 0xe1ebce81
mov word [esp + 0x38], 0xe3ed
mov byte [esp + 0x3a], 0xfc
mov dword [esp + 0x3b], 0
mov byte [esp + 0x3f], 0
mov dword [esp + 8], 0
mov eax, dword [esp + 8]
cmp eax, 0x1f
mov edi, dword [esp + 0x18]
ja 0x409cc0
nop
nop
nop
nop
nop
mov eax, dword [esp + 8]
mov ecx, dword [esp + 8]
movzx ecx, byte [esp + ecx + 0x20]
lea esi, [eax + ecx]
add eax, 0xdd
and eax, ecx
add eax, eax
sub esi, eax
add esi, 0xff6273dd
mov dword [esp + 0x78], esi
mov eax, dword [esp + 0x78]
add al, 0xf5
mov ecx, dword [esp + 8]
mov byte [esp + ecx + 0x20], al
inc dword [esp + 8]
mov eax, dword [esp + 8]
cmp eax, 0x20
jb 0x409c80
add edx, ebx
movzx eax, byte [esp + 0x20]
test al, al
je 0x409cdb
lea ecx, [esp + 0x21]
nop
mov byte [edx], al
inc edx
movzx eax, byte [ecx]
inc ecx
test al, al
jne 0x409cd0
mov byte [edx], 0
sub edx, edi
mov eax, dword [esp + 0x1c]
add dword [eax + 0x60], edx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x10