Function at 0x40f050
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x5a0
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 + 0x38c], 0x439fc4
mov byte [esi + 0xb], 0
mov eax, dword [0x44211c]
mov cl, byte [esi + 0x2c]
mov byte [esi + 0x34], cl
mov byte [esi + 0x40], 0xad
mov byte [esi + 0x41], 0x61
mov byte [esi + 0x42], 0xcd
mov byte [esi + 0x43], 0x63
mov byte [esi + 0x44], 0xfe
mov byte [esi + 0x45], 0x65
mov byte [esi + 0x46], 0xcf
mov byte [esi + 0x47], 0x67
mov byte [esi + 0x48], 0xc4
mov byte [esi + 0x49], 0x69
mov byte [esi + 0x4a], 0xc6
mov byte [esi + 0x4b], 0x6b
mov byte [esi + 0x4c], 0xcd
mov byte [esi + 0x4d], 0x6d
mov byte [esi + 0x4e], 0x81
mov byte [esi + 0x4f], 0x6f
mov byte [esi + 0x50], 0x85
mov byte [esi + 0x51], 0x51
mov byte [esi + 0x52], 0xbc
mov byte [esi + 0x53], 0x53
mov byte [esi + 0x54], 0x84
mov byte [esi + 0x55], 0x55
mov byte [esi + 0x56], 0xb6
mov byte [esi + 0x57], 0x57
mov byte [esi + 0x58], 0xb0
mov byte [esi + 0x59], 0x59
mov byte [esi + 0x5a], 0xed
mov byte [esi + 0x5b], 0x5b
mov byte [esi + 0x5c], 0xf5
mov byte [esi + 0x5d], 0x5d
mov byte [esi + 0x5e], 0xf0
mov byte [esi + 0x5f], 0x5f
mov byte [esi + 0x60], 0xe4
mov byte [esi + 0x61], 0x41
mov byte [esi + 0x62], 0xed
mov byte [esi + 0x63], 0x43
mov byte [esi + 0x64], 0xd3
mov byte [esi + 0x65], 0x45
mov byte [esi + 0x66], 0xd5
mov byte [esi + 0x67], 0x47
mov byte [esi + 0x68], 0xa8
mov byte [esi + 0x69], 0x49
mov byte [esi + 0x6a], 0x84
mov byte [esi + 0x6b], 0x4b
mov byte [esi + 0x6c], 0xf8
mov byte [esi + 0x6d], 0x4d
mov byte [esi + 0x6e], 0xae
mov byte [esi + 0x6f], 0x4f
mov byte [esi + 0x70], 0xe1
mov byte [esi + 0x71], 0x31
mov byte [esi + 0x72], 0xe2
mov byte [esi + 0x73], 0x33
mov byte [esi + 0x74], 0xda
mov byte [esi + 0x75], 0x35
mov byte [esi + 0x76], 0xe6
mov byte [esi + 0x77], 0x37
mov byte [esi + 0x78], 0xe3
mov byte [esi + 0x79], 0x39
mov byte [esi + 0x7a], 0xda
mov byte [esi + 0x7b], 0x3b
mov byte [esi + 0x7c], 0x8b
mov byte [esi + 0x7d], 0x3d
mov byte [esi + 0x7e], 0x97
mov byte [esi + 0x7f], 0x3f
mov byte [esi + 0x80], 0x8e
mov byte [esi + 0x81], 0x21
mov byte [esi + 0x82], 0xf4
mov byte [esi + 0x83], 0x23
mov byte [esi + 0x84], 0xf0
mov byte [esi + 0x85], 0x25
mov byte [esi + 0x86], 0xfd
mov byte [esi + 0x87], 0x27
mov byte [esi + 0x88], 0xc8
mov byte [esi + 0x89], 0x29
mov byte [esi + 0x8a], 0xb2
mov byte [esi + 0x8b], 0x2b
mov byte [esi + 0x8c], 0xfa
mov byte [esi + 0x8d], 0x2d
mov byte [esi + 0x8e], 0xfa
mov byte [esi + 0x8f], 0x2f
mov byte [esi + 0x90], 0xf9
mov byte [esi + 0x91], 0x11
mov byte [esi + 0x92], 0xf2
mov byte [esi + 0x93], 0x13
mov byte [esi + 0x94], 0xd5
mov byte [esi + 0x95], 0x15
mov byte [esi + 0x96], 0x86
mov byte [esi + 0x97], 0x17
mov byte [esi + 0x98], 0x88
mov byte [esi + 0x99], 0x19
mov byte [esi + 0x9a], 0xb6
mov byte [esi + 0x9b], 0x1b
mov byte [esi + 0x9c], 0xb9
mov byte [esi + 0x9d], 0x1d
mov byte [esi + 0x9e], 0xa9
mov byte [esi + 0x9f], 0x1f
mov byte [esi + 0xa0], 0xa5
mov byte [esi + 0xa1], 1
mov byte [esi + 0xa2], 0xa0
mov byte [esi + 0xa3], 3
mov byte [esi + 0xa4], 0xcf
mov byte [esi + 0xa5], 5
mov byte [esi + 0xa6], 0xaf
mov byte [esi + 0xa7], 7
mov byte [esi + 0xa8], 0x9c
mov byte [esi + 0xa9], 9
mov byte [esi + 0xaa], 0xe5
mov byte [esi + 0xab], 0xb
mov byte [esi + 0xac], 0xd9
mov byte [esi + 0xad], 0xd
mov byte [esi + 0xae], 0xdd
mov byte [esi + 0xaf], 0xf
mov byte [esi + 0xb0], 0x27
mov byte [esi + 0xb1], 0xf1
mov byte [esi + 0xb2], 0x1c
mov byte [esi + 0xb3], 0xf3
mov byte [esi + 0xb4], 0x27
mov byte [esi + 0xb5], 0xf5
mov byte [esi + 0xb6], 0x20
mov byte [esi + 0xb7], 0xf7
mov byte [esi + 0xb8], 0x18
mov byte [esi + 0xb9], 0xf9
mov byte [esi + 0xba], 0x12
mov byte [esi + 0xbb], 0xfb
mov byte [esi + 0xbc], 0x37
mov byte [esi + 0xbd], 0xfd
mov byte [esi + 0xbe], 0x36
mov byte [esi + 0xbf], 0xff
mov byte [esi + 0xc0], 0x54
mov byte [esi + 0xc1], 0xe1
mov byte [esi + 0xc2], 0x2f
mov byte [esi + 0xc3], 0xe3
mov byte [esi + 0xc4], 0x28
mov byte [esi + 0xc5], 0xe5
mov byte [esi + 0xc6], 0xa
mov byte [esi + 0xc7], 0xe7
mov byte [esi + 0xc8], 8
mov byte [esi + 0xc9], 0xe9
mov byte [esi + 0xca], 0x46
mov byte [esi + 0xcb], 0xeb
mov byte [esi + 0xcc], 0x45
mov byte [esi + 0xcd], 0xed
mov byte [esi + 0xce], 0x45
mov byte [esi + 0xcf], 0xef
mov byte [esi + 0xd0], 0x75
mov byte [esi + 0xd1], 0xd1
mov byte [esi + 0xd2], 0x32
mov byte [esi + 0xd3], 0xd3
mov byte [esi + 0xd4], 0x13
mov byte [esi + 0xd5], 0xd5
mov byte [esi + 0xd6], 0x73
mov byte [esi + 0xd7], 0xd7
mov byte [esi + 0xd8], 0x7b
mov byte [esi + 0xd9], 0xd9
mov byte [esi + 0xda], 0x71
mov byte [esi + 0xdb], 0xdb
mov byte [esi + 0xdc], 0x73
mov byte [esi + 0xdd], 0xdd
mov byte [esi + 0xde], 0x37
mov byte [esi + 0xdf], 0xdf
mov byte [esi + 0xe0], 0x20
mov byte [esi + 0xe1], 0xc1
mov byte [esi + 0xe2], 1
mov byte [esi + 0xe3], 0xc3
mov byte [esi + 0xe4], 0x6c
mov byte [esi + 0xe5], 0xc5
mov byte [esi + 0xe6], 0x54
mov byte [esi + 0xe7], 0xc7
mov byte [esi + 0xe8], 0x67
mov byte [esi + 0xe9], 0xc9
mov byte [esi + 0xea], 0x67
mov byte [esi + 0xeb], 0xcb
mov byte [esi + 0xec], 0x69
mov byte [esi + 0xed], 0xcd
mov byte [esi + 0xee], 0x21
mov byte [esi + 0xef], 0xcf
mov byte [esi + 0xf0], 0x61
mov byte [esi + 0xf1], 0xb1
mov byte [esi + 0xf2], 0x63
mov byte [esi + 0xf3], 0xb3
mov byte [esi + 0xf4], 0x6d
mov byte [esi + 0xf5], 0xb5
mov byte [esi + 0xf6], 0x58
mov byte [esi + 0xf7], 0xb7
mov byte [esi + 0xf8], 0x68
mov byte [esi + 0xf9], 0xb9
mov byte [esi + 0xfa], 0x54
mov byte [esi + 0xfb], 0xbb
mov byte [esi + 0xfc], 0x6c
mov byte [esi + 0xfd], 0xbd
mov byte [esi + 0xfe], 0x50
mov byte [esi + 0xff], 0xbf
mov byte [esi + 0x100], 0x70
mov byte [esi + 0x101], 0xa1
mov byte [esi + 0x102], 0x42
mov byte [esi + 0x103], 0xa3
mov byte [esi + 0x104], 0x17
mov byte [esi + 0x105], 0xa5
mov byte [esi + 0x106], 7
mov byte [esi + 0x107], 0xa7
mov byte [esi + 0x108], 0xe
mov byte [esi + 0x109], 0xa9
mov byte [esi + 0x10a], 0xb
mov byte [esi + 0x10b], 0xab
mov byte [esi + 0x10c], 0x3e
mov byte [esi + 0x10d], 0xad
mov byte [esi + 0x10e], 7
mov byte [esi + 0x10f], 0xaf
mov byte [esi + 0x110], 0x7f
mov byte [esi + 0x111], 0x91
mov byte [esi + 0x112], 0x47
mov byte [esi + 0x113], 0x93
mov byte [esi + 0x114], 0x47
mov byte [esi + 0x115], 0x95
mov byte [esi + 0x116], 0x41
mov byte [esi + 0x117], 0x97
mov byte [esi + 0x118], 0x76
mov byte [esi + 0x119], 0x99
mov byte [esi + 0x11a], 0x49
mov byte [esi + 0x11b], 0x9b
mov byte [esi + 0x11c], 0x4a
mov byte [esi + 0x11d], 0x9d
mov byte [esi + 0x11e], 0x9e
mov byte [esi + 0x11f], 0x9f
mov dword [esi + 0x120], 0
mov dword [esi + 0x10], 0
mov ecx, dword [esi + 0x10]
cmp ecx, 0xe4
jae 0x40f644
jmp 0x40f60d
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0x10]
mov dl, byte [esi + edx + 0x40]
add cl, 0x10
xor cl, dl
add cl, 0x90
mov edx, dword [esi + 0x10]
mov byte [esi + edx + 0x40], cl
mov ecx, dword [esi + 0x10]
mov edx, ecx
and edx, 1
xor ecx, 1
lea ecx, [ecx + edx*2]
mov dword [esi + 0x10], ecx
mov ecx, dword [esi + 0x10]
cmp ecx, 0xe4
jb 0x40f60d
jmp 0x40f644
sub esp, 0x14
lea ecx, [esi + 0x40]
mov dword [esp], ecx
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
call eax
mov dword [esi + 0x30], eax
mov eax, dword [esi + 0x30]
xor ecx, ecx
test eax, eax
setne cl
mov dword [esi + 0x388], ecx
mov eax, dword [esi + 0x38c]
mov ecx, dword [esi + 0x388]
mov eax, dword [eax + ecx*4]
mov ecx, dword [0x439fcc]
xor ecx, 0xb1ec1d34
sub eax, ecx
push eax
mov ecx, esp
mov dword [esi + 0x1c8], ecx
mov dword [ecx], 0x439fd0
push eax
mov dword [esi + 0x1c4], esp
push eax
mov ecx, esp
mov dword [esi + 0x1d8], ecx
mov dword [ecx], 0x439fdc
push eax
mov dword [esi + 0x1d4], esp
push eax
mov ecx, esp
mov dword [esi + 0x1e0], ecx
mov dword [ecx], 0x439fe8
push eax
mov dword [esi + 0x1dc], esp
push eax
mov ecx, esp
mov dword [esi + 0x1e8], ecx
mov dword [ecx], 0x439490
mov ecx, dword [0x439ff4]
mov dword [esi + 0x1e4], ecx
push eax
mov ecx, esp
mov dword [esi + 0x1f0], ecx
mov dword [ecx], 0x439490
mov ecx, dword [0x439ffc]
mov dword [esi + 0x1ec], ecx
push eax
mov ecx, esp
mov dword [esi + 0x1fc], ecx
mov dword [ecx], 0x439490
mov ecx, dword [0x43a004]
mov dword [esi + 0x1f4], ecx
push eax
mov ecx, esp
mov dword [esi + 0x208], ecx
mov dword [ecx], 0x43a00c
push eax
mov dword [esi + 0x204], esp
push eax
mov ecx, esp
mov dword [esi + 0x220], ecx
mov dword [ecx], 0x43a018
push eax
mov dword [esi + 0x218], esp
push eax
mov ecx, esp
mov dword [esi + 0x210], ecx
mov dword [ecx], 0x439490
mov ecx, dword [0x43a024]
mov dword [esi + 0x20c], ecx
push eax
mov ecx, esp
mov dword [esi + 0x21c], ecx
mov dword [ecx], 0x43a02c
push eax
mov dword [esi + 0x214], esp
push eax
mov ecx, esp
mov dword [esi + 0x230], ecx
mov dword [ecx], 0x43a038
push eax
mov dword [esi + 0x228], esp
push eax
mov ecx, esp
mov dword [esi + 0x22c], ecx
mov dword [ecx], 0x43a044
push eax
mov dword [esi + 0x224], esp
push eax
mov ecx, esp
mov dword [esi + 0x240], ecx
mov dword [ecx], 0x439490
mov ecx, dword [0x43a050]
mov dword [esi + 0x23c], ecx
push eax
mov ecx, esp
mov dword [esi + 0x248], ecx
mov dword [ecx], 0x43a058
push eax
mov dword [esi + 0x244], esp
push eax
mov ecx, esp
mov dword [esi + 0x26c], ecx
mov dword [ecx], 0x43a064
push eax
mov dword [esi + 0x260], esp
push eax
mov ecx, esp
mov dword [esi + 0x258], ecx
mov dword [ecx], 0x439490
mov ecx, dword [0x43a070]
mov dword [esi + 0x254], ecx
push eax
mov ecx, esp
mov dword [esi + 0x264], ecx
mov dword [ecx], 0x439490
mov ecx, dword [0x43a078]
mov dword [esi + 0x25c], ecx
push eax
mov ecx, esp
mov dword [esi + 0x270], ecx
mov dword [ecx], 0x43a080
push eax
mov dword [esi + 0x268], esp
push eax
mov ecx, esp
mov dword [esi + 0x280], ecx
mov dword [ecx], 0x43a08c
push eax
mov dword [esi + 0x27c], esp
push eax
mov ecx, esp
mov dword [esi + 0x278], ecx
mov dword [ecx], 0x439490
mov ecx, dword [0x43a098]
mov dword [esi + 0x274], ecx
push eax
mov ecx, esp
mov dword [esi + 0x28c], ecx
mov dword [ecx], 0x43a0a0
push eax
mov dword [esi + 0x284], esp
push eax
mov ecx, esp
mov dword [esi + 0x290], ecx
mov dword [ecx], 0x439490
mov ecx, dword [0x43a0ac]
mov dword [esi + 0x288], ecx
push eax
mov ecx, esp
mov dword [esi + 0x298], ecx
mov dword [ecx], 0x43a0b4
push eax
mov dword [esi + 0x294], esp
push eax
mov ecx, esp
mov dword [esi + 0x2a8], ecx
mov dword [ecx], 0x43a0c0
push eax
mov dword [esi + 0x2a4], esp
push eax
mov ecx, esp
mov dword [esi + 0x2a0], ecx
mov dword [ecx], 0x439490
mov ecx, dword [0x43a0cc]
mov dword [esi + 0x29c], ecx
push eax
mov ecx, esp
mov dword [esi + 0x2b8], ecx
mov dword [ecx], 0x43a0d4
push eax
mov dword [esi + 0x2ac], esp
push eax
mov ecx, esp
mov dword [esi + 0x2c0], ecx
mov dword [ecx], 0x43a0e0
push eax
mov dword [esi + 0x2b4], esp
push eax
mov ecx, esp
mov dword [esi + 0x2d8], ecx
mov dword [ecx], 0x43a0ec
push eax
mov dword [esi + 0x2d0], esp
push eax
mov ecx, esp
mov dword [esi + 0x2cc], ecx
mov dword [ecx], 0x439490
mov ecx, dword [0x43a0f8]
mov dword [esi + 0x2c4], ecx
push eax
mov ecx, esp
mov dword [esi + 0x2e0], ecx
mov dword [ecx], 0x439490
mov ecx, dword [0x43a100]
mov dword [esi + 0x2dc], ecx
push eax
mov ecx, esp
mov dword [esi + 0x2ec], ecx
mov dword [ecx], 0x43a108
push eax
mov dword [esi + 0x2e4], esp
push eax
mov ecx, esp
mov dword [esi + 0x2f0], ecx
mov dword [ecx], 0x439490
mov ecx, dword [0x43a114]
mov dword [esi + 0x2e8], ecx
push eax
mov ecx, esp
mov dword [esi + 0x2f8], ecx
mov dword [ecx], 0x43a11c
push eax
mov dword [esi + 0x2f4], esp
push eax
mov ecx, esp
mov dword [esi + 0x314], ecx
mov dword [ecx], 0x43a128
push eax
mov dword [esi + 0x308], esp
push eax
mov ecx, esp
mov dword [esi + 0x300], ecx
mov dword [ecx], 0x439490
mov ecx, dword [0x43a134]
mov dword [esi + 0x2fc], ecx
push eax
mov ecx, esp
mov dword [esi + 0x30c], ecx
mov dword [ecx], 0x439490
mov ecx, dword [0x43a13c]
mov dword [esi + 0x304], ecx
push eax
mov ecx, esp
mov dword [esi + 0x318], ecx
mov dword [ecx], 0x439490
mov ecx, dword [0x43a144]
mov dword [esi + 0x310], ecx
push eax
mov ecx, esp
mov dword [esi + 0x324], ecx
mov dword [ecx], 0x439490
mov ecx, dword [0x43a14c]
mov dword [esi + 0x31c], ecx
push eax
mov ecx, esp
mov dword [esi + 0x330], ecx
mov dword [ecx], 0x439490
mov ecx, dword [0x43a154]
mov dword [esi + 0x328], ecx
push eax
mov ecx, esp
mov dword [esi + 0x338], ecx
mov dword [ecx], 0x43a15c
push eax
mov dword [esi + 0x334], esp
push eax
mov ecx, esp
mov dword [esi + 0x350], ecx
mov dword [ecx], 0x43a168
push eax
mov dword [esi + 0x348], esp
push eax
mov ecx, esp
mov dword [esi + 0x340], ecx
mov dword [ecx], 0x439490
mov ecx, dword [0x43a174]
mov dword [esi + 0x33c], ecx
push eax
mov ecx, esp
mov dword [esi + 0x34c], ecx
mov dword [ecx], 0x43a17c
push eax
mov dword [esi + 0x344], esp
push eax
mov ecx, esp
mov dword [esi + 0x368], ecx
mov dword [ecx], 0x43a188
push eax
mov dword [esi + 0x360], esp
push eax
mov ecx, esp
mov dword [esi + 0x358], ecx
mov dword [ecx], 0x439490
mov ecx, dword [0x43a194]
mov dword [esi + 0x354], ecx
push eax
mov ecx, esp
mov dword [esi + 0x364], ecx
mov dword [ecx], 0x43a19c
push eax
mov dword [esi + 0x35c], esp
push eax
mov edi, esp
mov dword [edi], 0x43a1a8
push eax
mov dword [esi + 0x374], esp
push eax
mov ecx, esp
mov dword [esi + 0x370], ecx
mov dword [ecx], 0x439490
mov ecx, dword [0x43a1b4]
mov dword [esi + 0x36c], ecx
push eax
mov ecx, esp
mov dword [ecx], 0x439490
mov edx, dword [0x43a1bc]
push eax
mov ebx, esp
mov dword [esi + 0x1b0], ebx
mov dword [ebx], 0x439490
mov ebx, dword [0x43a1c4]
mov dword [esi + 0x1ac], ebx
push eax
mov ebx, esp
mov dword [esi + 0x1b8], ebx
mov dword [ebx], 0x439490
mov ebx, dword [0x43a1cc]
mov dword [esi + 0x1b4], ebx
push eax
mov ebx, esp
mov dword [esi + 0x1c0], ebx
mov dword [ebx], 0x439490
mov ebx, dword [0x43a1d4]
mov dword [esi + 0x1bc], ebx
push eax
mov ebx, esp
mov dword [esi + 0x1d0], ebx
mov dword [ebx], 0x439490
mov ebx, dword [0x43a1dc]
mov dword [esi + 0x1cc], ebx
push eax
mov ebx, esp
mov dword [esi + 0x200], ebx
mov dword [ebx], 0x439490
mov ebx, dword [0x43a1e4]
mov dword [esi + 0x1f8], ebx
push eax
mov ebx, esp
mov dword [esi + 0x238], ebx
mov dword [ebx], 0x439490
mov ebx, dword [0x43a1ec]
mov dword [esi + 0x234], ebx
push eax
mov ebx, esp
mov dword [esi + 0x250], ebx
mov dword [ebx], 0x439490
mov ebx, dword [0x43a1f4]
mov dword [esi + 0x24c], ebx
push eax
mov ebx, esp
mov dword [esi + 0x2bc], ebx
mov dword [ebx], 0x439490
mov ebx, dword [0x43a1fc]
mov dword [esi + 0x2b0], ebx
push eax
mov ebx, esp
mov dword [esi + 0x2d4], ebx
mov dword [ebx], 0x439490
mov ebx, dword [0x43a204]
mov dword [esi + 0x2c8], ebx
push eax
mov ebx, esp
mov dword [esi + 0x32c], ebx
mov dword [ebx], 0x439490
mov ebx, dword [0x43a20c]
jmp eax