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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x542ad7
mov eax, dword fs:[0]
push eax
sub esp, 0xe0
mov eax, dword [0x593dc0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push eax
lea edi, [ebp - 0xa8]
mov dword [ebp - 0xac], ecx
call fcn.0040a8b0
xor esi, esi
mov dword [ebp - 4], esi
mov eax, dword [ebp - 0xa8]
cmp dword [eax - 0xc], esi
jne 0x40aa8d
mov dword [ebp - 4], 0xffffffff
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40aa86
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor al, al
jmp 0x40ad60
mov dword [ebp - 0x90], esi
push 0x400
lea edi, [ebp - 0x8c]
mov byte [ebp - 4], 1
call fcn.00403240
mov dword [ebp - 0x74], esi
mov dword [ebp - 0x70], esi
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0xa8]
lea ecx, [ebp - 0x1c]
push ecx
lea ebx, [ebp - 0x9c]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
call fcn.0040c880
cmp dword [ebp - 0x74], esi
je 0x40aaf4
mov eax, dword [ebp - 0x88]
cmp eax, esi
je 0x40aae2
mov esi, eax
call fcn.00403200
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0xa8]
jmp 0x40aa6a
xor ecx, ecx
xor eax, eax
mov word [ebp - 0x18], cx
mov dword [ebp - 0x1c], 0x640069
mov word [ebp - 0x5c], cx
mov dword [ebp - 0x6c], 0x6d0063
mov dword [ebp - 0x68], 0x5f0064
mov dword [ebp - 0x64], 0x720061
mov dword [ebp - 0x60], 0x730067
mov word [ebp - 0x48], cx
mov dword [ebp - 0x58], 0x780065
mov dword [ebp - 0x54], 0x5f0065
mov dword [ebp - 0x50], 0x69006c
mov dword [ebp - 0x4c], 0x6b006e
mov word [ebp - 0x3c], cx
mov dword [ebp - 0x44], 0x61006e
mov dword [ebp - 0x40], 0x65006d
mov dword [ebp - 0x38], 0x1b0007
mov dword [ebp - 0x34], 0x16002d
mov dword [ebp - 0x30], 0x10017
mov dword [ebp - 0x2c], 0x2d0011
mov dword [ebp - 0x28], 0x130002
mov dword [ebp - 0x24], 0x170015
mov word [ebp - 0x20], ax
xor word [ebp + eax*2 - 0x38], 0x72
inc eax
cmp eax, 0xc
jb 0x40ab83
mov eax, dword [ebp - 0x9c]
mov edi, dword [ebp - 0x98]
shl edi, 4
add edi, eax
mov dword [ebp - 0xa0], eax
cmp eax, edi
je 0x40ace5
mov edi, edi
lea esi, [ebp - 0xc4]
call fcn.00407cc0
push 0
mov ecx, esi
push ecx
lea edx, [ebp - 0xa0]
push edx
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 3
call fcn.0040ad80
push 4
mov eax, esi
push eax
lea ecx, [ebp - 0xa0]
push ecx
lea ecx, [ebp - 0x44]
call fcn.0040ad80
push 8
mov edx, esi
push edx
lea eax, [ebp - 0xa0]
push eax
lea ecx, [ebp - 0x38]
call fcn.0040ad80
push 0xc
mov ecx, esi
push ecx
lea edx, [ebp - 0xa0]
push edx
lea ecx, [ebp - 0x58]
call fcn.0040ad80
push 0x10
mov eax, esi
push eax
lea ecx, [ebp - 0xa0]
push ecx
lea ecx, [ebp - 0x6c]
call fcn.0040ad80
mov edx, dword [ebp - 0xc4]
cmp dword [edx - 0xc], 0
je 0x40acc1
mov eax, dword [ebp - 0xc0]
cmp dword [eax - 0xc], 0
je 0x40acc1
mov ecx, dword [ebp - 0xbc]
cmp dword [ecx - 0xc], 0
je 0x40acc1
mov edx, dword [ebp - 0xb8]
cmp dword [edx - 0xc], 0
je 0x40acc1
mov eax, esi
push eax
mov ecx, esi
push ecx
lea edx, [ebp - 0xe8]
push edx
call fcn.0040c360
add esp, 0xc
mov esi, dword [ebp - 0xac]
mov ecx, eax
mov edx, esi
mov byte [ebp - 4], 4
call fcn.0040cbc0
push eax
push esi
lea ebx, [ebp - 0xcc]
call fcn.0040c3d0
lea esi, [ebp - 0xe4]
mov byte [ebp - 4], 3
call fcn.00408e20
mov eax, dword [ebp - 0xe8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40acc1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea esi, [ebp - 0xc4]
call fcn.00408e20
mov eax, dword [ebp - 0xa0]
add eax, 0x10
mov dword [ebp - 0xa0], eax
cmp eax, edi
jne 0x40abb0
xor esi, esi
mov ecx, dword [ebp - 0xac]
cmp dword [ecx + 8], esi
mov edi, dword [ebp - 0x88]
setne byte [ebp - 0xa1]
cmp edi, esi
je 0x40ad31
cmp dword [edi], esi
je 0x40ad1c
mov eax, dword [edi]
cmp eax, dword [edi + 8]
je 0x40ad1c
mov esi, dword [eax + 8]
push eax
call fcn.0051dda7
add esp, 4
mov dword [edi], esi
test esi, esi
jne 0x40ad03
mov eax, dword [edi + 0x10]
push eax
call fcn.00415273
add esp, 4
push edi
call fcn.00415273
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0xa8]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40ad5a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, byte [ebp - 0xa1]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0051d79f
mov esp, ebp
pop ebp
ret 4