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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x1b8
mov eax, dword [ebp + 8]
mov byte [esp + 0x23], 0
mov al, byte [esp + 0x60]
mov byte [esp + 0x64], al
mov byte [esp + 0x128], 0xd
mov byte [esp + 0x129], 2
mov byte [esp + 0x12a], 0x36
mov byte [esp + 0x12b], 0xee
mov byte [esp + 0x12c], 0x3c
mov byte [esp + 0x12d], 0
mov byte [esp + 0x12e], 0x3c
mov byte [esp + 0x12f], 0x3a
mov byte [esp + 0x130], 0x94
mov byte [esp + 0x139], 0
mov dword [esp + 0x135], 0
mov dword [esp + 0x131], 0
mov dword [esp + 0x24], 0
mov eax, dword [esp + 0x24]
cmp eax, 0x12
jae 0x40af2c
jmp 0x40aed8
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x24]
movzx ecx, byte [esp + ecx + 0x128]
mov edx, eax
add edx, 0x4c64f01a
lea eax, [eax + ecx + 0x4c64f01a]
and edx, ecx
add edx, edx
sub eax, edx
mov dword [esp + 0x178], eax
mov eax, dword [esp + 0x178]
add al, 0x4a
mov ecx, dword [esp + 0x24]
mov byte [esp + ecx + 0x128], al
mov eax, dword [esp + 0x24]
inc eax
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x24]
cmp eax, 0x12
jb 0x40aed8
jmp 0x40af2c
lea eax, [esp + 0x197]
lea edx, [esp + 0x128]
mov edi, eax
mov ecx, 2
xchg esi, edx
rep movsd dword es:[edi], dword [esi]
xchg esi, edx
lea edi, [esp + 0x19f]
lea edx, [esp + 0x130]
xor ecx, ecx
xchg esi, edx
rep movsw word es:[edi], word [esi]
xchg esi, edx
mov cl, byte [esp + 0x130]
mov byte [esp + 0x19f], cl
mov cl, byte [esp + 0x5c]
mov byte [esp + 0x68], cl
mov byte [esp + 0x80], 0x53
mov byte [esp + 0x81], 0x15
mov byte [esp + 0x82], 0x85
mov byte [esp + 0x83], 0xb
mov byte [esp + 0x84], 0x98
mov byte [esp + 0x85], 9
mov byte [esp + 0x86], 0x9c
mov byte [esp + 0x87], 0xf
mov byte [esp + 0x88], 0x95
mov byte [esp + 0x89], 0xd
mov byte [esp + 0x8a], 0x9e
mov byte [esp + 0x8b], 3
mov byte [esp + 0x8c], 0x96
mov byte [esp + 0x8d], 1
mov byte [esp + 0x8e], 0x53
mov byte [esp + 0x8f], 7
mov byte [esp + 0x90], 0xb2
mov byte [esp + 0x91], 5
mov byte [esp + 0x92], 0x8b
mov byte [esp + 0x93], 0x7b
mov byte [esp + 0x94], 0xea
mov byte [esp + 0x95], 0x79
mov byte [esp + 0x96], 0xe3
mov byte [esp + 0x97], 0x7f
mov byte [esp + 0x98], 0x30
mov byte [esp + 0x99], 0x7d
mov byte [esp + 0x9a], 0x1c
mov byte [esp + 0x9b], 0x73
mov byte [esp + 0x9c], 0xd5
mov byte [esp + 0x9d], 0x71
mov byte [esp + 0x9e], 0xe0
mov byte [esp + 0x9f], 0x77
mov byte [esp + 0xa0], 0xe6
mov byte [esp + 0xa1], 0x75
mov byte [esp + 0xa2], 0xe8
mov byte [esp + 0xa3], 0x6b
mov byte [esp + 0xa4], 0xf5
mov byte [esp + 0xa5], 0x69
mov byte [esp + 0xa6], 0xcd
mov byte [esp + 0xa7], 0x6f
mov byte [esp + 0xa8], 0xc9
mov byte [esp + 0xa9], 0x6d
mov byte [esp + 0xaa], 0xf8
mov byte [esp + 0xab], 0x63
mov byte [esp + 0xac], 0xfd
mov byte [esp + 0xad], 0x61
mov byte [esp + 0xae], 0xf1
mov byte [esp + 0xaf], 0x67
mov byte [esp + 0xb0], 0xf4
mov byte [esp + 0xb1], 0x65
mov byte [esp + 0xb2], 0x35
mov byte [esp + 0xb3], 0x5b
mov byte [esp + 0xb4], 0xd2
mov byte [esp + 0xb5], 0x59
mov byte [esp + 0xb6], 0xb
mov byte [esp + 0xb7], 0x5f
mov byte [esp + 0xb8], 0xd7
mov byte [esp + 0xb9], 0x5d
mov byte [esp + 0xba], 0xd5
mov byte [esp + 0xbb], 0x53
mov byte [esp + 0xbc], 0xdb
mov byte [esp + 0xbd], 0x51
mov byte [esp + 0xbe], 3
mov byte [esp + 0xbf], 0x57
mov byte [esp + 0xc0], 0xcc
mov byte [esp + 0xc1], 0x55
mov byte [esp + 0xc2], 0xc5
mov byte [esp + 0xc3], 0x4b
mov byte [esp + 0xc4], 0xdc
mov byte [esp + 0xc5], 0x49
mov byte [esp + 0xc6], 0xdb
mov byte [esp + 0xc7], 0x4f
mov byte [esp + 0xc8], 0x1d
mov byte [esp + 0xc9], 0x4d
mov byte [esp + 0xca], 0xc7
mov byte [esp + 0xcb], 0x43
mov byte [esp + 0xcc], 0xd4
mov byte [esp + 0xcd], 0x41
mov byte [esp + 0xce], 0xdc
mov byte [esp + 0xcf], 0x47
mov byte [esp + 0xd0], 0xdd
mov byte [esp + 0xd1], 0x45
mov byte [esp + 0xd2], 0xd6
mov byte [esp + 0xd3], 0xbb
mov byte [esp + 0xd4], 0x1f
mov byte [esp + 0xd5], 0xb9
mov byte [esp + 0xd6], 0x29
mov byte [esp + 0xd7], 0xbf
mov byte [esp + 0xd8], 0x1a
mov byte [esp + 0xd9], 0xbd
mov byte [esp + 0xda], 0x27
mov byte [esp + 0xdb], 0xb3
mov byte [esp + 0xdc], 0x16
mov byte [esp + 0xdd], 0xb1
mov byte [esp + 0xde], 0xc3
mov byte [esp + 0xdf], 0xb7
mov byte [esp + 0xe0], 0xc8
mov byte [esp + 0xe1], 0xb5
mov byte [esp + 0xe2], 0xb4
mov byte [esp + 0xe3], 0xab
mov dword [esp + 0xec], 0
mov dword [esp + 0xe8], 0
mov dword [esp + 0xe4], 0
mov dword [esp + 0x28], 0
mov ecx, dword [esp + 0x28]
cmp ecx, 0x70
jae 0x40b31d
jmp 0x40b2c8
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x28]
movzx edx, byte [esp + edx + 0x80]
mov esi, ecx
add esi, 0xccf85b2d
lea ecx, [ecx + edx - 0x3307a4d3]
and esi, edx
add esi, esi
sub ecx, esi
mov dword [esp + 0x17c], ecx
mov ecx, dword [esp + 0x17c]
add cl, 0xc5
mov edx, dword [esp + 0x28]
mov byte [esp + edx + 0x80], cl
mov ecx, dword [esp + 0x28]
inc ecx
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x28]
cmp ecx, 0x70
jb 0x40b2c8
jmp 0x40b31d
mov cl, byte [esp + 0x58]
mov byte [esp + 0x6c], cl
mov byte [esp + 0x140], 0x67
mov byte [esp + 0x141], 0x39
mov byte [esp + 0x142], 0x5b
mov byte [esp + 0x143], 0x3b
mov byte [esp + 0x144], 0xaa
mov byte [esp + 0x145], 0x3d
mov byte [esp + 0x146], 0x57
mov byte [esp + 0x147], 0x3f
mov byte [esp + 0x148], 0x3e
mov byte [esp + 0x149], 0x21
mov dword [esp + 0x152], 0
mov dword [esp + 0x14e], 0
mov dword [esp + 0x14a], 0
mov dword [esp + 0x2c], 0
mov ecx, dword [esp + 0x2c]
cmp ecx, 0x16
jae 0x40b40f
jmp 0x40b3a9
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x2c]
movzx edx, byte [esp + edx + 0x140]
mov esi, ecx
add esi, 0x27
mov edi, edx
not edi
mov ebx, esi
or ebx, edi
lea edi, [edx + ebx + 1]
and esi, edx
mov ebx, edi
and ebx, esi
xor edi, esi
add ecx, edx
lea edx, [edi + ebx*2]
sub ecx, edx
add ecx, 0x3c801227
mov dword [esp + 0x180], ecx
mov ecx, dword [esp + 0x180]
add cl, 0xef
mov edx, dword [esp + 0x2c]
mov byte [esp + edx + 0x140], cl
mov ecx, dword [esp + 0x2c]
inc ecx
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x2c]
cmp ecx, 0x16
jb 0x40b3a9
jmp 0x40b40f
mov ecx, dword [ebp + 8]
lea edx, [esp + 0x140]
lea esi, [esp + 0x80]
lea edi, [esp + 0x44]
xor ebx, ebx
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], esi
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 8
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], 0
call fcn.0040b9a0
test al, 1
jne 0x40b457
jmp 0x40b947
mov al, byte [esp + 0x54]
mov byte [esp + 0x70], al
mov byte [esp + 0x158], 0x5f
mov byte [esp + 0x159], 0x52
mov byte [esp + 0x15a], 0xa2
mov dword [esp + 0x162], 0
mov dword [esp + 0x15f], 0
mov dword [esp + 0x15b], 0
mov dword [esp + 0x30], 0
mov eax, dword [esp + 0x30]
cmp eax, 0xe
jae 0x40b50d
jmp 0x40b4ab
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x30]
movzx ecx, byte [esp + ecx + 0x158]
mov edx, eax
add edx, 0xeb17d6e6
and edx, ecx
lea eax, [eax + ecx - 0x14e8291a]
add edx, edx
sub eax, edx
mov dword [esp + 0x184], eax
mov eax, dword [esp + 0x184]
mov ecx, eax
xor ecx, 0xb5
and eax, 0x35
lea eax, [ecx + eax*2]
inc al
mov ecx, dword [esp + 0x30]
mov byte [esp + ecx + 0x158], al
mov eax, dword [esp + 0x30]
inc eax
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x30]
cmp eax, 0xe
jb 0x40b4ab
jmp 0x40b50d
mov eax, dword [esp + 0x44]
lea ecx, [esp + 0x158]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0040d7d0
cmp eax, 0
jne 0x40b535
mov byte [esp + 0x23], 1
jmp 0x40b530
jmp 0x40b939
call fcn.00409840
mov al, byte [esp + 0x50]
mov byte [esp + 0x74], al
mov byte [esp + 0x110], 3
mov byte [esp + 0x111], 0x1e
mov byte [esp + 0x112], 0x1d
mov byte [esp + 0x113], 0xf
mov byte [esp + 0x114], 0x11
mov byte [esp + 0x115], 0xc
mov byte [esp + 0x116], 0x12
mov byte [esp + 0x117], 0xbf
mov dword [esp + 0x118], 0
mov dword [esp + 0x34], 0
mov eax, dword [esp + 0x34]
cmp eax, 0xc
jae 0x40b5fb
jmp 0x40b5a0
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x34]
movzx ecx, byte [esp + ecx + 0x110]
mov edx, eax
add edx, 0x17
and edx, ecx
add eax, ecx
add edx, edx
sub eax, edx
add eax, 0x2553dd17
mov dword [esp + 0x188], eax
mov ecx, dword [esp + 0x188]
mov eax, ecx
or eax, 0x5e
and ecx, 0x5e
add eax, ecx
inc al
mov ecx, dword [esp + 0x34]
mov byte [esp + ecx + 0x110], al
mov eax, dword [esp + 0x34]
inc eax
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x34]
cmp eax, 0xc
jb 0x40b5a0
jmp 0x40b5fb
mov eax, dword [esp + 0x44]
lea ecx, [esp + 0x110]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0040d800
cmp eax, 0
setne al
test al, 1
jne 0x40b621
jmp 0x40b937
mov al, byte [esp + 0x4c]
mov byte [esp + 0x78], al
mov byte [esp + 0xf0], 0xe0
mov byte [esp + 0xf1], 0xf2
mov byte [esp + 0xf2], 0xe7
mov byte [esp + 0xf3], 0xfc
mov byte [esp + 0xf4], 0x95
mov byte [esp + 0xf5], 0xbf
mov byte [esp + 0xf6], 0xff
mov byte [esp + 0xf7], 0xe3
mov byte [esp + 0xf8], 0xef
mov byte [esp + 0xf9], 0xec
mov byte [esp + 0xfa], 0xba
mov byte [esp + 0xfb], 0xbb
mov byte [esp + 0xfc], 0xe4
mov byte [esp + 0xfd], 0x86
mov byte [esp + 0xfe], 0x90
mov byte [esp + 0xff], 0x98
mov byte [esp + 0x100], 0x89
mov byte [esp + 0x101], 0xe6
mov byte [esp + 0x102], 0xc2
mov byte [esp + 0x103], 0x23
mov byte [esp + 0x108], 0
mov dword [esp + 0x104], 0
mov dword [esp + 0x38], 0
mov eax, dword [esp + 0x38]
cmp eax, 0x19
jae 0x40b743
jmp 0x40b6ef
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x38]
movzx ecx, byte [esp + ecx + 0xf0]
mov edx, eax
add edx, 0x958b5633
lea eax, [eax + ecx - 0x6a74a9cd]
and edx, ecx
add edx, edx
sub eax, edx
mov dword [esp + 0x18c], eax
mov eax, dword [esp + 0x18c]
add al, 0x9b
mov ecx, dword [esp + 0x38]
mov byte [esp + ecx + 0xf0], al
mov eax, dword [esp + 0x38]
inc eax
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x38]
cmp eax, 0x19
jb 0x40b6ef
jmp 0x40b743
lea eax, [esp + 0x1a0]
lea edx, [esp + 0xf0]
mov edi, eax
mov ecx, 5
xchg esi, edx
rep movsd dword es:[edi], dword [esi]
xchg esi, edx
add eax, 0x14
lea edx, [esp + 0xf0]
add edx, 0x14
xor ecx, ecx
mov edi, eax
xchg esi, edx
rep movsw word es:[edi], word [esi]
xchg esi, edx
lea eax, [esp + 0x1a0]
mov ecx, dword [esp + 0x44]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0040d800
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x40]
cmp eax, 0
setne al
test al, 1
jne 0x40b7a4
jmp 0x40b937
mov eax, dword [esp + 0x40]
add eax, 0x13
mov dword [esp + 0x40], eax
mov al, byte [esp + 0x48]
mov byte [esp + 0x7c], al
mov byte [esp + 0x168], 0x40
mov byte [esp + 0x169], 0x67
mov byte [esp + 0x16a], 0x24
mov dword [esp + 0x16f], 0
mov dword [esp + 0x16b], 0
mov dword [esp + 0x3c], 0
mov eax, dword [esp + 0x3c]
cmp eax, 0xb
jae 0x40b85c
jmp 0x40b7f8
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x3c]
movzx edx, byte [esp + ecx + 0x168]
mov esi, eax
add esi, edx
lea ecx, [eax + edx - 0x3f8da57b]
add eax, 0x85
and eax, edx
add eax, eax
mov edx, 0x17a
sub edx, esi
mov esi, eax
and esi, edx
not eax
and ecx, eax
sub ecx, esi
mov dword [esp + 0x190], ecx
mov eax, dword [esp + 0x190]
add al, 0x5d
mov ecx, dword [esp + 0x3c]
mov byte [esp + ecx + 0x168], al
mov eax, dword [esp + 0x3c]
inc eax
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x3c]
cmp eax, 0xb
jb 0x40b7f8
jmp 0x40b85c
mov eax, dword [esp + 0x40]
lea ecx, [esp + 0x168]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0040d800
mov dword [esp + 0x120], eax
cmp dword [esp + 0x120], 0
je 0x40b937
mov byte [0x449a18], 1
mov edi, dword [esp + 0x120]
mov esi, dword [esp + 0x40]
cmp edi, 0
jne 0x40b8c3
mov ecx, esi
jmp 0x40b8a3
mov eax, ecx
mov dl, byte [eax]
add ecx, 1
cmp dl, 0
jne 0x40b8a3
mov ecx, eax
xor ecx, esi
mov edx, esi
xor edx, 0xffffffff
and eax, edx
shl eax, 1
sub eax, ecx
mov edi, esi
add edi, eax
mov dword [esp + 0x124], 0
lea eax, [0x449a1a]
cmp edi, esi
jbe 0x40b92d
lea ebx, [0x449a1a]
jmp 0x40b8e0
cmp byte [esi], 0
jne 0x40b8e9
mov eax, ebx
jmp 0x40b92d
lea eax, [esp + 0x124]
mov dword [esp + 8], eax
mov dword [esp + 4], edi
mov dword [esp], esi
call fcn.00410080
add esi, eax
mov cx, word [esp + 0x124]
mov eax, ebx
add eax, 2
mov word [ebx], cx
mov ecx, eax
sub ecx, 0x449c18
setb cl
mov edx, esi
sub edx, edi
setb dl
and cl, dl
test cl, 1
mov ebx, eax
jne 0x40b8e0
mov word [eax], 0
mov byte [esp + 0x23], 1
jmp 0x40b939
mov eax, dword [esp + 0x44]
mov dword [esp], eax
call fcn.00436b60
jmp 0x40b947
mov al, byte [esp + 0x23]
and al, 1
movzx eax, al
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret