Function at 0x409f30
Capabilities:
Contain obfuscated stackstrings
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xb8
mov edi, dword [ebp + 8]
mov dword [esp + 0x7c], ecx
add edi, dword [ecx + 0x60]
mov dword [esp + 0x80], 0xb7b8bee3
mov dword [esp + 0x84], 0x24abbc5
mov dword [esp + 0x88], 0x3e424c28
mov dword [esp + 0x8c], 0x433ff116
mov dword [esp + 0x90], 0x33353c40
mov dword [esp + 0x94], 0x5b54344d
mov dword [esp + 0x98], 0x50175d17
mov dword [esp + 0x9c], 0x2023572e
mov dword [esp + 0xa0], 0xfefcf850
mov word [esp + 0xa4], 0xc9fe
mov dword [esp + 0xa6], 0
mov dword [esp + 0xaa], 0
mov word [esp + 0xae], 0
mov dword [esp + 8], 0
mov eax, dword [esp + 8]
cmp eax, 0x2f
ja 0x40a054
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 8]
mov ecx, dword [esp + 8]
movzx ecx, byte [esp + ecx + 0x80]
lea edx, [eax + ecx]
add edx, 0xafe01c7a
add eax, 0xafe01c7a
and eax, ecx
add eax, eax
sub edx, eax
mov dword [esp + 0x18], edx
mov eax, dword [esp + 0x18]
mov ecx, eax
or ecx, 0xa9
and eax, 0xa9
add eax, ecx
inc al
mov ecx, dword [esp + 8]
mov byte [esp + ecx + 0x80], al
mov eax, dword [esp + 8]
mov ecx, eax
and ecx, 1
xor eax, 1
lea eax, [eax + ecx*2]
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
cmp eax, 0x30
jb 0x409ff0
mov dword [esp + 8], 0xfb8286e4
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
mov byte [esp + 0x14], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0xc
ja 0x40a0c5
mov eax, dword [esp]
mov ecx, dword [esp]
movzx edx, byte [esp + ecx + 8]
lea ecx, [eax + edx]
add ecx, 0xc937653f
add eax, 0xc937653f
and eax, edx
add eax, eax
mov edx, ecx
not edx
and edx, eax
not eax
and eax, ecx
sub eax, edx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
add al, 0x47
mov ecx, dword [esp]
mov byte [esp + ecx + 8], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0xd
jb 0x40a080
mov dword [esp + 0x18], 0x1c1a2619
mov dword [esp + 0x1c], 0x18182a32
mov dword [esp + 0x20], 0x17606a29
mov dword [esp + 0x24], 0x106f1063
mov dword [esp + 0x28], 0x380f7b64
mov dword [esp + 0x2c], 0x7e29d7d5
mov dword [esp + 0x30], 0x7d077570
mov dword [esp + 0x34], 0x7c203a76
mov dword [esp + 0x38], 0xe090973
mov dword [esp + 0x3c], 0xe070901
mov dword [esp + 0x40], 0x75b05b00
mov dword [esp + 0x44], 0x480b0703
mov dword [esp + 0x48], 0x681c6a72
mov dword [esp + 0x4c], 0x6c12ad47
mov dword [esp + 0x50], 0xa14f6611
mov dword [esp + 0x54], 0x60181e64
mov dword [esp + 0x58], 0x5d9874a4
mov dword [esp + 0x5c], 0x215b2121
mov dword [esp + 0x60], 0x7c572e5d
mov word [esp + 0x64], 0xb590
mov word [esp + 0x6e], 0
mov dword [esp + 0x6a], 0
mov dword [esp + 0x66], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 0x57
ja 0x40a1cd
nop
nop
nop
nop
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
movzx ecx, byte [esp + ecx + 0x18]
lea edx, [eax + 0x70e2dd9f]
and edx, ecx
add eax, ecx
add eax, 0x70e2dd9f
add edx, edx
sub eax, edx
mov dword [esp], eax
mov eax, dword [esp]
add al, 0xa7
mov ecx, dword [esp + 4]
mov byte [esp + ecx + 0x18], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 0x58
jb 0x40a190
mov eax, dword [ebp + 0xc]
movzx ecx, byte [esp + 0x18]
mov edx, edi
test cl, cl
je 0x40a1fb
lea esi, [esp + 0x19]
mov edx, edi
nop
nop
nop
nop
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 0x40a1f0
mov byte [edx], 0
movzx ecx, byte [eax]
test cl, cl
je 0x40a21b
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 0x40a210
mov byte [edx], 0
movzx eax, byte [esp + 8]
test al, al
je 0x40a23b
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 0x40a230
mov ebx, dword [ebp + 0x10]
mov byte [edx], 0
movzx eax, byte [esp + 0x80]
test al, al
mov dword [esp + 0x78], edi
je 0x40a26b
lea ecx, [esp + 0x81]
nop
nop
nop
nop
nop
nop
nop
nop
mov byte [edx], al
inc edx
movzx eax, byte [ecx]
inc ecx
test al, al
jne 0x40a260
mov byte [edx], 0
mov esi, dword [ebp + 0x14]
mov ecx, esi
shr ecx, 2
mov eax, ebx
mov edi, edx
xchg esi, eax
rep movsd dword es:[edi], dword [esi]
xchg esi, eax
mov ecx, esi
mov eax, esi
and eax, 0xfffffffc
lea esi, [edx + eax]
add eax, ebx
mov ebx, ecx
and ebx, 3
mov ecx, ebx
shr ecx, 1
mov edi, eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x70], esi
mov edi, esi
mov esi, dword [esp + 0x74]
xchg esi, esi
rep movsw word es:[edi], word [esi]
xchg esi, esi
mov ecx, dword [ebp + 0x14]
test cl, 1
je 0x40a2cf
mov edi, dword [ebp + 0x14]
mov ecx, edi
and ecx, 2
movzx eax, byte [eax + ecx]
xor ebx, 1
mov ecx, edi
or ecx, 2
and ecx, ebx
mov esi, dword [esp + 0x70]
mov byte [esi + ecx], al
mov dword [esp + 0x18], 0x8087a3a5
mov dword [esp + 0x1c], 0x84f8cacc
mov dword [esp + 0x20], 0xbc87b6b2
mov dword [esp + 0x24], 0xbab9b5ba
mov dword [esp + 0x28], 0x4d4abeb1
mov dword [esp + 0x2c], 0xc9d38eb9
mov word [esp + 0x30], 0xcbcd
mov byte [esp + 0x32], 0xdc
mov dword [esp + 0x33], 0
mov dword [esp + 0x37], 0
mov word [esp + 0x3b], 0
mov dword [esp + 8], 0
mov eax, dword [esp + 8]
cmp eax, 0x24
mov edi, dword [esp + 0x78]
ja 0x40a385
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 8]
mov ecx, dword [esp + 8]
movzx ecx, byte [esp + ecx + 0x18]
lea esi, [eax + 0x1383c8b9]
and esi, ecx
add eax, ecx
add eax, 0x1383c8b9
add esi, esi
sub eax, esi
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x80]
add al, 0xf1
mov ecx, dword [esp + 8]
mov byte [esp + ecx + 0x18], al
inc dword [esp + 8]
mov eax, dword [esp + 8]
cmp eax, 0x25
jb 0x40a340
add edx, dword [ebp + 0x14]
movzx eax, byte [esp + 0x18]
test al, al
je 0x40a3ab
lea ecx, [esp + 0x19]
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 0x40a3a0
mov byte [edx], 0
sub edx, edi
mov eax, dword [esp + 0x7c]
add dword [eax + 0x60], edx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x10