Function at 0x40e240
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x590
mov esi, esp
mov eax, dword [ebp + 0x20]
mov eax, dword [ebp + 0x1c]
mov eax, dword [ebp + 0x18]
mov eax, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov dword [esi + 0x37c], 0x43ae70
mov byte [esi + 7], 0
mov edx, dword [0x443988]
mov cl, byte [esi + 0x58]
mov byte [esi + 0x60], cl
mov byte [esi + 0x70], 0x61
mov byte [esi + 0x71], 0xd1
mov byte [esi + 0x72], 0x41
mov byte [esi + 0x73], 0xd3
mov byte [esi + 0x74], 0x48
mov byte [esi + 0x75], 0xdd
mov byte [esi + 0x76], 0x77
mov byte [esi + 0x77], 0xdf
mov byte [esi + 0x78], 0x4a
mov byte [esi + 0x79], 0xd9
mov byte [esi + 0x7a], 0x4c
mov byte [esi + 0x7b], 0xdb
mov byte [esi + 0x7c], 0x79
mov byte [esi + 0x7d], 0xc5
mov byte [esi + 0x7e], 0x15
mov byte [esi + 0x7f], 0xc7
mov byte [esi + 0x80], 0x19
mov byte [esi + 0x81], 0xc1
mov byte [esi + 0x82], 0x16
mov byte [esi + 0x83], 0xc3
mov byte [esi + 0x84], 0x12
mov byte [esi + 0x85], 0xcd
mov byte [esi + 0x86], 0x2c
mov byte [esi + 0x87], 0xcf
mov byte [esi + 0x88], 0x26
mov byte [esi + 0x89], 0xc9
mov byte [esi + 0x8a], 0x71
mov byte [esi + 0x8b], 0xcb
mov byte [esi + 0x8c], 0x61
mov byte [esi + 0x8d], 0xb5
mov byte [esi + 0x8e], 0x22
mov byte [esi + 0x8f], 0xb7
mov byte [esi + 0x90], 0x1a
mov byte [esi + 0x91], 0xb1
mov byte [esi + 0x92], 0x21
mov byte [esi + 0x93], 0xb3
mov byte [esi + 0x94], 0x2b
mov byte [esi + 0x95], 0xbd
mov byte [esi + 0x96], 0x21
mov byte [esi + 0x97], 0xbf
mov byte [esi + 0x98], 0x5e
mov byte [esi + 0x99], 0xb9
mov byte [esi + 0x9a], 0xe
mov byte [esi + 0x9b], 0xbb
mov byte [esi + 0x9c], 6
mov byte [esi + 0x9d], 0xa5
mov byte [esi + 0x9e], 0x44
mov byte [esi + 0x9f], 0xa7
mov byte [esi + 0xa0], 0x75
mov byte [esi + 0xa1], 0xa1
mov byte [esi + 0xa2], 0x70
mov byte [esi + 0xa3], 0xa3
mov byte [esi + 0xa4], 0x74
mov byte [esi + 0xa5], 0xad
mov byte [esi + 0xa6], 0x7c
mov byte [esi + 0xa7], 0xaf
mov byte [esi + 0xa8], 0x6b
mov byte [esi + 0xa9], 0xa9
mov byte [esi + 0xaa], 0x48
mov byte [esi + 0xab], 0xab
mov byte [esi + 0xac], 0x13
mov byte [esi + 0xad], 0x95
mov byte [esi + 0xae], 0x3f
mov byte [esi + 0xaf], 0x97
mov byte [esi + 0xb0], 0
mov byte [esi + 0xb1], 0x91
mov byte [esi + 0xb2], 0x4e
mov byte [esi + 0xb3], 0x93
mov byte [esi + 0xb4], 0x4e
mov byte [esi + 0xb5], 0x9d
mov byte [esi + 0xb6], 0x59
mov byte [esi + 0xb7], 0x9f
mov byte [esi + 0xb8], 0x7e
mov byte [esi + 0xb9], 0x99
mov byte [esi + 0xba], 0
mov byte [esi + 0xbb], 0x9b
mov byte [esi + 0xbc], 0x44
mov byte [esi + 0xbd], 0x85
mov byte [esi + 0xbe], 0x58
mov byte [esi + 0xbf], 0x87
mov byte [esi + 0xc0], 0x6d
mov byte [esi + 0xc1], 0x81
mov byte [esi + 0xc2], 0x60
mov byte [esi + 0xc3], 0x83
mov byte [esi + 0xc4], 0x41
mov byte [esi + 0xc5], 0x8d
mov byte [esi + 0xc6], 0x1c
mov byte [esi + 0xc7], 0x8f
mov byte [esi + 0xc8], 0x1e
mov byte [esi + 0xc9], 0x89
mov byte [esi + 0xca], 0x1c
mov byte [esi + 0xcb], 0x8b
mov byte [esi + 0xcc], 0x25
mov byte [esi + 0xcd], 0x75
mov byte [esi + 0xce], 0xcd
mov byte [esi + 0xcf], 0x77
mov byte [esi + 0xd0], 0xd9
mov byte [esi + 0xd1], 0x71
mov byte [esi + 0xd2], 0xd2
mov byte [esi + 0xd3], 0x73
mov byte [esi + 0xd4], 0xc7
mov byte [esi + 0xd5], 0x7d
mov byte [esi + 0xd6], 0xd7
mov byte [esi + 0xd7], 0x7f
mov byte [esi + 0xd8], 0xe2
mov byte [esi + 0xd9], 0x79
mov byte [esi + 0xda], 0xa9
mov byte [esi + 0xdb], 0x7b
mov byte [esi + 0xdc], 0xa5
mov byte [esi + 0xdd], 0x65
mov byte [esi + 0xde], 0xb9
mov byte [esi + 0xdf], 0x67
mov byte [esi + 0xe0], 0xbf
mov byte [esi + 0xe1], 0x61
mov byte [esi + 0xe2], 0xb6
mov byte [esi + 0xe3], 0x63
mov byte [esi + 0xe4], 0xbf
mov byte [esi + 0xe5], 0x6d
mov byte [esi + 0xe6], 0xb2
mov byte [esi + 0xe7], 0x6f
mov byte [esi + 0xe8], 0x8e
mov byte [esi + 0xe9], 0x69
mov byte [esi + 0xea], 0x80
mov byte [esi + 0xeb], 0x6b
mov byte [esi + 0xec], 0xdf
mov byte [esi + 0xed], 0x55
mov byte [esi + 0xee], 0x9c
mov byte [esi + 0xef], 0x57
mov byte [esi + 0xf0], 0xea
mov byte [esi + 0xf1], 0x51
mov byte [esi + 0xf2], 0xe7
mov byte [esi + 0xf3], 0x53
mov byte [esi + 0xf4], 0xe6
mov byte [esi + 0xf5], 0x5d
mov byte [esi + 0xf6], 0x88
mov byte [esi + 0xf7], 0x5f
mov byte [esi + 0xf8], 0xbe
mov byte [esi + 0xf9], 0x59
mov byte [esi + 0xfa], 0xcc
mov byte [esi + 0xfb], 0x5b
mov byte [esi + 0xfc], 0xf1
mov byte [esi + 0xfd], 0x45
mov byte [esi + 0xfe], 0xd1
mov byte [esi + 0xff], 0x47
mov byte [esi + 0x100], 0xe9
mov byte [esi + 0x101], 0x41
mov byte [esi + 0x102], 0xa0
mov byte [esi + 0x103], 0x43
mov byte [esi + 0x104], 0x8b
mov byte [esi + 0x105], 0x4d
mov byte [esi + 0x106], 0xe3
mov byte [esi + 0x107], 0x4f
mov byte [esi + 0x108], 0xe3
mov byte [esi + 0x109], 0x49
mov byte [esi + 0x10a], 0xdd
mov byte [esi + 0x10b], 0x4b
mov byte [esi + 0x10c], 0xdb
mov byte [esi + 0x10d], 0x35
mov byte [esi + 0x10e], 0xdf
mov byte [esi + 0x10f], 0x37
mov byte [esi + 0x110], 0xd6
mov byte [esi + 0x111], 0x31
mov byte [esi + 0x112], 0xfd
mov byte [esi + 0x113], 0x33
mov byte [esi + 0x114], 0x9a
mov byte [esi + 0x115], 0x3d
mov byte [esi + 0x116], 0xae
mov byte [esi + 0x117], 0x3f
mov byte [esi + 0x118], 0xaf
mov byte [esi + 0x119], 0x39
mov byte [esi + 0x11a], 0xaf
mov byte [esi + 0x11b], 0x3b
mov byte [esi + 0x11c], 0x95
mov byte [esi + 0x11d], 0x25
mov byte [esi + 0x11e], 0xf5
mov byte [esi + 0x11f], 0x27
mov byte [esi + 0x120], 0xf5
mov byte [esi + 0x121], 0x21
mov byte [esi + 0x122], 0xf3
mov byte [esi + 0x123], 0x23
mov byte [esi + 0x124], 0xf9
mov byte [esi + 0x125], 0x2d
mov byte [esi + 0x126], 0xfa
mov byte [esi + 0x127], 0x2f
mov byte [esi + 0x128], 0xfe
mov byte [esi + 0x129], 0x29
mov byte [esi + 0x12a], 0xfe
mov byte [esi + 0x12b], 0x2b
mov byte [esi + 0x12c], 0xfa
mov byte [esi + 0x12d], 0x15
mov byte [esi + 0x12e], 0xc2
mov byte [esi + 0x12f], 0x17
mov byte [esi + 0x130], 0xc6
mov byte [esi + 0x131], 0x11
mov byte [esi + 0x132], 0xf0
mov byte [esi + 0x133], 0x13
mov byte [esi + 0x134], 0xaf
mov byte [esi + 0x135], 0x1d
mov byte [esi + 0x136], 0xbf
mov byte [esi + 0x137], 0x1f
mov byte [esi + 0x138], 0xb0
mov byte [esi + 0x139], 0x19
mov byte [esi + 0x13a], 0xbb
mov byte [esi + 0x13b], 0x1b
mov byte [esi + 0x13c], 0x88
mov byte [esi + 0x13d], 5
mov byte [esi + 0x13e], 0xaf
mov byte [esi + 0x13f], 7
mov byte [esi + 0x140], 0xd7
mov byte [esi + 0x141], 1
mov byte [esi + 0x142], 0xdf
mov byte [esi + 0x143], 3
mov byte [esi + 0x144], 0xdf
mov byte [esi + 0x145], 0xd
mov byte [esi + 0x146], 0xd5
mov byte [esi + 0x147], 0xf
mov byte [esi + 0x148], 0xd8
mov byte [esi + 0x149], 9
mov byte [esi + 0x14a], 0xd5
mov byte [esi + 0x14b], 0xb
mov byte [esi + 0x14c], 0xd4
mov byte [esi + 0x14d], 0xf5
mov byte [esi + 0x14e], 0xf4
mov byte [esi + 0x14f], 0xf7
mov dword [esi + 0x154], 0
mov dword [esi + 0x150], 0
mov dword [esi + 0x10], 0
mov ecx, dword [esi + 0x10]
cmp ecx, 0xe8
jae 0x40e903
mov dword [esi + 0x194], edx
jmp 0x40e89e
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0x10]
movzx edx, byte [esi + edx + 0x70]
mov edi, ecx
add edi, 0x56b35a23
lea ecx, [ecx + edx + 0x56b35a23]
mov ebx, edx
not ebx
mov eax, edi
or eax, ebx
mov ebx, edx
add ebx, eax
and edi, edx
lea eax, [edi + ebx + 1]
mov edx, eax
xor edx, ecx
not eax
and ecx, eax
add ecx, ecx
sub ecx, edx
mov eax, ecx
xor eax, 0xa
and ecx, 0xa
lea eax, [eax + ecx*2]
inc al
mov ecx, dword [esi + 0x10]
mov byte [esi + ecx + 0x70], al
mov eax, dword [esi + 0x10]
inc eax
mov dword [esi + 0x10], eax
mov eax, dword [esi + 0x10]
cmp eax, 0xe8
jb 0x40e89e
mov edx, dword [esi + 0x194]
jmp 0x40e903
sub esp, 0x14
lea eax, [esi + 0x70]
mov dword [esp], eax
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
call edx
mov dword [esi + 0x5c], eax
mov eax, dword [esi + 0x5c]
xor ecx, ecx
test eax, eax
setne cl
mov dword [esi + 0x378], ecx
mov eax, dword [esi + 0x37c]
mov ecx, dword [esi + 0x378]
mov eax, dword [eax + ecx*4]
mov ecx, dword [0x43ae78]
xor ecx, 0x2401bb5c
sub eax, ecx
push eax
mov edi, esp
mov dword [edi], 0x43ae7c
push eax
mov dword [esi + 0x1a8], esp
push eax
mov ecx, esp
mov dword [esi + 0x1b8], ecx
mov dword [ecx], 0x43a490
mov ecx, dword [0x43ae88]
mov dword [esi + 0x1b4], ecx
push eax
mov ecx, esp
mov dword [esi + 0x1c0], ecx
mov dword [ecx], 0x43ae90
push eax
mov dword [esi + 0x1bc], esp
push eax
mov ecx, esp
mov dword [esi + 0x1d8], ecx
mov dword [ecx], 0x43ae9c
push eax
mov dword [esi + 0x1cc], esp
push eax
mov ecx, esp
mov dword [esi + 0x1c8], ecx
mov dword [ecx], 0x43a490
mov ecx, dword [0x43aea8]
mov dword [esi + 0x1c4], ecx
push eax
mov ecx, esp
mov dword [esi + 0x1d4], ecx
mov dword [ecx], 0x43a490
mov ecx, dword [0x43aeb0]
mov dword [esi + 0x1d0], ecx
push eax
mov ecx, esp
mov dword [esi + 0x1e0], ecx
mov dword [ecx], 0x43a490
mov ecx, dword [0x43aeb8]
mov dword [esi + 0x1dc], ecx
push eax
mov ecx, esp
mov dword [esi + 0x1e8], ecx
mov dword [ecx], 0x43aec0
push eax
mov dword [esi + 0x1e4], esp
push eax
mov ecx, esp
mov dword [esi + 0x1f0], ecx
mov dword [ecx], 0x43aecc
push eax
mov dword [esi + 0x1ec], esp
push eax
mov ecx, esp
mov dword [esi + 0x1f8], ecx
mov dword [ecx], 0x43a490
mov ecx, dword [0x43aed8]
mov dword [esi + 0x1f4], ecx
push eax
mov ecx, esp
mov dword [esi + 0x200], ecx
mov dword [ecx], 0x43a490
mov ecx, dword [str._rT]
mov dword [esi + 0x1fc], ecx
push eax
mov ecx, esp
mov dword [esi + 0x208], ecx
mov dword [ecx], 0x43aee8
push eax
mov dword [esi + 0x204], esp
push eax
mov ecx, esp
mov dword [esi + 0x220], ecx
mov dword [ecx], 0x43aef4
push eax
mov dword [esi + 0x214], esp
push eax
mov ecx, esp
mov dword [esi + 0x210], ecx
mov dword [ecx], 0x43a490
mov ecx, dword [0x43af00]
mov dword [esi + 0x20c], ecx
push eax
mov ecx, esp
mov dword [esi + 0x21c], ecx
mov dword [ecx], 0x43a490
mov ecx, dword [0x43af08]
mov dword [esi + 0x218], ecx
push eax
mov ecx, esp
mov dword [esi + 0x228], ecx
mov dword [ecx], 0x43a490
mov ecx, dword [0x43af10]
mov dword [esi + 0x224], ecx
push eax
mov ecx, esp
mov dword [esi + 0x230], ecx
mov dword [ecx], 0x43a490
mov ecx, dword [0x43af18]
mov dword [esi + 0x22c], ecx
push eax
mov ecx, esp
mov dword [esi + 0x238], ecx
mov dword [ecx], 0x43a490
mov ecx, dword [0x43af20]
mov dword [esi + 0x234], ecx
push eax
mov ecx, esp
mov dword [esi + 0x240], ecx
mov dword [ecx], 0x43af28
push eax
mov dword [esi + 0x23c], esp
push eax
mov ecx, esp
mov dword [esi + 0x25c], ecx
mov dword [ecx], 0x43af34
push eax
mov dword [esi + 0x24c], esp
push eax
mov ecx, esp
mov dword [esi + 0x250], ecx
mov dword [ecx], 0x43af40
push eax
mov dword [esi + 0x244], esp
push eax
mov ecx, esp
mov dword [esi + 0x254], ecx
mov dword [ecx], 0x43a490
mov ecx, dword [0x43af4c]
mov dword [esi + 0x248], ecx
push eax
mov ecx, esp
mov dword [esi + 0x260], ecx
mov dword [ecx], 0x43af54
push eax
mov dword [esi + 0x258], esp
push eax
mov ecx, esp
mov dword [esi + 0x288], ecx
mov dword [ecx], 0x43af60
push eax
mov dword [esi + 0x278], esp
push eax
mov ecx, esp
mov dword [esi + 0x270], ecx
mov dword [ecx], 0x43a490
mov ecx, dword [0x43af6c]
mov dword [esi + 0x26c], ecx
push eax
mov ecx, esp
mov dword [esi + 0x280], ecx
mov dword [ecx], 0x43a490
mov ecx, dword [0x43af74]
mov dword [esi + 0x274], ecx
push eax
mov ecx, esp
mov dword [esi + 0x290], ecx
mov dword [ecx], 0x43af7c
push eax
mov dword [esi + 0x28c], esp
push eax
mov ecx, esp
mov dword [esi + 0x298], ecx
mov dword [ecx], 0x43af88
push eax
mov dword [esi + 0x294], esp
push eax
mov ecx, esp
mov dword [esi + 0x2a4], ecx
mov dword [ecx], 0x43af94
push eax
mov dword [esi + 0x29c], esp
push eax
mov ecx, esp
mov dword [esi + 0x2a8], ecx
mov dword [ecx], 0x43a490
mov ecx, dword [0x43afa0]
mov dword [esi + 0x2a0], ecx
push eax
mov ecx, esp
mov dword [esi + 0x2b0], ecx
mov dword [ecx], 0x43afa8
push eax
mov dword [esi + 0x2ac], esp
push eax
mov ecx, esp
mov dword [esi + 0x2cc], ecx
mov dword [ecx], 0x43afb4
push eax
mov dword [esi + 0x2c0], esp
push eax
mov ecx, esp
mov dword [esi + 0x2b8], ecx
mov dword [ecx], 0x43a490
mov ecx, dword [0x43afc0]
mov dword [esi + 0x2b4], ecx
push eax
mov ecx, esp
mov dword [esi + 0x2c4], ecx
mov dword [ecx], 0x43a490
mov ecx, dword [0x43afc8]
mov dword [esi + 0x2bc], ecx
push eax
mov ecx, esp
mov dword [esi + 0x2d0], ecx
mov dword [ecx], 0x43a490
mov ecx, dword [0x43afd0]
mov dword [esi + 0x2c8], ecx
push eax
mov ecx, esp
mov dword [esi + 0x2d8], ecx
mov dword [ecx], 0x43a490
mov ecx, dword [0x43afd8]
mov dword [esi + 0x2d4], ecx
push eax
mov ecx, esp
mov dword [esi + 0x2e0], ecx
mov dword [ecx], 0x43a490
mov ecx, dword [0x43afe0]
mov dword [esi + 0x2dc], ecx
push eax
mov ecx, esp
mov dword [esi + 0x2e8], ecx
mov dword [ecx], 0x43a490
mov ecx, dword [0x43afe8]
mov dword [esi + 0x2e4], ecx
push eax
mov ecx, esp
mov dword [esi + 0x2f0], ecx
mov dword [ecx], 0x43a490
mov ecx, dword [0x43aff0]
mov dword [esi + 0x2ec], ecx
push eax
mov ecx, esp
mov dword [esi + 0x300], ecx
mov dword [ecx], 0x43a490
mov ecx, dword [0x43aff8]
mov dword [esi + 0x2f8], ecx
push eax
mov ecx, esp
mov dword [esi + 0x308], ecx
mov dword [ecx], 0x43b000
push eax
mov dword [esi + 0x304], esp
push eax
mov ecx, esp
mov dword [esi + 0x328], ecx
mov dword [ecx], 0x43b00c
push eax
mov dword [esi + 0x320], esp
push eax
mov ecx, esp
mov dword [esi + 0x318], ecx
mov dword [ecx], 0x43a490
mov ecx, dword [0x43b018]
mov dword [esi + 0x310], ecx
push eax
mov ecx, esp
mov dword [esi + 0x324], ecx
mov dword [ecx], 0x43a490
mov ecx, dword [0x43b020]
mov dword [esi + 0x31c], ecx
push eax
mov ecx, esp
mov dword [esi + 0x330], ecx
mov dword [ecx], 0x43a490
mov ecx, dword [0x43b028]
mov dword [esi + 0x32c], ecx
push eax
mov ecx, esp
mov dword [esi + 0x338], ecx
mov dword [ecx], 0x43a490
mov ecx, dword [0x43b030]
mov dword [esi + 0x334], ecx
push eax
mov ecx, esp
mov dword [esi + 0x340], ecx
mov dword [ecx], 0x43a490
mov ecx, dword [0x43b038]
mov dword [esi + 0x33c], ecx
push eax
mov edx, esp
mov dword [edx], 0x43a490
mov ecx, dword [0x43b040]
mov dword [esi + 0x344], ecx
push eax
mov ecx, esp
mov dword [esi + 0x350], ecx
mov dword [ecx], 0x43b048
push eax
mov dword [esi + 0x34c], esp
push eax
mov ecx, esp
mov dword [esi + 0x368], ecx
mov dword [ecx], 0x43b054
push eax
mov dword [esi + 0x360], esp
push eax
mov ecx, esp
mov dword [esi + 0x358], ecx
mov dword [ecx], 0x43a490
mov ecx, dword [0x43b060]
mov dword [esi + 0x354], ecx
push eax
mov ecx, esp
mov dword [esi + 0x364], ecx
mov dword [ecx], 0x43b068
push eax
mov dword [esi + 0x35c], esp
push eax
mov ecx, esp
mov dword [esi + 0x370], ecx
mov dword [ecx], 0x43b074
push eax
mov dword [esi + 0x36c], esp
push eax
mov ebx, esp
mov dword [ebx], 0x43a490
mov ecx, dword [0x43b080]
mov dword [esi + 0x190], ecx
push eax
mov ecx, esp
mov dword [esi + 0x19c], ecx
mov dword [ecx], 0x43a490
mov ecx, dword [0x43b088]
mov dword [esi + 0x198], ecx
push eax
mov ecx, esp
mov dword [esi + 0x1a4], ecx
mov dword [ecx], 0x43a490
mov ecx, dword [0x43b090]
mov dword [esi + 0x1a0], ecx
push eax
mov ecx, esp
mov dword [esi + 0x1b0], ecx
mov dword [ecx], 0x43a490
mov ecx, dword [0x43b098]
mov dword [esi + 0x1ac], ecx
push eax
mov ecx, esp
mov dword [esi + 0x268], ecx
mov dword [ecx], 0x43a490
mov ecx, dword [0x43b0a0]
mov dword [esi + 0x264], ecx
push eax
mov ecx, esp
mov dword [esi + 0x284], ecx
mov dword [ecx], 0x43a490
mov ecx, dword [0x43b0a8]
mov dword [esi + 0x27c], ecx
push eax
mov ecx, esp
mov dword [esi + 0x2fc], ecx
mov dword [ecx], 0x43a490
mov ecx, dword [0x43b0b0]
mov dword [esi + 0x2f4], ecx
push eax
mov ecx, esp
mov dword [esi + 0x314], ecx
mov dword [ecx], 0x43a490
mov ecx, dword [0x43b0b8]
mov dword [esi + 0x30c], ecx
jmp eax