Function at 0x40a030
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, 0xb0
mov edi, dword [ebp + 8]
mov dword [esp + 0x74], ecx
add edi, dword [ecx + 0x60]
mov dword [esp + 0x78], 0x3f26240b
mov dword [esp + 0x7c], 0x7c3c2329
mov dword [esp + 0x80], 0x303c2a02
mov dword [esp + 0x84], 0x2b37496c
mov dword [esp + 0x88], 0x3b393a2a
mov dword [esp + 0x8c], 0x13323a31
mov dword [esp + 0x90], 0xa4f154f
mov dword [esp + 0x94], 0xa030f04
mov dword [esp + 0x98], 0x6062661a
mov word [esp + 0x9c], 0x9164
mov dword [esp + 0x9e], 0
mov dword [esp + 0xa1], 0
mov dword [esp + 8], 0
mov eax, dword [esp + 8]
cmp eax, 0x2c
ja 0x40a11e
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 8]
mov ecx, dword [esp + 8]
movzx ecx, byte [esp + ecx + 0x78]
mov edx, 0xb6
sub edx, eax
add eax, 0x57d1ad49
xor edx, eax
and edx, ecx
xor edx, eax
mov dword [esp + 0x18], edx
mov eax, dword [esp + 0x18]
inc al
mov ecx, dword [esp + 8]
mov byte [esp + ecx + 0x78], al
inc dword [esp + 8]
mov eax, dword [esp + 8]
cmp eax, 0x2d
jb 0x40a0e0
mov dword [esp + 8], 0x3121628
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0xb
ja 0x40a189
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 8]
mov edx, 0xfe
sub edx, eax
add eax, 0x32611601
xor edx, eax
and edx, ecx
xor edx, eax
mov dword [esp + 0x18], edx
mov eax, dword [esp + 0x18]
add al, 0xf9
mov ecx, dword [esp]
mov byte [esp + ecx + 8], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0xc
jb 0x40a150
mov dword [esp + 0x18], 0x6660acad
mov dword [esp + 0x1c], 0x6262b0bc
mov dword [esp + 0x20], 0x6f7a60bd
mov dword [esp + 0x24], 0x6a676e63
mov dword [esp + 0x28], 0xa2776362
mov dword [esp + 0x2c], 0x7895dfd9
mov dword [esp + 0x30], 0x757f6d76
mov dword [esp + 0x34], 0x769ab068
mov dword [esp + 0x38], 0x908d9193
mov dword [esp + 0x3c], 0x888f918d
mov dword [esp + 0x40], 0x8d4a5386
mov dword [esp + 0x44], 0x42839f83
mov dword [esp + 0x48], 0x92869094
mov dword [esp + 0x4c], 0x9698554f
mov dword [esp + 0x50], 0x59479c95
mov dword [esp + 0x54], 0x9a92949a
mov dword [esp + 0x58], 0xa5627a62
mov dword [esp + 0x5c], 0xa9a3a9ad
mov dword [esp + 0x60], 0x76afa4a9
mov word [esp + 0x64], 0xd6e
mov dword [esp + 0x69], 0
mov dword [esp + 0x66], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 0x54
ja 0x40a28c
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
movzx ecx, byte [esp + ecx + 0x18]
mov edx, 0x1f
sub edx, eax
add eax, 0xb95a68e0
xor edx, eax
and edx, ecx
xor edx, eax
mov dword [esp], edx
mov eax, dword [esp]
add al, 0xe0
mov ecx, dword [esp + 4]
mov byte [esp + ecx + 0x18], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 0x55
jb 0x40a250
mov eax, dword [ebp + 0xc]
movzx ecx, byte [esp + 0x18]
mov edx, edi
test cl, cl
je 0x40a2ab
lea esi, [esp + 0x19]
mov edx, edi
mov byte [edx], cl
inc edx
movzx ecx, byte [esi]
inc esi
test cl, cl
jne 0x40a2a0
mov byte [edx], 0
movzx ecx, byte [eax]
test cl, cl
je 0x40a2cb
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 0x40a2c0
mov byte [edx], 0
movzx eax, byte [esp + 8]
test al, al
je 0x40a2eb
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 0x40a2e0
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 + 0x70], edi
je 0x40a31b
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 0x40a310
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 0x40a35d
mov ecx, ebx
and ecx, 2
movzx eax, byte [eax + ecx]
mov byte [esi + ecx], al
mov dword [esp + 0x18], 0xe0f536d
mov dword [esp + 0x1c], 0x1a1e2826
mov dword [esp + 0x20], 0x2a1f2c2c
mov dword [esp + 0x24], 0x2cd921dc
mov dword [esp + 0x28], 0xd9d82421
mov dword [esp + 0x2c], 0x7d432419
mov word [esp + 0x30], 0x7b45
mov byte [esp + 0x32], 0x72
mov dword [esp + 0x33], 0
mov word [esp + 0x37], 0
mov dword [esp + 8], 0
mov eax, dword [esp + 8]
cmp eax, 0x20
mov edi, dword [esp + 0x70]
ja 0x40a3fe
nop
nop
nop
mov eax, dword [esp + 8]
mov ecx, dword [esp + 8]
movzx ecx, byte [esp + ecx + 0x18]
mov esi, 0xb3
sub esi, eax
add eax, 0x7fd8104c
xor esi, eax
and esi, ecx
xor esi, eax
mov dword [esp + 0x78], esi
mov eax, dword [esp + 0x78]
add al, 0xec
mov ecx, dword [esp + 8]
mov byte [esp + ecx + 0x18], al
inc dword [esp + 8]
mov eax, dword [esp + 8]
cmp eax, 0x21
jb 0x40a3c0
add edx, ebx
movzx eax, byte [esp + 0x18]
test al, al
je 0x40a41b
lea ecx, [esp + 0x19]
nop
nop
nop
mov byte [edx], al
inc edx
movzx eax, byte [ecx]
inc ecx
test al, al
jne 0x40a410
mov byte [edx], 0
sub edx, edi
mov eax, dword [esp + 0x74]
add dword [eax + 0x60], edx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x10