Function at 0x40a650
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, 0xfffffff0
sub esp, 0x200
mov esi, esp
mov eax, dword [ebp + 8]
push eax
mov dword [esi + 0x178], esp
sub esp, 0x20
mov edi, esp
and edi, 0xfffffff0
mov esp, edi
push eax
mov dword [esi + 0x170], esp
push eax
mov dword [esi + 0x17c], eax
mov byte [esi + 7], 0
mov al, byte [esi + 0x40]
mov byte [esi + 0x44], al
mov byte [esi + 0x110], 0x75
mov byte [esi + 0x111], 0x7c
mov byte [esi + 0x112], 0x4c
mov byte [esi + 0x113], 0x14
mov byte [esi + 0x114], 0x46
mov byte [esi + 0x115], 0x76
mov byte [esi + 0x116], 0x72
mov byte [esi + 0x117], 0x70
mov byte [esi + 0x118], 0xde
mov dword [esi + 0x121], 0
mov dword [esi + 0x11d], 0
mov dword [esi + 0x119], 0
mov dword [esi + 8], 0
mov eax, dword [esi + 8]
cmp eax, 0x15
jae 0x40a73b
jmp 0x40a6fb
mov eax, dword [esi + 8]
mov ecx, dword [esi + 8]
movzx ecx, byte [esi + ecx + 0x110]
mov edx, eax
add edx, 0x429689a3
lea eax, [eax + ecx + 0x429689a3]
and edx, ecx
add edx, edx
sub eax, edx
add al, 0x8b
mov ecx, dword [esi + 8]
mov byte [esi + ecx + 0x110], al
mov eax, dword [esi + 8]
inc eax
mov dword [esi + 8], eax
mov eax, dword [esi + 8]
cmp eax, 0x15
jb 0x40a6fb
jmp 0x40a73b
mov dword [esi + 0x174], edi
lea eax, [esi + 0x1c3]
lea edx, [esi + 0x110]
mov ecx, 2
mov edi, eax
xchg esi, edx
rep movsd dword es:[edi], dword [esi]
xchg esi, edx
add eax, 8
lea edx, [esi + 0x110]
add edx, 8
mov edi, eax
xor ecx, ecx
xchg esi, edx
rep movsw word es:[edi], word [esi]
xchg esi, edx
mov al, byte [esi + 0x118]
mov byte [esi + 0x1cb], al
mov cl, byte [esi + 0x3c]
mov byte [esi + 0x48], cl
mov byte [esi + 0x60], 0xcb
mov byte [esi + 0x61], 0x8d
mov byte [esi + 0x62], 0x11
mov byte [esi + 0x63], 0x83
mov byte [esi + 0x64], 0x12
mov byte [esi + 0x65], 0x81
mov byte [esi + 0x66], 0x12
mov byte [esi + 0x67], 0x87
mov byte [esi + 0x68], 0xe1
mov byte [esi + 0x69], 0x85
mov byte [esi + 0x6a], 0x28
mov byte [esi + 0x6b], 0xbb
mov byte [esi + 0x6c], 0x2c
mov byte [esi + 0x6d], 0xb9
mov byte [esi + 0x6e], 0xe3
mov byte [esi + 0x6f], 0xbf
mov byte [esi + 0x70], 0xc8
mov byte [esi + 0x71], 0xbd
mov byte [esi + 0x72], 0x3b
mov byte [esi + 0x73], 0xb3
mov byte [esi + 0x74], 0x20
mov byte [esi + 0x75], 0xb1
mov byte [esi + 0x76], 0xd3
mov byte [esi + 0x77], 0xb7
mov byte [esi + 0x78], 0xfa
mov byte [esi + 0x79], 0xb5
mov byte [esi + 0x7a], 0x8a
mov byte [esi + 0x7b], 0xab
mov byte [esi + 0x7c], 0xc9
mov byte [esi + 0x7d], 0xa9
mov byte [esi + 0x7e], 0x3e
mov byte [esi + 0x7f], 0xaf
mov byte [esi + 0x80], 0x3c
mov byte [esi + 0x81], 0xad
mov byte [esi + 0x82], 0x3e
mov byte [esi + 0x83], 0xa3
mov byte [esi + 0x84], 0x39
mov byte [esi + 0x85], 0xa1
mov byte [esi + 0x86], 0xc1
mov byte [esi + 0x87], 0xa7
mov byte [esi + 0x88], 0xc5
mov byte [esi + 0x89], 0xa5
mov byte [esi + 0x8a], 0x4e
mov byte [esi + 0x8b], 0xdb
mov byte [esi + 0x8c], 0x41
mov byte [esi + 0x8d], 0xd9
mov byte [esi + 0x8e], 0x4d
mov byte [esi + 0x8f], 0xdf
mov byte [esi + 0x90], 0x4e
mov byte [esi + 0x91], 0xdd
mov byte [esi + 0x92], 0x81
mov byte [esi + 0x93], 0xd3
mov byte [esi + 0x94], 0x58
mov byte [esi + 0x95], 0xd1
mov byte [esi + 0x96], 0x8b
mov byte [esi + 0x97], 0xd7
mov byte [esi + 0x98], 0x5f
mov byte [esi + 0x99], 0xd5
mov byte [esi + 0x9a], 0x41
mov byte [esi + 0x9b], 0xcb
mov byte [esi + 0x9c], 0x43
mov byte [esi + 0x9d], 0xc9
mov byte [esi + 0x9e], 0x93
mov byte [esi + 0x9f], 0xcf
mov byte [esi + 0xa0], 0x56
mov byte [esi + 0xa1], 0xcd
mov byte [esi + 0xa2], 0x51
mov byte [esi + 0xa3], 0xc3
mov byte [esi + 0xa4], 0x56
mov byte [esi + 0xa5], 0xc1
mov byte [esi + 0xa6], 0x5b
mov byte [esi + 0xa7], 0xc7
mov byte [esi + 0xa8], 0x99
mov byte [esi + 0xa9], 0xc5
mov byte [esi + 0xaa], 0x6f
mov byte [esi + 0xab], 0xfb
mov byte [esi + 0xac], 0x6e
mov byte [esi + 0xad], 0xf9
mov byte [esi + 0xae], 0x62
mov byte [esi + 0xaf], 0xff
mov byte [esi + 0xb0], 0x99
mov byte [esi + 0xb1], 0xfd
mov byte [esi + 0xb2], 0x60
mov byte [esi + 0xb3], 0xf3
mov byte [esi + 0xb4], 0x97
mov byte [esi + 0xb5], 0xf1
mov byte [esi + 0xb6], 0x65
mov byte [esi + 0xb7], 0xf7
mov byte [esi + 0xb8], 0x90
mov byte [esi + 0xb9], 0xf5
mov byte [esi + 0xba], 0x8f
mov byte [esi + 0xbb], 0xeb
mov byte [esi + 0xbc], 0x8c
mov byte [esi + 0xbd], 0xe9
mov byte [esi + 0xbe], 0xd3
mov byte [esi + 0xbf], 0xef
mov byte [esi + 0xc0], 0xd2
mov byte [esi + 0xc1], 0xed
mov byte [esi + 0xc2], 0xe2
mov byte [esi + 0xc3], 0xe3
mov dword [esi + 0xd8], 0
mov dword [esi + 0xd4], 0
mov dword [esi + 0xd0], 0
mov dword [esi + 0xcc], 0
mov dword [esi + 0xc8], 0
mov dword [esi + 0xc4], 0
mov dword [esi + 0xc], 0
mov ecx, dword [esi + 0xc]
cmp ecx, 0x7c
jae 0x40aa67
jmp 0x40aa2c
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 0xc]
movzx edx, byte [esi + edx + 0x60]
mov edi, ecx
add edi, 0x6c1e3916
lea ecx, [ecx + edx + 0x6c1e3916]
and edi, edx
add edi, edi
sub ecx, edi
add cl, 0x66
mov edx, dword [esi + 0xc]
mov byte [esi + edx + 0x60], cl
mov ecx, dword [esi + 0xc]
inc ecx
mov dword [esi + 0xc], ecx
mov ecx, dword [esi + 0xc]
cmp ecx, 0x7c
jb 0x40aa2c
jmp 0x40aa67
mov cl, byte [esi + 0x38]
mov byte [esi + 0x4c], cl
mov byte [esi + 0xf0], 0x57
mov byte [esi + 0xf1], 0x25
mov byte [esi + 0xf2], 0x83
mov byte [esi + 0xf3], 0x2b
mov byte [esi + 0xf4], 0x9a
mov byte [esi + 0xf5], 0x29
mov byte [esi + 0xf6], 0x87
mov byte [esi + 0xf7], 0x2f
mov byte [esi + 0xf8], 0x2e
mov byte [esi + 0xf9], 0x2d
mov byte [esi + 0x106], 0
mov dword [esi + 0x102], 0
mov dword [esi + 0xfe], 0
mov dword [esi + 0xfa], 0
mov dword [esi + 0x10], 0
mov ecx, dword [esi + 0x10]
cmp ecx, 0x17
jae 0x40ab19
jmp 0x40aae9
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0x10]
mov dl, byte [esi + edx + 0xf0]
add cl, 5
xor cl, dl
add cl, 0xdd
mov edx, dword [esi + 0x10]
mov byte [esi + edx + 0xf0], cl
mov ecx, dword [esi + 0x10]
inc ecx
mov dword [esi + 0x10], ecx
mov ecx, dword [esi + 0x10]
cmp ecx, 0x17
jb 0x40aae9
jmp 0x40ab19
mov ecx, dword [esi + 0x17c]
lea edx, [esi + 0xf0]
lea edi, [esi + 0x60]
lea eax, [esi + 0x28]
xor ebx, ebx
sub esp, 0x1c
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], edi
lea ecx, [esi + 0x1c3]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], 8
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 0
call fcn.0040b090
add esp, 0x1c
test al, 1
jne 0x40ab6a
jmp 0x40b03b
mov al, byte [esi + 0x34]
mov byte [esi + 0x50], al
mov word [esi + 0x1bc], 0
mov dword [esi + 0x1b8], 0
mov dword [esi + 0x1b4], 0
mov dword [esi + 0x1b0], 0
mov dword [esi + 0x1ac], 0
mov dword [esi + 0x1a8], 0
mov dword [esi + 0x1a4], 0
mov dword [esi + 0x1a0], 0
mov byte [esi + 0x1a0], 0x8f
mov byte [esi + 0x1a1], 0x8a
mov byte [esi + 0x1a2], 0x32
mov dword [esi + 0x14], 0
mov eax, dword [esi + 0x14]
cmp eax, 0x1e
jae 0x40ac25
jmp 0x40abe5
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0x14]
movzx ecx, byte [esi + ecx + 0x1a0]
mov edx, eax
add edx, 0x7ea4fcd8
lea eax, [eax + ecx + 0x7ea4fcd8]
and edx, ecx
add edx, edx
sub eax, edx
add al, 0x18
mov ecx, dword [esi + 0x14]
mov byte [esi + ecx + 0x1a0], al
mov eax, dword [esi + 0x14]
inc eax
mov dword [esi + 0x14], eax
mov eax, dword [esi + 0x14]
cmp eax, 0x1e
jb 0x40abe5
jmp 0x40ac25
mov eax, dword [esi + 0x28]
lea ecx, [esi + 0x1a0]
sub esp, 8
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0040c9a0
add esp, 8
cmp eax, 0
sete al
test al, 1
jne 0x40ac4c
jmp 0x40ac55
mov byte [esi + 7], 1
jmp 0x40b02a
mov al, byte [esi + 0x30]
mov byte [esi + 0x54], al
mov byte [esi + 0x180], 0x13
mov byte [esi + 0x181], 0x5e
mov byte [esi + 0x182], 0x5d
mov byte [esi + 0x183], 0x6f
mov byte [esi + 0x184], 0x61
mov byte [esi + 0x185], 0x6c
mov byte [esi + 0x186], 0x62
mov byte [esi + 0x187], 0xff
mov byte [esi + 0x194], 0
mov dword [esi + 0x190], 0
mov dword [esi + 0x18c], 0
mov dword [esi + 0x188], 0
mov dword [esi + 0x18], 0
mov eax, dword [esi + 0x18]
cmp eax, 0x15
jae 0x40ad09
jmp 0x40acc9
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x18]
movzx ecx, byte [esi + ecx + 0x180]
mov edx, eax
add edx, 0x5409f43f
lea eax, [eax + ecx + 0x5409f43f]
and edx, ecx
add edx, edx
sub eax, edx
add al, 0x47
mov ecx, dword [esi + 0x18]
mov byte [esi + ecx + 0x180], al
mov eax, dword [esi + 0x18]
inc eax
mov dword [esi + 0x18], eax
mov eax, dword [esi + 0x18]
cmp eax, 0x15
jb 0x40acc9
jmp 0x40ad09
mov eax, dword [esi + 0x28]
lea ecx, [esi + 0x180]
sub esp, 8
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0040c9e0
add esp, 8
cmp eax, 0
je 0x40b028
mov al, byte [esi + 0x2c]
mov byte [esi + 0x58], al
mov byte [esi + 0x130], 0x14
mov byte [esi + 0x131], 2
mov byte [esi + 0x132], 0x17
mov byte [esi + 0x133], 0
mov byte [esi + 0x134], 0x69
mov byte [esi + 0x135], 0x4f
mov byte [esi + 0x136], 0xf
mov byte [esi + 0x137], 0x1b
mov byte [esi + 0x138], 0x1f
mov byte [esi + 0x139], 0
mov byte [esi + 0x13a], 0x4a
mov byte [esi + 0x13b], 0x53
mov byte [esi + 0x13c], 8
mov byte [esi + 0x13d], 0x16
mov byte [esi + 0x13e], 0x1c
mov byte [esi + 0x13f], 0xc
mov byte [esi + 0x140], 0x1d
mov byte [esi + 0x141], 0x76
mov byte [esi + 0x142], 0x52
mov byte [esi + 0x143], 0xbb
lea eax, [esi + 0x130]
add eax, 0x14
xor ecx, ecx
sub esp, 0xc
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 0xf
call fcn.00408680
add esp, 0xc
call fcn.0040f4e0
mov dword [esi + 0x1c], 0
mov eax, dword [esi + 0x1c]
cmp eax, 0x23
jae 0x40ae3e
jmp 0x40adfe
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x1c]
movzx ecx, byte [esi + ecx + 0x130]
mov edx, eax
add edx, 0xc3c1d9c5
lea eax, [eax + ecx - 0x3c3e263b]
and edx, ecx
add edx, edx
sub eax, edx
add al, 0x9d
mov ecx, dword [esi + 0x1c]
mov byte [esi + ecx + 0x130], al
mov eax, dword [esi + 0x1c]
inc eax
mov dword [esi + 0x1c], eax
mov eax, dword [esi + 0x1c]
cmp eax, 0x23
jb 0x40adfe
jmp 0x40ae3e
lea eax, [esi + 0x1cc]
lea edx, [esi + 0x130]
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 + 0x130]
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 + 0x1cc]
mov ecx, dword [esi + 0x28]
sub esp, 8
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0040c9e0
add esp, 8
mov dword [esi + 0x24], eax
cmp dword [esi + 0x24], 0
setne al
mov edi, dword [esi + 0x174]
jmp 0x40ae9b
test al, 1
jne 0x40aea4
jmp 0x40b026
mov eax, dword [esi + 0x24]
add eax, 0x13
mov dword [esi + 0x24], eax
jmp 0x40aeaf
jmp 0x40aeb1
mov eax, dword [esi + 0x170]
mov al, byte [eax]
mov byte [esi + 0x5c], al
mov dword [edi + 0x1b], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0xc], 0
mov dword [edi + 8], 0
mov dword [edi + 4], 0
mov dword [edi], 0
mov byte [edi], 0xea
mov byte [edi + 1], 0x8f
mov byte [edi + 2], 0xf2
mov dword [esi + 0x20], 0
mov eax, dword [esi + 0x20]
cmp eax, 0x1f
jae 0x40af47
jmp 0x40af0f
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x20]
movzx ecx, byte [edi + ecx]
mov edx, eax
add edx, 0xf2170de
lea eax, [eax + ecx + 0xf2170de]
and edx, ecx
add edx, edx
sub eax, edx
add al, 0xee
mov ecx, dword [esi + 0x20]
mov byte [edi + ecx], al
mov eax, dword [esi + 0x20]
inc eax
mov dword [esi + 0x20], eax
mov eax, dword [esi + 0x20]
cmp eax, 0x1f
jb 0x40af0f
jmp 0x40af47
mov eax, dword [esi + 0x24]
sub esp, 8
mov dword [esp], eax
mov dword [esp + 4], edi
call fcn.0040c9e0
add esp, 8
mov ecx, dword [esi + 0x178]
mov dword [ecx], eax
mov eax, ecx
cmp dword [eax], 0
je 0x40b026
mov byte [0x448e3c], 1
mov ebx, dword [eax]
mov edi, dword [esi + 0x24]
cmp ebx, 0
jne 0x40afa4
mov ecx, edi
jmp 0x40af84
mov eax, ecx
mov dl, byte [eax]
add ecx, 1
cmp dl, 0
jne 0x40af84
mov ecx, eax
xor ecx, edi
mov edx, edi
xor edx, 0xffffffff
and eax, edx
shl eax, 1
sub eax, ecx
mov ebx, edi
add ebx, eax
mov dword [esi + 0xec], 0
lea eax, [0x448e3e]
cmp ebx, edi
jbe 0x40b01d
lea ecx, [0x448e3e]
jmp 0x40afc0
cmp byte [edi], 0
jne 0x40afc9
mov eax, ecx
jmp 0x40b01d
sub esp, 0xc
lea eax, [esi + 0xec]
mov dword [esp + 8], eax
mov dword [esp + 4], ebx
mov dword [esp], edi
mov dword [esi + 0x16c], ecx
call fcn.0040f330
add esp, 0xc
add edi, eax
mov cx, word [esi + 0xec]
mov edx, dword [esi + 0x16c]
mov eax, edx
add eax, 2
mov word [edx], cx
mov ecx, eax
sub ecx, 0x44903c
setb cl
mov edx, edi
sub edx, ebx
setb dl
and cl, dl
test cl, 1
mov ecx, eax
jne 0x40afc0
mov word [eax], 0
mov byte [esi + 7], 1
jmp 0x40b028
jmp 0x40b02a
mov eax, dword [esi + 0x28]
sub esp, 4
mov dword [esp], eax
call fcn.00435e40
add esp, 4
mov al, byte [esi + 7]
and al, 1
movzx eax, al
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret