Function at 0x40a9f0
Capabilities:
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, 0x1a0
mov esi, esp
mov eax, dword [ebp + 8]
push eax
mov dword [esi + 0x158], esp
mov dword [esi + 0x15c], eax
mov byte [esi + 3], 0
mov al, byte [esi + 0x48]
mov byte [esi + 0x4c], al
mov byte [esi + 0x110], 0x41
mov byte [esi + 0x111], 0x40
mov byte [esi + 0x112], 0x50
mov byte [esi + 0x113], 0x68
mov byte [esi + 0x114], 0x46
mov byte [esi + 0x115], 0x46
mov byte [esi + 0x116], 0x42
mov byte [esi + 0x117], 0x44
mov byte [esi + 0x118], 0xae
mov dword [esi + 0x120], 0
mov dword [esi + 0x11d], 0
mov dword [esi + 0x119], 0
mov dword [esi + 4], 0
mov eax, dword [esi + 4]
cmp eax, 0x14
jae 0x40aad5
jmp 0x40aa89
mov eax, dword [esi + 4]
mov ecx, dword [esi + 4]
movzx ecx, byte [esi + ecx + 0x110]
mov edx, eax
add edx, 0xb0e7e065
and edx, ecx
lea eax, [eax + ecx - 0x4f181f9b]
add edx, edx
sub eax, edx
mov dword [esi + 0x160], eax
mov eax, dword [esi + 0x160]
add al, 0x3d
mov ecx, dword [esi + 4]
mov byte [esi + ecx + 0x110], al
mov eax, dword [esi + 4]
inc eax
mov dword [esi + 4], eax
mov eax, dword [esi + 4]
cmp eax, 0x14
jb 0x40aa89
jmp 0x40aad5
lea edi, [esi + 0x17f]
lea edx, [esi + 0x110]
mov ecx, 2
xchg esi, edx
rep movsd dword es:[edi], dword [esi]
xchg esi, edx
lea edi, [esi + 0x187]
lea edx, [esi + 0x118]
xor ecx, ecx
xchg esi, edx
rep movsw word es:[edi], word [esi]
xchg esi, edx
mov cl, byte [esi + 0x118]
mov byte [esi + 0x187], cl
mov cl, byte [esi + 0x44]
mov byte [esi + 0x50], cl
mov byte [esi + 0x68], 0x9b
mov byte [esi + 0x69], 0xd9
mov byte [esi + 0x6a], 0xad
mov byte [esi + 0x6b], 0xdb
mov byte [esi + 0x6c], 0x92
mov byte [esi + 0x6d], 0xe5
mov byte [esi + 0x6e], 0x9a
mov byte [esi + 0x6f], 0xe7
mov byte [esi + 0x70], 0x8d
mov byte [esi + 0x71], 0xe1
mov byte [esi + 0x72], 0x94
mov byte [esi + 0x73], 0xe3
mov byte [esi + 0x74], 0x90
mov byte [esi + 0x75], 0xed
mov byte [esi + 0x76], 0xdb
mov byte [esi + 0x77], 0xef
mov byte [esi + 0x78], 0xb4
mov byte [esi + 0x79], 0xe9
mov byte [esi + 0x7a], 0x93
mov byte [esi + 0x7b], 0xeb
mov byte [esi + 0x7c], 0x84
mov byte [esi + 0x7d], 0xf5
mov byte [esi + 0x7e], 0x9b
mov byte [esi + 0x7f], 0xf7
mov byte [esi + 0x80], 0xca
mov byte [esi + 0x81], 0xf1
mov byte [esi + 0x82], 0xd2
mov byte [esi + 0x83], 0xf3
mov byte [esi + 0x84], 0x9d
mov byte [esi + 0x85], 0xfd
mov byte [esi + 0x86], 0x8e
mov byte [esi + 0x87], 0xff
mov byte [esi + 0x88], 0x88
mov byte [esi + 0x89], 0xf9
mov byte [esi + 0x8a], 0x8e
mov byte [esi + 0x8b], 0xfb
mov byte [esi + 0x8c], 0x6d
mov byte [esi + 0x8d], 5
mov byte [esi + 0x8e], 0x65
mov byte [esi + 0x8f], 7
mov byte [esi + 0x90], 0x61
mov byte [esi + 0x91], 1
mov byte [esi + 0x92], 0x7e
mov byte [esi + 0x93], 3
mov byte [esi + 0x94], 0x65
mov byte [esi + 0x95], 0xd
mov byte [esi + 0x96], 0x79
mov byte [esi + 0x97], 0xf
mov byte [esi + 0x98], 0x7e
mov byte [esi + 0x99], 9
mov byte [esi + 0x9a], 0x3d
mov byte [esi + 0x9b], 0xb
mov byte [esi + 0x9c], 0x6c
mov byte [esi + 0x9d], 0x15
mov byte [esi + 0x9e], 0x23
mov byte [esi + 0x9f], 0x17
mov byte [esi + 0xa0], 0x6f
mov byte [esi + 0xa1], 0x11
mov byte [esi + 0xa2], 0x6d
mov byte [esi + 0xa3], 0x13
mov byte [esi + 0xa4], 0x63
mov byte [esi + 0xa5], 0x1d
mov byte [esi + 0xa6], 0x2b
mov byte [esi + 0xa7], 0x1f
mov byte [esi + 0xa8], 0x76
mov byte [esi + 0xa9], 0x19
mov byte [esi + 0xaa], 0x6d
mov byte [esi + 0xab], 0x1b
mov byte [esi + 0xac], 0x56
mov byte [esi + 0xad], 0x25
mov byte [esi + 0xae], 0x53
mov byte [esi + 0xaf], 0x27
mov byte [esi + 0xb0], 0x15
mov byte [esi + 0xb1], 0x21
mov byte [esi + 0xb2], 0x5f
mov byte [esi + 0xb3], 0x23
mov byte [esi + 0xb4], 0x5e
mov byte [esi + 0xb5], 0x2d
mov byte [esi + 0xb6], 0x5a
mov byte [esi + 0xb7], 0x2f
mov byte [esi + 0xb8], 0x45
mov byte [esi + 0xb9], 0x29
mov byte [esi + 0xba], 0x5c
mov byte [esi + 0xbb], 0x2b
mov byte [esi + 0xbc], 0x57
mov byte [esi + 0xbd], 0x35
mov byte [esi + 0xbe], 0x41
mov byte [esi + 0xbf], 0x37
mov byte [esi + 0xc0], 0x5c
mov byte [esi + 0xc1], 0x31
mov byte [esi + 0xc2], 0x5f
mov byte [esi + 0xc3], 0x33
mov byte [esi + 0xc4], 0x50
mov byte [esi + 0xc5], 0x3d
mov byte [esi + 0xc6], 0x2b
mov byte [esi + 0xc7], 0x3f
mov byte [esi + 0xc8], 0x32
mov byte [esi + 0xc9], 0x39
mov byte [esi + 0xca], 0x3a
mov byte [esi + 0xcb], 0x3b
mov dword [esi + 0xd3], 0
mov dword [esi + 0xd0], 0
mov dword [esi + 0xcc], 0
mov dword [esi + 8], 0
mov ecx, dword [esi + 8]
cmp ecx, 0x6f
jae 0x40adfe
jmp 0x40adb6
mov ecx, dword [esi + 8]
mov edx, dword [esi + 8]
movzx edi, byte [esi + edx + 0x68]
mov edx, ecx
add edx, edi
add ecx, 0xdc
and ecx, edi
add ecx, ecx
sub edx, ecx
add edx, 0xa1b815dc
mov dword [esi + 0x164], edx
mov ecx, dword [esi + 0x164]
add cl, 0xfc
mov edx, dword [esi + 8]
mov byte [esi + edx + 0x68], cl
mov ecx, dword [esi + 8]
inc ecx
mov dword [esi + 8], ecx
mov ecx, dword [esi + 8]
cmp ecx, 0x6f
jb 0x40adb6
jmp 0x40adfe
mov cl, byte [esi + 0x40]
mov byte [esi + 0x54], cl
mov byte [esi + 0x128], 0xb7
mov byte [esi + 0x129], 0x65
mov byte [esi + 0x12a], 0xcb
mov byte [esi + 0x12b], 0x63
mov byte [esi + 0x12c], 0xf2
mov byte [esi + 0x12d], 0x61
mov byte [esi + 0x12e], 0xf7
mov byte [esi + 0x12f], 0x6f
mov byte [esi + 0x130], 0x6e
mov byte [esi + 0x131], 0x6d
mov dword [esi + 0x13a], 0
mov dword [esi + 0x136], 0
mov dword [esi + 0x132], 0
mov dword [esi + 0xc], 0
mov ecx, dword [esi + 0xc]
cmp ecx, 0x16
jae 0x40aec6
jmp 0x40ae79
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 0xc]
movzx edx, byte [esi + edx + 0x128]
mov edi, ecx
add edi, 0x330d0f91
lea ecx, [ecx + edx + 0x330d0f91]
and edi, edx
add edi, edi
sub ecx, edi
mov dword [esi + 0x168], ecx
mov ecx, dword [esi + 0x168]
add cl, 9
mov edx, dword [esi + 0xc]
mov byte [esi + edx + 0x128], cl
mov ecx, dword [esi + 0xc]
inc ecx
mov dword [esi + 0xc], ecx
mov ecx, dword [esi + 0xc]
cmp ecx, 0x16
jb 0x40ae79
jmp 0x40aec6
mov ecx, dword [esi + 0x15c]
lea edx, [esi + 0x128]
lea edi, [esi + 0x68]
lea ebx, [esi + 0x24]
xor eax, eax
sub esp, 0x1c
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], edi
lea eax, [esi + 0x17f]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 8
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], 0
call fcn.0040b3f0
add esp, 0x1c
test al, 1
jne 0x40af17
jmp 0x40b39c
mov al, byte [esi + 0x3c]
mov byte [esi + 0x58], al
mov byte [esi + 0x28], 0xcf
mov byte [esi + 0x29], 0xb2
mov byte [esi + 0x2a], 0x5a
mov byte [esi + 0x2f], 0
mov dword [esi + 0x2b], 0
mov dword [esi + 0x10], 0
mov eax, dword [esi + 0x10]
cmp eax, 8
jae 0x40af99
jmp 0x40af45
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x10]
movzx ecx, byte [esi + ecx + 0x28]
mov edx, eax
add edx, 0x641f9a0c
and edx, ecx
lea eax, [eax + ecx + 0x641f9a0c]
add edx, edx
sub eax, edx
mov dword [esi + 0x16c], eax
mov eax, dword [esi + 0x16c]
mov ecx, eax
xor ecx, 0xab
and eax, 0x2b
lea eax, [ecx + eax*2]
inc al
mov ecx, dword [esi + 0x10]
mov byte [esi + ecx + 0x28], al
mov eax, dword [esi + 0x10]
inc eax
mov dword [esi + 0x10], eax
mov eax, dword [esi + 0x10]
cmp eax, 8
jb 0x40af45
jmp 0x40af99
mov eax, dword [esi + 0x24]
lea ecx, [esi + 0x28]
sub esp, 8
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0040cf50
add esp, 8
cmp eax, 0
jne 0x40afbf
mov byte [esi + 3], 1
jmp 0x40b38b
mov al, byte [esi + 0x38]
mov byte [esi + 0x5c], al
mov byte [esi + 0xf8], 0x3b
mov byte [esi + 0xf9], 0xe
mov byte [esi + 0xfa], 9
mov byte [esi + 0xfb], 0x3f
mov byte [esi + 0xfc], 5
mov byte [esi + 0xfd], 0
mov byte [esi + 0xfe], 2
mov byte [esi + 0xff], 0x8f
mov byte [esi + 0x102], 0
mov word [esi + 0x100], 0
mov dword [esi + 0x14], 0
mov eax, dword [esi + 0x14]
cmp eax, 0xb
jae 0x40b06a
jmp 0x40b01e
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0x14]
movzx ecx, byte [esi + ecx + 0xf8]
mov edx, eax
add edx, 0x9e24ce99
lea eax, [eax + ecx - 0x61db3167]
and edx, ecx
add edx, edx
sub eax, edx
mov dword [esi + 0x170], eax
mov eax, dword [esi + 0x170]
add al, 0xd1
mov ecx, dword [esi + 0x14]
mov byte [esi + ecx + 0xf8], al
mov eax, dword [esi + 0x14]
inc eax
mov dword [esi + 0x14], eax
mov eax, dword [esi + 0x14]
cmp eax, 0xb
jb 0x40b01e
jmp 0x40b06a
mov eax, dword [esi + 0x24]
lea ecx, [esi + 0xf8]
sub esp, 8
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0040cf80
add esp, 8
cmp eax, 0
je 0x40b389
mov al, byte [esi + 0x34]
mov byte [esi + 0x60], al
mov byte [esi + 0xd8], 0x2e
mov byte [esi + 0xd9], 0x50
mov byte [esi + 0xda], 0x2f
mov byte [esi + 0xdb], 0x56
mov byte [esi + 0xdc], 0x79
mov byte [esi + 0xdd], 0x97
mov byte [esi + 0xde], 0x57
mov byte [esi + 0xdf], 0x23
mov byte [esi + 0xe0], 0x37
mov byte [esi + 0xe1], 0x32
mov byte [esi + 0xe2], 0x88
mov byte [esi + 0xe3], 0x8b
mov byte [esi + 0xe4], 0x3a
mov byte [esi + 0xe5], 0x4c
mov byte [esi + 0xe6], 0x32
mov byte [esi + 0xe7], 0x3a
mov byte [esi + 0xe8], 0x45
mov byte [esi + 0xe9], 0x6c
mov byte [esi + 0xea], 0x80
mov byte [esi + 0xeb], 0xa3
mov word [esi + 0xf4], 0
mov dword [esi + 0xf0], 0
mov dword [esi + 0xec], 0
mov dword [esi + 0x18], 0
mov eax, dword [esi + 0x18]
cmp eax, 0x1e
jae 0x40b1a9
jmp 0x40b14e
mov edx, dword [esi + 0x18]
mov eax, dword [esi + 0x18]
movzx edi, byte [esi + eax + 0xd8]
mov ecx, edx
add ecx, 0xa917f068
lea eax, [edx + edi - 0x56e80f98]
and ecx, edi
add edx, 0x68
and edx, edi
add ecx, edx
mov edx, ecx
xor edx, eax
not ecx
and eax, ecx
add eax, eax
sub eax, edx
mov dword [esi + 0x174], eax
mov eax, dword [esi + 0x174]
add al, 0x28
mov ecx, dword [esi + 0x18]
mov byte [esi + ecx + 0xd8], al
mov eax, dword [esi + 0x18]
inc eax
mov dword [esi + 0x18], eax
mov eax, dword [esi + 0x18]
cmp eax, 0x1e
jb 0x40b14e
jmp 0x40b1a9
lea eax, [esi + 0x188]
lea edx, [esi + 0xd8]
mov edi, eax
mov ecx, 5
xchg esi, edx
rep movsd dword es:[edi], dword [esi]
xchg esi, edx
add eax, 0x14
lea edx, [esi + 0xd8]
add edx, 0x14
mov edi, eax
xor ecx, ecx
xchg esi, edx
rep movsw word es:[edi], word [esi]
xchg esi, edx
lea eax, [esi + 0x188]
mov ecx, dword [esi + 0x24]
sub esp, 8
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0040cf80
add esp, 8
mov dword [esi + 0x20], eax
mov eax, dword [esi + 0x20]
cmp eax, 0
setne al
test al, 1
jne 0x40b209
jmp 0x40b389
mov eax, dword [esi + 0x20]
add eax, 0x13
mov dword [esi + 0x20], eax
mov eax, dword [esi + 0x158]
mov al, byte [eax]
mov byte [esi + 0x64], al
mov byte [esi + 0x140], 0x62
mov byte [esi + 0x141], 0x4f
mov byte [esi + 0x142], 0x8a
mov word [esi + 0x14b], 0
mov dword [esi + 0x147], 0
mov dword [esi + 0x143], 0
mov dword [esi + 0x1c], 0
mov eax, dword [esi + 0x1c]
cmp eax, 0xd
jae 0x40b2ac
jmp 0x40b260
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x1c]
movzx ecx, byte [esi + ecx + 0x140]
mov edx, eax
add edx, 0x45c05bea
lea eax, [eax + ecx + 0x45c05bea]
and edx, ecx
add edx, edx
sub eax, edx
mov dword [esi + 0x178], eax
mov eax, dword [esi + 0x178]
add al, 0x9a
mov ecx, dword [esi + 0x1c]
mov byte [esi + ecx + 0x140], al
mov eax, dword [esi + 0x1c]
inc eax
mov dword [esi + 0x1c], eax
mov eax, dword [esi + 0x1c]
cmp eax, 0xd
jb 0x40b260
jmp 0x40b2ac
mov eax, dword [esi + 0x20]
lea ecx, [esi + 0x140]
sub esp, 8
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0040cf80
add esp, 8
mov dword [esi + 0x108], eax
cmp dword [esi + 0x108], 0
je 0x40b387
mov byte [0x449bdc], 1
mov ebx, dword [esi + 0x108]
mov edi, dword [esi + 0x20]
cmp ebx, 0
jne 0x40b305
mov ecx, edi
jmp 0x40b2f3
mov eax, ecx
mov dl, byte [eax]
add ecx, 1
cmp dl, 0
jne 0x40b2f3
sub eax, edi
mov ebx, edi
add ebx, eax
mov dword [esi + 0x10c], 0
lea eax, [0x449bde]
cmp ebx, edi
jbe 0x40b37e
lea ecx, [0x449bde]
jmp 0x40b321
cmp byte [edi], 0
jne 0x40b32a
mov eax, ecx
jmp 0x40b37e
sub esp, 0xc
lea eax, [esi + 0x10c]
mov dword [esp + 8], eax
mov dword [esp + 4], ebx
mov dword [esp], edi
mov dword [esi + 0x154], ecx
call fcn.0040fa10
add esp, 0xc
add edi, eax
mov cx, word [esi + 0x10c]
mov edx, dword [esi + 0x154]
mov eax, edx
add eax, 2
mov word [edx], cx
mov ecx, eax
sub ecx, 0x449ddc
setb cl
mov edx, edi
sub edx, ebx
setb dl
and cl, dl
test cl, 1
mov ecx, eax
jne 0x40b321
mov word [eax], 0
mov byte [esi + 3], 1
jmp 0x40b389
jmp 0x40b38b
mov eax, dword [esi + 0x24]
sub esp, 4
mov dword [esp], eax
call fcn.00436180
add esp, 4
mov al, byte [esi + 3]
and al, 1
movzx eax, al
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret