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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x94
mov edi, dword [esp + 0xa8]
mov dword [esp + 0x64], ecx
add edi, dword [ecx + 0x60]
mov dword [esp + 0x68], 0x383f3f0a
mov dword [esp + 0x6c], 0x73353038
mov dword [esp + 0x70], 0x3f35c913
mov dword [esp + 0x74], 0x2c3e7a15
mov dword [esp + 0x78], 0x2438392b
mov dword [esp + 0x7c], 0x24232920
mov dword [esp + 0x80], 0x2566de66
mov dword [esp + 0x84], 0xd12140d
mov dword [esp + 0x88], 0x7f737d1b
mov word [esp + 0x8c], 0x627d
mov dword [esp + 0x8e], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0x29
ja 0x40aa9e
nop
nop
nop
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 0x68]
add eax, 0x5bbbe0c4
xor eax, ecx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
add al, 0x75
mov ecx, dword [esp]
mov byte [esp + ecx + 0x68], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0x2a
jb 0x40aa70
mov dword [esp + 8], 0x5a534dbd
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 3
ja 0x40aaf7
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]
lea edx, [eax + 0x3b]
add eax, ecx
and edx, ecx
add edx, edx
sub eax, edx
add eax, 0x22017c3b
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
add al, 0x9c
mov ecx, dword [esp]
mov byte [esp + ecx + 8], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 4
jb 0x40aac0
mov dword [esp + 0xc], 0x2929d7d4
mov dword [esp + 0x10], 0x252bdbc5
mov dword [esp + 0x14], 0x20131bd4
mov dword [esp + 0x18], 0x5d1e251a
mov dword [esp + 0x1c], 0xad5e686b
mov dword [esp + 0x20], 0x6fbc8480
mov dword [esp + 0x24], 0x6a56666f
mov dword [esp + 0x28], 0x71b3ab61
mov dword [esp + 0x2c], 0x7f747a7a
mov dword [esp + 0x30], 0x7f767a74
mov dword [esp + 0x34], 0x4283a87f
mov dword [esp + 0x38], 0x857a747a
mov dword [esp + 0x3c], 0x7d4f7b7d
mov dword [esp + 0x40], 0x7141be96
mov dword [esp + 0x44], 0xb69e774c
mov dword [esp + 0x48], 0x6d4b4f73
mov dword [esp + 0x4c], 0x6aab81ab
mov dword [esp + 0x50], 0x5e6a5254
mov dword [esp + 0x54], 0x89665f60
mov word [esp + 0x58], 0xc6a7
mov dword [esp + 0x5a], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 0x51
ja 0x40abe1
nop
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
movzx ecx, byte [esp + ecx + 0xc]
add eax, 0xc11048b1
xor eax, ecx
mov dword [esp], eax
mov eax, dword [esp]
add al, 0xc8
mov ecx, dword [esp + 4]
mov byte [esp + ecx + 0xc], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 0x52
jb 0x40abb0
mov eax, dword [esp + 0xac]
movzx ecx, byte [esp + 0xc]
mov edx, edi
test cl, cl
je 0x40ac0b
lea esi, [esp + 0xd]
mov edx, edi
nop
nop
nop
nop
nop
nop
nop
mov byte [edx], cl
inc edx
movzx ecx, byte [esi]
inc esi
test cl, cl
jne 0x40ac00
mov byte [edx], 0
movzx ecx, byte [eax]
test cl, cl
je 0x40ac2b
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 0x40ac20
mov byte [edx], 0
movzx eax, byte [esp + 8]
test al, al
je 0x40ac4b
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 0x40ac40
mov ebp, dword [esp + 0xb0]
mov byte [edx], 0
movzx eax, byte [esp + 0x68]
test al, al
mov dword [esp + 0x60], edi
je 0x40ac7b
lea ecx, [esp + 0x69]
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 0x40ac70
mov byte [edx], 0
mov ebx, dword [esp + 0xb4]
mov ecx, ebx
shr ecx, 2
mov eax, ebp
mov edi, edx
xchg esi, eax
rep movsd dword es:[edi], dword [esi]
xchg esi, eax
mov eax, ebx
and eax, 0xfffffffc
lea esi, [edx + eax]
add eax, ebp
mov ecx, ebx
shr ecx, 1
and ecx, 1
mov ebp, eax
mov edi, esi
xchg esi, ebp
rep movsw word es:[edi], word [esi]
xchg esi, ebp
test bl, 1
je 0x40acc4
mov ecx, dword [esp + 0xb4]
and ecx, 2
movzx eax, byte [eax + ecx]
mov byte [esi + ecx], al
mov dword [esp + 0xc], 0xeeefd3cd
mov dword [esp + 0x10], 0xdade8886
mov dword [esp + 0x14], 0x8adf8c8c
mov dword [esp + 0x18], 0x8c99819c
mov dword [esp + 0x1c], 0x99988481
mov dword [esp + 0x20], 0xfde3c499
mov word [esp + 0x24], 0xfbe5
mov byte [esp + 0x26], 0xf2
mov dword [esp + 0x27], 0
mov byte [esp + 0x2b], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0x1f
mov esi, dword [esp + 0x60]
ja 0x40ad4e
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 0xc]
add eax, 0x208c275c
xor eax, ecx
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x68]
add al, 0x7c
mov ecx, dword [esp]
mov byte [esp + ecx + 0xc], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0x20
jb 0x40ad20
add edx, dword [esp + 0xb4]
movzx eax, byte [esp + 0xc]
test al, al
je 0x40ad7b
lea ecx, [esp + 0xd]
nop
nop
nop
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 0x40ad70
mov byte [edx], 0
mov eax, edx
not eax
and eax, esi
not esi
and esi, edx
sub esi, eax
mov eax, dword [esp + 0x64]
add dword [eax + 0x60], esi
add esp, 0x94
pop esi
pop edi
pop ebx
pop ebp
ret 0x10