Function at 0x40a7f0
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, 0x1b0
mov eax, dword [ebp + 8]
mov byte [esp + 0x1f], 0
mov al, byte [esp + 0x68]
mov byte [esp + 0x6c], al
mov byte [esp + 0x120], 0x39
mov byte [esp + 0x121], 0x3a
mov byte [esp + 0x122], 0x26
mov byte [esp + 0x123], 0xde
mov byte [esp + 0x124], 0x50
mov byte [esp + 0x125], 0x4c
mov byte [esp + 0x126], 0x48
mov byte [esp + 0x127], 0x4a
mov byte [esp + 0x128], 0xe0
mov word [esp + 0x135], 0
mov dword [esp + 0x131], 0
mov dword [esp + 0x12d], 0
mov dword [esp + 0x129], 0
mov dword [esp + 0x20], 0
mov eax, dword [esp + 0x20]
cmp eax, 0x17
jae 0x40a8f1
jmp 0x40a895
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x20]
movzx ecx, byte [esp + ecx + 0x120]
mov edx, eax
add edx, 0x6ce9d9bc
mov esi, ecx
not esi
mov edi, edx
or edi, esi
and edx, ecx
add edi, edx
neg edi
lea eax, [eax + edi + 0x6ce9d9bb]
mov dword [esp + 0x170], eax
mov eax, dword [esp + 0x170]
add al, 0xdc
mov ecx, dword [esp + 0x20]
mov byte [esp + ecx + 0x120], al
mov eax, dword [esp + 0x20]
inc eax
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x20]
cmp eax, 0x17
jb 0x40a895
jmp 0x40a8f1
lea eax, [esp + 0x18f]
lea edx, [esp + 0x120]
mov edi, eax
mov ecx, 2
xchg esi, edx
rep movsd dword es:[edi], dword [esi]
xchg esi, edx
add eax, 8
lea edx, [esp + 0x120]
add edx, 8
mov edi, eax
xor ecx, ecx
mov esi, edx
xchg esi, esi
rep movsw word es:[edi], word [esi]
xchg esi, esi
mov ecx, 1
mov esi, edx
mov edi, eax
add ecx, 0xffffffff
add esi, 1
mov dl, byte [edx]
add edi, 1
mov byte [eax], dl
cmp ecx, 0
mov eax, edi
mov edx, esi
jne 0x40a92f
lea eax, [esp + 0x18f]
mov cl, byte [esp + 0x64]
mov byte [esp + 0x70], cl
mov byte [esp + 0x88], 0xf3
mov byte [esp + 0x89], 0x39
mov byte [esp + 0x8a], 0x89
mov byte [esp + 0x8b], 0x3b
mov byte [esp + 0x8c], 0x94
mov byte [esp + 0x8d], 0x3d
mov byte [esp + 0x8e], 0x88
mov byte [esp + 0x8f], 0x3f
mov byte [esp + 0x90], 0x99
mov byte [esp + 0x91], 1
mov byte [esp + 0x92], 0xae
mov byte [esp + 0x93], 3
mov byte [esp + 0x94], 0xb6
mov byte [esp + 0x95], 5
mov byte [esp + 0x96], 0xeb
mov byte [esp + 0x97], 7
mov byte [esp + 0x98], 0xd2
mov byte [esp + 0x99], 9
mov byte [esp + 0x9a], 0xb3
mov byte [esp + 0x9b], 0xb
mov byte [esp + 0x9c], 0xba
mov byte [esp + 0x9d], 0xd
mov byte [esp + 0x9e], 0xab
mov byte [esp + 0x9f], 0xf
mov byte [esp + 0xa0], 0xf4
mov byte [esp + 0xa1], 0x11
mov byte [esp + 0xa2], 0xf0
mov byte [esp + 0xa3], 0x13
mov byte [esp + 0xa4], 0xb1
mov byte [esp + 0xa5], 0x15
mov byte [esp + 0xa6], 0xa4
mov byte [esp + 0xa7], 0x17
mov byte [esp + 0xa8], 0xa6
mov byte [esp + 0xa9], 0x19
mov byte [esp + 0xaa], 0xb4
mov byte [esp + 0xab], 0x1b
mov byte [esp + 0xac], 0xb1
mov byte [esp + 0xad], 0x1d
mov byte [esp + 0xae], 0xb9
mov byte [esp + 0xaf], 0x1f
mov byte [esp + 0xb0], 0xbd
mov byte [esp + 0xb1], 0xe1
mov byte [esp + 0xb2], 0x54
mov byte [esp + 0xb3], 0xe3
mov byte [esp + 0xb4], 0x49
mov byte [esp + 0xb5], 0xe5
mov byte [esp + 0xb6], 0x55
mov byte [esp + 0xb7], 0xe7
mov byte [esp + 0xb8], 0x48
mov byte [esp + 0xb9], 0xe9
mov byte [esp + 0xba], 0x19
mov byte [esp + 0xbb], 0xeb
mov byte [esp + 0xbc], 0x52
mov byte [esp + 0xbd], 0xed
mov byte [esp + 0xbe], 3
mov byte [esp + 0xbf], 0xef
mov byte [esp + 0xc0], 0x57
mov byte [esp + 0xc1], 0xf1
mov byte [esp + 0xc2], 0x49
mov byte [esp + 0xc3], 0xf3
mov byte [esp + 0xc4], 0x4b
mov byte [esp + 0xc5], 0xf5
mov byte [esp + 0xc6], 0x1b
mov byte [esp + 0xc7], 0xf7
mov byte [esp + 0xc8], 0x50
mov byte [esp + 0xc9], 0xf9
mov byte [esp + 0xca], 0x49
mov byte [esp + 0xcb], 0xfb
mov byte [esp + 0xcc], 0x48
mov byte [esp + 0xcd], 0xfd
mov byte [esp + 0xce], 0x53
mov byte [esp + 0xcf], 0xff
mov byte [esp + 0xd0], 0x11
mov byte [esp + 0xd1], 0xc1
mov byte [esp + 0xd2], 0x77
mov byte [esp + 0xd3], 0xc3
mov byte [esp + 0xd4], 0x70
mov byte [esp + 0xd5], 0xc5
mov byte [esp + 0xd6], 0x68
mov byte [esp + 0xd7], 0xc7
mov byte [esp + 0xd8], 0x61
mov byte [esp + 0xd9], 0xc9
mov byte [esp + 0xda], 0x66
mov byte [esp + 0xdb], 0xcb
mov byte [esp + 0xdc], 0x6f
mov byte [esp + 0xdd], 0xcd
mov byte [esp + 0xde], 0x7d
mov byte [esp + 0xdf], 0xcf
mov byte [esp + 0xe0], 0x6a
mov byte [esp + 0xe1], 0xd1
mov byte [esp + 0xe2], 0x77
mov byte [esp + 0xe3], 0xd3
mov byte [esp + 0xe4], 0x76
mov byte [esp + 0xe5], 0xd5
mov byte [esp + 0xe6], 0xdb
mov byte [esp + 0xe7], 0xd7
mov byte [esp + 0xe8], 0xdc
mov byte [esp + 0xe9], 0xd9
mov byte [esp + 0xea], 0xd8
mov byte [esp + 0xeb], 0xdb
mov dword [esp + 0xf4], 0
mov dword [esp + 0xf0], 0
mov dword [esp + 0xec], 0
mov dword [esp + 0x24], 0
mov ecx, dword [esp + 0x24]
cmp ecx, 0x70
jae 0x40ad07
jmp 0x40aca8
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x24]
movzx edx, byte [esp + edx + 0x88]
mov esi, ecx
add esi, 0x82d36657
and esi, edx
lea ecx, [ecx + edx - 0x7d2c99a9]
add esi, esi
mov edx, esi
xor edx, ecx
not esi
and ecx, esi
add ecx, ecx
sub ecx, edx
mov dword [esp + 0x174], ecx
mov ecx, dword [esp + 0x174]
add cl, 0x9f
mov edx, dword [esp + 0x24]
mov byte [esp + edx + 0x88], cl
mov ecx, dword [esp + 0x24]
inc ecx
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x24]
cmp ecx, 0x70
jb 0x40aca8
jmp 0x40ad07
mov cl, byte [esp + 0x60]
mov byte [esp + 0x74], cl
mov byte [esp + 0x138], 0x97
mov byte [esp + 0x139], 0xf9
mov byte [esp + 0x13a], 0x9b
mov byte [esp + 0x13b], 0xfb
mov byte [esp + 0x13c], 0x6a
mov byte [esp + 0x13d], 0xfd
mov byte [esp + 0x13e], 0x67
mov byte [esp + 0x13f], 0xff
mov byte [esp + 0x140], 0xfe
mov byte [esp + 0x141], 0xf1
mov byte [esp + 0x14a], 0
mov dword [esp + 0x146], 0
mov dword [esp + 0x142], 0
mov dword [esp + 0x28], 0
mov ecx, dword [esp + 0x28]
cmp ecx, 0x13
jae 0x40ade5
jmp 0x40ad90
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x28]
movzx edx, byte [esp + edx + 0x138]
mov esi, ecx
add esi, 0x902bbe5f
lea ecx, [ecx + edx - 0x6fd441a1]
and esi, edx
add esi, esi
sub ecx, esi
mov dword [esp + 0x178], ecx
mov ecx, dword [esp + 0x178]
add cl, 0x67
mov edx, dword [esp + 0x28]
mov byte [esp + edx + 0x138], cl
mov ecx, dword [esp + 0x28]
inc ecx
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x28]
cmp ecx, 0x13
jb 0x40ad90
jmp 0x40ade5
mov ecx, dword [ebp + 8]
lea edx, [esp + 0x138]
lea esi, [esp + 0x88]
lea edi, [esp + 0x4c]
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.0040b320
test al, 1
jne 0x40ae2d
jmp 0x40b2b2
mov al, byte [esp + 0x5c]
mov byte [esp + 0x78], al
mov byte [esp + 0x160], 0x7f
mov byte [esp + 0x161], 0x7a
mov byte [esp + 0x162], 0xca
mov dword [esp + 0x166], 0
mov dword [esp + 0x163], 0
mov dword [esp + 0x2c], 0
mov eax, dword [esp + 0x2c]
cmp eax, 0xa
jae 0x40aec7
jmp 0x40ae76
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x2c]
movzx ecx, byte [esp + ecx + 0x160]
mov edx, eax
add edx, 0x22
add eax, ecx
and edx, ecx
add edx, edx
sub eax, edx
add eax, 0x4f427022
mov dword [esp + 0x17c], eax
mov eax, dword [esp + 0x17c]
add al, 0x12
mov ecx, dword [esp + 0x2c]
mov byte [esp + ecx + 0x160], al
mov eax, dword [esp + 0x2c]
inc eax
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x2c]
cmp eax, 0xa
jb 0x40ae76
jmp 0x40aec7
mov eax, dword [esp + 0x4c]
lea ecx, [esp + 0x160]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0040c8f0
cmp eax, 0
jne 0x40aeed
mov byte [esp + 0x1f], 1
jmp 0x40b2a6
mov al, byte [esp + 0x58]
mov byte [esp + 0x7c], al
mov byte [esp + 0x40], 0x73
mov byte [esp + 0x41], 0x64
mov byte [esp + 0x42], 0x61
mov byte [esp + 0x43], 0x77
mov byte [esp + 0x44], 0x6d
mov byte [esp + 0x45], 0x6a
mov byte [esp + 0x46], 0x68
mov byte [esp + 0x47], 7
mov dword [esp + 0x30], 0
mov eax, dword [esp + 0x30]
cmp eax, 8
jae 0x40af79
jmp 0x40af30
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x30]
movzx ecx, byte [esp + ecx + 0x40]
mov edx, eax
and edx, 0xf991fc00
xor eax, 0xf991fc00
lea eax, [eax + edx*2]
xor eax, ecx
mov dword [esp + 0x180], eax
mov eax, dword [esp + 0x180]
mov ecx, dword [esp + 0x30]
mov byte [esp + ecx + 0x40], al
mov eax, dword [esp + 0x30]
inc eax
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x30]
cmp eax, 8
jb 0x40af30
jmp 0x40af79
mov eax, dword [esp + 0x4c]
lea ecx, [esp + 0x40]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0040c920
cmp eax, 0
je 0x40b2a4
mov al, byte [esp + 0x54]
mov byte [esp + 0x80], al
mov byte [esp + 0xf8], 0xde
mov byte [esp + 0xf9], 0xcc
mov byte [esp + 0xfa], 0xdf
mov byte [esp + 0xfb], 0xd6
mov byte [esp + 0xfc], 0x8d
mov byte [esp + 0xfd], 0x97
mov byte [esp + 0xfe], 0xd7
mov byte [esp + 0xff], 0xc3
mov byte [esp + 0x100], 0xc7
mov byte [esp + 0x101], 0xda
mov byte [esp + 0x102], 0x9c
mov byte [esp + 0x103], 0x9b
mov byte [esp + 0x104], 0xc2
mov byte [esp + 0x105], 0xd8
mov byte [esp + 0x106], 0xd2
mov byte [esp + 0x107], 0xca
mov byte [esp + 0x108], 0xd9
mov byte [esp + 0x109], 0x80
mov byte [esp + 0x10a], 0xa4
mov byte [esp + 0x10b], 0x43
mov byte [esp + 0x110], 0
mov dword [esp + 0x10c], 0
mov dword [esp + 0x34], 0
mov eax, dword [esp + 0x34]
cmp eax, 0x19
jae 0x40b0bb
jmp 0x40b067
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x34]
movzx ecx, byte [esp + ecx + 0xf8]
mov edx, eax
add edx, 0xbbe0458e
add eax, 0x8e
or eax, edx
and eax, ecx
or edx, ecx
sub edx, eax
mov dword [esp + 0x184], edx
mov eax, dword [esp + 0x184]
add al, 0x1e
mov ecx, dword [esp + 0x34]
mov byte [esp + ecx + 0xf8], al
mov eax, dword [esp + 0x34]
inc eax
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x34]
cmp eax, 0x19
jb 0x40b067
jmp 0x40b0bb
lea eax, [esp + 0x198]
lea edx, [esp + 0xf8]
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 + 0xf8]
add edx, 0x14
mov edi, eax
xor ecx, ecx
xchg esi, edx
rep movsw word es:[edi], word [esi]
xchg esi, edx
lea eax, [esp + 0x198]
mov ecx, dword [esp + 0x4c]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0040c920
mov dword [esp + 0x3c], eax
cmp dword [esp + 0x3c], 0
je 0x40b2a4
mov eax, dword [esp + 0x3c]
add eax, 0x13
mov dword [esp + 0x3c], eax
mov al, byte [esp + 0x50]
mov byte [esp + 0x84], al
mov byte [esp + 0x150], 0xfa
mov byte [esp + 0x151], 0x9f
mov byte [esp + 0x152], 0xda
mov byte [esp + 0x15b], 0
mov dword [esp + 0x157], 0
mov dword [esp + 0x153], 0
mov dword [esp + 0x38], 0
mov eax, dword [esp + 0x38]
cmp eax, 0xc
jae 0x40b1d5
jmp 0x40b173
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x38]
movzx ecx, byte [esp + ecx + 0x150]
mov edx, eax
add edx, 0xdc
and edx, ecx
add eax, ecx
add edx, edx
sub eax, edx
add eax, 0xdf7b18dc
mov dword [esp + 0x188], eax
mov eax, dword [esp + 0x188]
mov ecx, eax
xor ecx, 0xfb
and eax, 0x7b
lea eax, [ecx + eax*2]
inc al
mov ecx, dword [esp + 0x38]
mov byte [esp + ecx + 0x150], al
mov eax, dword [esp + 0x38]
inc eax
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x38]
cmp eax, 0xc
jb 0x40b173
jmp 0x40b1d5
mov eax, dword [esp + 0x3c]
lea ecx, [esp + 0x150]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0040c920
mov dword [esp + 0x118], eax
cmp dword [esp + 0x118], 0
je 0x40b2a4
mov byte [0x44617c], 1
mov edi, dword [esp + 0x118]
mov esi, dword [esp + 0x3c]
cmp edi, 0
jne 0x40b22e
mov ecx, esi
jmp 0x40b21c
mov eax, ecx
mov dl, byte [eax]
add ecx, 1
cmp dl, 0
jne 0x40b21c
sub eax, esi
mov edi, esi
add edi, eax
mov dword [esp + 0x11c], 0
lea eax, [0x44617e]
cmp edi, esi
jbe 0x40b298
lea ebx, [0x44617e]
jmp 0x40b24b
cmp byte [esi], 0
jne 0x40b254
mov eax, ebx
jmp 0x40b298
lea eax, [esp + 0x11c]
mov dword [esp + 8], eax
mov dword [esp + 4], edi
mov dword [esp], esi
call fcn.0040eb20
add esi, eax
mov cx, word [esp + 0x11c]
mov eax, ebx
add eax, 2
mov word [ebx], cx
mov ecx, eax
sub ecx, 0x44637c
setb cl
mov edx, esi
sub edx, edi
setb dl
and cl, dl
test cl, 1
mov ebx, eax
jne 0x40b24b
mov word [eax], 0
mov byte [esp + 0x1f], 1
jmp 0x40b2a4
jmp 0x40b2a6
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
call fcn.004352b0
mov al, byte [esp + 0x1f]
and al, 1
movzx eax, al
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret