Function at 0xa40820
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x80
mov esi, ecx
mov eax, dword [ecx + 4]
test eax, eax
je 0xa40842
cmp eax, 2
je 0xa408bb
jmp 0xa409c3
push 0xbbf966b4
push dword [0xa20368]
call fcn.00a45690
add esp, 8
test eax, eax
je 0xa4087f
mov ecx, dword [esi]
test ecx, ecx
je 0xa408af
mov dword [esp], 0
mov edx, esp
push edx
push ecx
call eax
test eax, eax
je 0xa4088b
cmp dword [esp], 0
je 0xa4088b
mov dword [esi + 4], 3
jmp 0xa408af
mov dword [esi + 4], 1
jmp 0xa409c3
lea eax, [esp + 0x48]
push eax
call fcn.00a45f20
add esp, 4
test al, al
je 0xa408af
mov eax, dword [esp + 0x48]
mov ecx, 2
cmp eax, 3
je 0xa408ac
mov ecx, eax
mov dword [esi + 4], ecx
mov eax, dword [esi + 4]
cmp eax, 2
jne 0xa409c3
mov edi, dword [ebp + 0xc]
mov dword [esp], 0x7a5f7d5a
mov dword [esp + 4], 0x698b7b69
mov dword [esp + 8], 0x72727779
mov dword [esp + 0xc], 0x7e477965
mov dword [esp + 0x10], 0x96686a65
mov byte [esp + 0x14], 0x1c
mov word [esp + 0x15], 0
mov byte [esp + 0x17], 0
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, eax
add cl, 2
xor cl, byte [esp + eax]
add cl, 0xf6
mov byte [esp + eax], cl
inc eax
cmp eax, 0x18
jne 0xa40900
mov ebx, esp
lea eax, [esp + 0x40]
push ebx
push eax
call fcn.00a44ae0
add esp, 8
mov eax, dword [esi]
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], 0
mov dword [esp + 0x54], edi
mov eax, dword [ebp + 8]
mov dword [esp + 0x50], eax
mov dword [esp + 0x5c], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x68], 0x30
mov dword [esp + 0x74], 0
mov dword [esp + 0x70], 0
lea eax, [esp + 0x48]
push 6
push eax
push dword [esp + 0x4c]
push dword [esp + 0x4c]
call fcn.00a44bb0
mov ecx, dword [esp]
mov edx, dword [esp + 4]
mov esi, dword [ebp + 0x10]
mov dword [esi + 4], edx
mov dword [esi], ecx
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov esi, dword [ebp + 0x14]
mov dword [esi], edx
mov dword [esi + 4], ecx
mov ecx, dword [esp + 0x20]
mov edx, dword [ebp + 0x18]
mov dword [edx], ecx
mov ecx, dword [esp + 0x24]
mov edx, dword [ebp + 0x1c]
mov dword [edx], ecx
jmp 0xa40a60
mov edi, dword [esi]
mov dword [esp], 0xf4f5f6f7
mov eax, 0x92bb3fd4
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [esp + eax + 0x6d44c02c]
xor ecx, eax
mov edx, ecx
not edx
add ecx, 0x2257c0db
or edx, ecx
and edx, 1
or ecx, 1
add ecx, edx
mov byte [esp + eax + 0x6d44c02c], cl
inc eax
cmp eax, 0x92bb3fd8
jne 0xa409e0
mov eax, dword [esp]
mov ecx, dword [0xa20374]
test ecx, ecx
je 0xa40a3e
xor edx, edx
mov esi, dword [0xa20378]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [esi + edx*8], 0xba50defc
je 0xa40a6a
inc edx
cmp ecx, edx
jne 0xa40a30
mov ecx, dword [ebp + 0x10]
mov dword [ecx], ebx
mov dword [ecx + 4], 0
mov ecx, dword [ebp + 0x14]
mov dword [ecx], edi
mov dword [ecx + 4], 0
mov ecx, dword [ebp + 0x18]
mov dword [ecx], esi
mov ecx, dword [ebp + 0x1c]
mov dword [ecx], edx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x18
mov dword [esp + 0x3c], edi
mov ecx, dword [esi + edx*8 + 4]
cmp ecx, eax
je 0xa40a3e
mov eax, esp
push 0
push 0x1c
push eax
push 0
push dword [ebp + 8]
push dword [esp + 0x50]
push 6
push dword [0xa2037c]
push ecx
call fcn.00a42b10
add esp, 0x24
mov ebx, dword [esp]
mov edi, dword [esp + 0xc]
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
jmp 0xa40a3e