Function at 0x40aaf0
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, 0xac
cmp dword [ecx + 0x20], 0
je 0x40ab39
mov esi, ecx
movzx eax, byte [ecx]
mov byte [esp + 0x1b], 0
test eax, eax
je 0x40ab40
cmp al, 0x64
jb 0x40ab4b
lea ecx, [eax + eax*4]
lea edx, [eax + ecx*8]
shr edx, 0xc
imul ecx, edx, 0x64
sub al, cl
movzx eax, al
movzx eax, word [eax + eax + 0x444318]
mov word [esp + 0x19], ax
mov ecx, 0xfffffffd
mov eax, edx
jmp 0x40ab54
mov bl, 1
jmp 0x40b050
lea ebx, [esp + 0x1a]
mov byte [esp + 0x1a], 0x30
jmp 0x40ab7a
mov ecx, 0xffffffff
cmp al, 9
ja 0x40ab69
lea edx, [esp + 0x1c]
movzx eax, byte [eax + str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ]
lea ebx, [edx + ecx]
dec ebx
mov byte [esp + ecx + 0x1b], al
jmp 0x40ab7a
movzx eax, word [eax + eax + 0x444318]
lea ebx, [esp + 0x19]
mov word [esp + 0x19], ax
lea eax, [esi + 0x10]
push eax
call fcn.00407a10
add esp, 4
mov ecx, dword [esi + 0x10]
mov eax, dword [esi + 0x58]
mov eax, dword [eax + 0x48]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
lea eax, [ecx + 0x400]
push eax
call fcn.00409a50
add esp, 4
mov edi, eax
mov dword [esp + 0x24], 0x464c3545
mov byte [esp + 0x28], 0xb9
mov dword [esp + 0x29], 0
mov word [esp + 0x2d], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0xa
ja 0x40ac0e
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 0x24]
add eax, 0x7a9bc5f2
xor eax, ecx
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
add al, 0xb1
mov ecx, dword [esp]
mov byte [esp + ecx + 0x24], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0xb
jb 0x40abe0
lea eax, [esp + 0x24]
mov ecx, esi
push 0x44bd34
push eax
push edi
call fcn.0040a4c0
mov dword [esp], 0x54fbfff9
mov dword [esp + 8], 0
mov eax, dword [esp + 8]
cmp eax, 3
ja 0x40ac71
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 8]
mov ecx, dword [esp + 8]
movzx ecx, byte [esp + ecx]
add eax, 0xb0d7179f
xor eax, ecx
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x24]
add al, 0xa
mov ecx, dword [esp + 8]
mov byte [esp + ecx], al
inc dword [esp + 8]
mov eax, dword [esp + 8]
cmp eax, 4
jb 0x40ac40
mov ebp, esp
mov ecx, esi
push ebx
push ebp
push edi
call fcn.0040a4c0
mov eax, dword [str.1NCW25__21]
mov dword [esp], 0xa7c23c38
mov dword [esp + 8], 0
mov ecx, dword [esp + 8]
cmp ecx, 3
ja 0x40acd3
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp + 8]
mov edx, dword [esp + 8]
movzx edx, byte [esp + edx]
add ecx, 0xc3b5063c
xor ecx, edx
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x24]
add cl, 0x68
mov edx, dword [esp + 8]
mov byte [esp + edx], cl
inc dword [esp + 8]
mov ecx, dword [esp + 8]
cmp ecx, 4
jb 0x40aca0
mov ecx, esi
push eax
push ebp
push edi
call fcn.0040a4c0
mov dword [esp + 0x24], 0x373c3423
mov dword [esp + 0x28], 0x2433380b
mov dword [esp + 0x2c], 0x3e3d382b
mov byte [esp + 0x30], 0x5c
mov dword [esp + 0x31], 0
mov dword [esp + 0x34], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0x13
ja 0x40ad4c
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 0x24]
add eax, 0x22a8f50
xor eax, ecx
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
mov ecx, dword [esp]
mov byte [esp + ecx + 0x24], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0x14
jb 0x40ad20
mov dword [esp + 8], 0x34a1d7d0
mov dword [esp + 0xc], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 7
lea ebp, [esp + 0x24]
ja 0x40adb1
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
movzx ecx, byte [esp + ecx + 8]
add eax, 0xc90cda6a
xor eax, ecx
mov dword [esp], eax
mov eax, dword [esp]
add al, 0xa7
mov ecx, dword [esp + 4]
mov byte [esp + ecx + 8], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 8
jb 0x40ad80
lea ebx, [esp + 8]
mov ecx, esi
push ebp
push ebx
push edi
call fcn.0040a4c0
mov dword [esp + 0x24], 0xa727072
mov byte [esp + 0x28], 0xec
mov dword [esp + 0x29], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 8
ja 0x40ae1e
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 0x24]
add eax, 0xd169a6b2
xor eax, ecx
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
add al, 0xa6
mov ecx, dword [esp]
mov byte [esp + ecx + 0x24], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 9
jb 0x40adf0
mov ecx, esi
push dword [esp + 0x20]
push dword [esp + 0x20]
push ebp
push edi
call fcn.0040a730
mov eax, dword [esi + 0x60]
mov dword [esp + 0x24], 0x50e0528a
mov dword [esp + 0x28], 0x2ca32ee3
mov dword [esp + 0x2c], 0x28992a90
mov dword [esp + 0x30], 0x24d226a5
mov dword [esp + 0x34], 0x20aa2289
mov dword [esp + 0x38], 0x3c823e91
mov dword [esp + 0x3c], 0x38db3afb
mov dword [esp + 0x40], 0x34ba368c
mov dword [esp + 0x44], 0x30bf3281
mov dword [esp + 0x48], 0xcbf0e88
mov dword [esp + 0x4c], 0x8850aac
mov dword [esp + 0x50], 0x4f40685
mov dword [esp + 0x54], 0xb002bf
mov dword [esp + 0x58], 0x1caa1e8f
mov dword [esp + 0x5c], 0x18a71ae8
mov dword [esp + 0x60], 0x149b16b8
mov dword [esp + 0x64], 0x10d412b4
mov dword [esp + 0x68], 0xec51eef1
mov dword [esp + 0x6c], 0xe866ea5e
mov dword [esp + 0x70], 0xe45be65b
mov dword [esp + 0x74], 0xe06de244
mov dword [esp + 0x78], 0xfc3afe68
mov dword [esp + 0x7c], 0xf846fa43
mov dword [esp + 0x80], 0xf43af631
mov dword [esp + 0x84], 0xf04ef249
mov dword [esp + 0x88], 0xcc76ce3c
mov dword [esp + 0x8c], 0xc877ca7d
mov dword [esp + 0x90], 0xc478c67a
mov dword [esp + 0x94], 0xc07ec27c
mov dword [esp + 0x98], 0xdc51de4f
mov dword [esp + 0x9c], 0xd82ada60
mov dword [esp + 0xa0], 0xd4c1d6cc
mov word [esp + 0xa4], 0xd2d5
mov word [esp + 0xaa], 0
mov dword [esp + 0xa6], 0
mov dword [esp], 0
mov ecx, dword [esp]
cmp ecx, 0x87
ja 0x40afb3
nop
nop
mov ecx, dword [esp]
mov edx, dword [esp]
movzx edx, byte [esp + edx + 0x24]
add ecx, 0x76e36b3b
xor ecx, edx
mov dword [esp + 8], ecx
mov ecx, dword [esp + 8]
add cl, 0x92
mov edx, dword [esp]
mov byte [esp + edx + 0x24], cl
inc dword [esp]
mov ecx, dword [esp]
cmp ecx, 0x88
jb 0x40af80
mov dword [esp + 8], 0x78da7aa6
mov dword [esp + 0xc], 0x7cd67ee9
mov dword [esp + 0x10], 0x627d
mov byte [esp + 0x14], 0
mov dword [esp + 4], 0
mov ecx, dword [esp + 4]
cmp ecx, 0xc
ja 0x40b023
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp + 4]
mov edx, dword [esp + 4]
movzx edx, byte [esp + edx + 8]
add ecx, 0x90821487
xor ecx, edx
mov dword [esp], ecx
mov ecx, dword [esp]
add cl, 0xe
mov edx, dword [esp + 4]
mov byte [esp + edx + 8], cl
inc dword [esp + 4]
mov ecx, dword [esp + 4]
cmp ecx, 0xd
jb 0x40aff0
push 0x493e0
push eax
push edi
push 0
push 0
push ebp
push ebx
call fcn.0040cee0
add esp, 0x1c
mov ebx, eax
push edi
call fcn.00409a60
add esp, 4
mov eax, dword [esi + 0x60]
add dword [esi + 4], eax
mov dword [esi + 0x60], 0
mov eax, ebx
add esp, 0xac
pop esi
pop edi
pop ebx
pop ebp
ret