Function at 0x40ae90
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, 0x108
cmp dword [ecx + 0x20], 0
je 0x40b373
mov esi, ecx
lea eax, [ecx + 0x10]
push eax
call fcn.00406880
add esp, 4
mov edx, dword [esi + 0x10]
mov eax, dword [esi + 0x58]
mov eax, dword [eax + 0x48]
mov dword [esp + 4], eax
movzx eax, byte [esi]
imul ecx, eax, 0xcd
shr ecx, 0xa
and ecx, 0xfffffffe
lea ecx, [ecx + ecx*4]
sub al, cl
movzx eax, al
movzx eax, byte [eax + str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ]
mov byte [esp + 2], al
mov byte [esp + 3], 0
mov dword [esp + 8], edx
lea eax, [edx + 0x400]
push eax
call fcn.00409860
add esp, 4
mov edi, eax
mov dword [esp + 0x6c], 0x35051604
mov byte [esp + 0x70], 0x90
mov dword [esp + 0x71], 0
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [esp + eax + 0x6c]
lea ecx, [eax + 0x25]
or ecx, edx
mov ebx, 0xda
sub ebx, eax
or ebx, edx
add ebx, eax
sub ecx, ebx
add cl, 0x21
mov byte [esp + eax + 0x6c], cl
mov ecx, eax
and ecx, 1
xor eax, 1
lea eax, [eax + ecx*2]
cmp eax, 9
jb 0x40af20
lea ebx, [esp + 0x6c]
mov ecx, esi
push 0x44bd94
push ebx
push edi
call fcn.0040a710
mov dword [esp + 0x6c], 0xff1a1068
mov word [esp + 0x70], 0
mov byte [esp + 0x72], 0
mov eax, 0x46e8772a
nop
nop
nop
nop
nop
nop
nop
movzx ebp, byte [esp + eax - 0x46e876be]
mov edx, eax
or edx, ebp
mov ecx, ebp
not ecx
or ecx, eax
add ecx, ebp
sub edx, ecx
mov ecx, edx
and ecx, 1
xor edx, 1
lea ecx, [edx + ecx*2]
add cl, 0x2c
mov byte [esp + eax - 0x46e876be], cl
inc eax
cmp eax, 0x46e87731
jne 0x40af80
lea eax, [esp + 2]
mov ecx, esi
push eax
push ebx
push edi
call fcn.0040a710
mov ebp, dword [str.Dvh8ui__333]
mov dword [esp + 0x6c], 0x3996aca8
mov word [esp + 0x70], 0
mov ecx, 0x3af0000b
nop
nop
nop
nop
nop
movzx eax, byte [esp + ecx - 0x3aefff9f]
mov edx, eax
and edx, ecx
add dl, dl
sub al, dl
movzx eax, al
add eax, ecx
add al, 0xc9
mov byte [esp + ecx - 0x3aefff9f], al
inc ecx
cmp ecx, 0x3af00011
jne 0x40afe0
mov ecx, esi
push ebp
push ebx
push edi
call fcn.0040a710
mov dword [esp + 0x6c], 0xdbe4a497
mov dword [esp + 0x70], 0xecdfe0d7
mov dword [esp + 0x74], 0xd2d5d0ef
mov byte [esp + 0x78], 0x7c
mov word [esp + 0x79], 0
mov byte [esp + 0x7b], 0
xor eax, eax
nop
nop
nop
nop
mov ecx, eax
add cl, 0xbe
xor cl, byte [esp + eax + 0x6c]
add cl, 0x4a
mov byte [esp + eax + 0x6c], cl
lea ecx, [eax + eax]
and ecx, 2
mov edx, ecx
and edx, eax
xor ecx, eax
xor ecx, 1
lea eax, [ecx + edx*2]
cmp eax, 0x10
jb 0x40b040
mov dword [esp + 0xc], 0x9867673
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, eax
add cl, 3
xor cl, byte [esp + eax + 0xc]
add cl, 0xf1
mov byte [esp + eax + 0xc], cl
mov ecx, eax
or ecx, 0x52987cd6
and eax, 2
add eax, ecx
add eax, 0xad67832b
cmp eax, 4
jb 0x40b080
lea eax, [esp + 0xc]
mov ecx, esi
push ebx
push eax
push edi
call fcn.0040a710
mov dword [esp + 0x6c], 0x3e06383e
mov byte [esp + 0x70], 0x9c
mov dword [esp + 0x71], 0
mov dword [esp + 0x74], 0
xor eax, eax
xor ecx, ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ebp, ecx
xor ebp, 0xdc
mov edx, eax
and edx, 6
sub edx, ebp
xor dl, byte [esp + ecx + 0x6c]
add dl, 0x4c
mov byte [esp + ecx + 0x6c], dl
inc ecx
add eax, 2
cmp ecx, 0xc
jne 0x40b0e0
mov ecx, esi
push dword [esp + 8]
push dword [esp + 8]
push ebx
push edi
call fcn.0040a9e0
mov dword [esp + 0xc], 0x1770749
mov dword [esp + 0x10], 0xd7e0376
mov dword [esp + 0x14], 0x9780f63
mov dword [esp + 0x18], 0x153d0b74
mov dword [esp + 0x1c], 0x116d1748
mov dword [esp + 0x20], 0x1d7d1360
mov dword [esp + 0x24], 0x193e1f26
mov dword [esp + 0x28], 0x25651b6f
mov dword [esp + 0x2c], 0x215a2750
mov dword [esp + 0x30], 0x2d52234b
mov dword [esp + 0x34], 0x295c2f4f
mov dword [esp + 0x38], 0x351b2b54
mov dword [esp + 0x3c], 0x3147375a
mov dword [esp + 0x40], 0x3d453342
mov dword [esp + 0x44], 0x39523f0b
mov dword [esp + 0x48], 0x45463b5b
mov dword [esp + 0x4c], 0x41034727
mov dword [esp + 0x50], 0x4d204360
mov dword [esp + 0x54], 0x49314f3d
mov dword [esp + 0x58], 0x55264b3e
mov dword [esp + 0x5c], 0x51245737
mov dword [esp + 0x60], 0x5d15532b
mov word [esp + 0x64], 0x5f5c
mov byte [esp + 0x6a], 0
mov dword [esp + 0x66], 0
mov eax, 0x3461c501
nop
nop
nop
movzx ecx, byte [esp + eax - 0x3461c4f5]
xor ecx, eax
mov edx, 5
sub edx, ecx
add ecx, 0xa
and edx, 0xf3
and ecx, 0xc
sub ecx, edx
add cl, 0xf4
mov byte [esp + eax - 0x3461c4f5], cl
inc eax
cmp eax, 0x3461c560
jne 0x40b1e0
movzx eax, word [esp + 0xc]
test ax, ax
je 0x40b241
lea ebx, [esp + 0x6c]
lea ecx, [esp + 0xe]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [ebx], ax
add ebx, 2
movzx eax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40b230
mov dword [esp + 8], edi
mov word [ebx], 0
movzx ecx, byte [esi + 0x60]
test cl, cl
je 0x40b271
lea eax, [esi + 0x61]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movsx ecx, cl
mov word [ebx], cx
add ebx, 2
movzx ecx, byte [eax]
inc eax
test cl, cl
jne 0x40b260
mov dword [ebx], 0xa000d
mov word [ebx + 4], 0
mov eax, dword [esi + 0x80]
mov dword [esp + 4], eax
mov dword [esp + 0xc], 0xb9ddbbd5
mov dword [esp + 0x10], 0xbd21bf28
mov word [esp + 0x14], 0xb3bc
mov dword [esp + 0x16], 0
mov byte [esp + 0x1a], 0
mov ecx, 0xb2498b1f
mov edx, 0x4db674e0
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ebx, byte [esp + ecx + 0x4db674ed]
mov ebp, ecx
xor ebp, ebx
lea edi, [ebp*2]
not edi
add edi, ebp
or edi, edx
lea ebp, [ecx + edi]
inc ebp
mov edi, ebp
and edi, 0xfffffffd
mov eax, ebp
and eax, 2
or ebp, 2
imul ebp, eax
xor eax, 2
imul eax, edi
add ebp, eax
mov eax, ebp
not eax
and eax, ecx
and ebp, edx
sub ebp, eax
mov eax, ebx
not eax
and eax, ebp
not ebp
and ebp, ebx
sub ebp, eax
mov eax, ebp
and eax, 1
xor ebp, 1
lea eax, [eax*2]
add eax, ebp
add al, 0x64
mov byte [esp + ecx + 0x4db674ed], al
inc ecx
dec edx
cmp ecx, 0xb2498b2e
jne 0x40b2c0
lea eax, [esp + 0x6c]
push 0x493e0
push dword [esp + 8]
mov edi, dword [esp + 0x10]
push edi
push 0
push 0
push eax
lea eax, [esp + 0x24]
push eax
call fcn.0040d940
add esp, 0x1c
mov ebx, eax
push edi
call fcn.00409870
add esp, 4
mov eax, dword [esi + 0x80]
add dword [esi + 4], eax
mov dword [esi + 0x80], 0
jmp 0x40b375
mov bl, 1
mov eax, ebx
add esp, 0x108
pop esi
pop edi
pop ebx
pop ebp
ret