Function at 0x40f0a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov dword [ebp - 4], 0x2e748
mov dword [ebp - 0x40], 0x47e6f
mov dword [ebp - 0x54], 0xab5ab
mov dword [ebp - 0x44], 0x5ed8f
mov dword [ebp - 0x28], 0x21452
mov dword [ebp - 0x48], 0x705e0
mov dword [ebp - 0x5c], 0xdbbf1
mov dword [ebp - 0x2c], 0x62a59
mov dword [ebp - 0x1c], 0x17ba3
mov dword [ebp - 0x3c], 0xcfa05
mov dword [ebp - 0x24], 0x95263
mov dword [ebp - 0x38], 0x41c64
mov dword [ebp - 0xc], 0x9e809
mov dword [ebp - 0x10], 0x3370c
mov dword [ebp - 0x60], 0x995e
mov dword [ebp - 0x30], 0x7054e
mov dword [ebp - 0x34], 0x24c61
mov dword [ebp - 0x50], 0xc6f8e
mov dword [ebp - 8], 0x4dea
mov dword [ebp - 0x20], 0xd9c3
mov dword [ebp - 0x58], 0xeaf7f
mov dword [ebp - 0x4c], 0x2bb76
mov dword [ebp - 0x18], 0x7e23e
mov dword [ebp - 0x14], 0x4c20b
cmp dword [ebp - 0x48], 0x705e1
jge 0x40f3b9
mov eax, dword [ebp - 0x30]
sub eax, dword [ebp + 0x18]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x1c]
xor ecx, 0xd98ce
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x14]
sub edx, dword [ebp - 0xc]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x2c]
sub eax, 0x6158c
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x30]
or ecx, 0x92fb4
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0x14]
and edx, 0xe022c
mov dword [ebp - 0x14], edx
cmp dword [ebp + 0xc], 0x9ca90
jne 0x40f384
mov eax, dword [ebp - 8]
xor eax, dword [ebp - 0x40]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0x54]
or ecx, 0x3153f
mov dword [ebp - 0x54], ecx
mov edx, dword [ebp - 0xc]
and edx, 0x63756
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0x24]
and eax, 0x309f8
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x5c]
sub ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x5c], ecx
cmp dword [ebp - 8], 0xe8b5d
jge 0x40f384
mov edx, dword [ebp - 0x10]
sub edx, dword [ebp - 0x1c]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x50]
xor eax, 0xb9f27
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 4]
xor ecx, 0x95025
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0x2c]
add edx, 0x6d261
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x30]
and eax, dword [ebp - 0x18]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x10]
xor ecx, dword [ebp - 0xc]
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x3c], 0x82b35
jge 0x40f384
mov edx, dword [ebp - 4]
add edx, 0x943e4
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x1c]
add eax, 0x585cb
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x50]
and ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x50], ecx
mov edx, dword [ebp - 0x20]
add edx, dword [ebp - 0x10]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x18]
and eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x58]
and ecx, 0x4ac76
mov dword [ebp - 0x58], ecx
cmp dword [ebp + 0x14], 0x8d150
je 0x40f384
mov edx, dword [ebp - 8]
and edx, 0xb6597
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0xc]
and eax, dword [ebp + 0x10]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 8]
xor ecx, 0x99977
mov dword [ebp + 8], ecx
cmp dword [ebp - 0x38], 0xc23f4
jle 0x40f384
mov edx, dword [ebp - 0x58]
or edx, dword [ebp - 0x1c]
mov dword [ebp - 0x58], edx
mov eax, dword [ebp - 0x44]
or eax, 0x74d48
mov dword [ebp - 0x44], eax
cmp dword [ebp + 0x18], 0xc3272
jle 0x40f384
mov ecx, dword [ebp - 0x2c]
xor ecx, dword [ebp - 0x54]
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x54]
xor edx, dword [ebp - 4]
mov dword [ebp - 0x54], edx
mov eax, dword [ebp - 0x28]
sub eax, dword [ebp - 0x5c]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x1c], 0xadf24
je 0x40f384
mov ecx, dword [ebp - 4]
sub ecx, dword [ebp - 0x2c]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0x24]
and edx, 0xeab0f
mov dword [ebp - 0x24], edx
mov eax, dword [ebp + 0x14]
add eax, dword [ebp - 0x54]
mov dword [ebp + 0x14], eax
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0x38]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0x18]
sub edx, 0xeda29
mov dword [ebp + 0x18], edx
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x10]
xor ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x1c]
or edx, 0x5daa0
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x60]
xor eax, 0x72fb5
mov dword [ebp - 0x60], eax
cmp dword [ebp + 0x18], 0x1b8eb
jge 0x40f384
mov ecx, dword [ebp - 0x40]
and ecx, dword [ebp - 0x5c]
mov dword [ebp - 0x40], ecx
mov edx, dword [ebp + 0x10]
or edx, 0xc3be7
mov dword [ebp + 0x10], edx
mov eax, dword [ebp - 0x14]
or eax, dword [ebp - 0x34]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x4c]
add ecx, 1
mov dword [ebp - 0x4c], ecx
mov edx, dword [ebp - 0x48]
add edx, 1
mov dword [ebp - 0x48], edx
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x44]
xor ecx, 0xe431d
mov dword [ebp - 0x44], ecx
mov edx, dword [ebp - 0x28]
and edx, dword [ebp - 0x2c]
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x34]
xor eax, dword [ebp - 0x18]
mov dword [ebp - 0x34], eax
jmp 0x40f14e
mov ecx, dword [ebp - 8]
xor ecx, 0x525e5
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0x34]
or edx, 0xbbbfb
mov dword [ebp - 0x34], edx
mov eax, dword [ebp + 0x14]
or eax, dword [ebp - 0x30]
mov dword [ebp + 0x14], eax
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x28]
xor edx, 0x582bb
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x3c]
and eax, 0x123
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x1c]
or ecx, 0xd5bbd
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x38]
and edx, dword [ebp + 0x18]
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 0x44]
sub eax, dword [ebp - 0x10]
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x3c]
and ecx, 0x4dcaf
mov dword [ebp - 0x3c], ecx
mov edx, dword [ebp - 0x60]
add edx, 0x7bb0e
mov dword [ebp - 0x60], edx
mov eax, dword [ebp - 0x38]
add eax, 1
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x10], 0x3370d
jl 0x40f3b9
cmp dword [ebp + 0x14], 0xfffdefb6
jge 0x40f626
mov ecx, dword [ebp - 0x24]
add ecx, 0xf30ff
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp + 0x18]
and edx, 0x8b15a
mov dword [ebp + 0x18], edx
mov eax, dword [ebp - 4]
or eax, 0x483fb
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x18]
or ecx, dword [ebp - 4]
mov dword [ebp + 0x18], ecx
mov edx, dword [ebp + 0x14]
add edx, 1
mov dword [ebp + 0x14], edx
mov eax, dword [ebp + 0x10]
xor eax, 0xed9ca
mov dword [ebp + 0x10], eax
mov ecx, dword [ebp - 0x2c]
add ecx, 0xa92ac
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp + 0x10]
or edx, dword [ebp + 8]
mov dword [ebp + 0x10], edx
mov eax, dword [ebp - 4]
sub eax, 0x830ff
mov dword [ebp - 4], eax
cmp dword [ebp - 0x18], 0x6b46f
je 0x40f621
mov ecx, dword [ebp - 4]
and ecx, 0x121ca
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0x28]
sub edx, 0xc6ecc
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x48]
add eax, 0x30e6f
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0x14]
and ecx, 0x36fd5
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 4], 0x48fb7
jge 0x40f621
mov edx, dword [ebp - 0x18]
sub edx, dword [ebp - 0x4c]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x3c]
sub eax, 0x2228b
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x40]
sub ecx, dword [ebp + 0xc]
mov dword [ebp - 0x40], ecx
cmp dword [ebp - 0x34], 0xd7258
jle 0x40f621
mov edx, dword [ebp - 0x14]
and edx, dword [ebp - 0x48]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 4]
add eax, 0xa40e8
mov dword [ebp - 4], eax
cmp dword [ebp + 0x18], 0xa4f8b
jle 0x40f621
mov ecx, dword [ebp - 0x4c]
add ecx, dword [ebp - 0x28]
mov dword [ebp - 0x4c], ecx
mov edx, dword [ebp - 0x3c]
or edx, 0x2d94e
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x20]
or eax, dword [ebp - 0x50]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x10]
xor ecx, 0x52f10
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x30]
add edx, 0xf7d1
mov dword [ebp - 0x30], edx
mov eax, dword [ebp + 0x18]
or eax, dword [ebp - 8]
mov dword [ebp + 0x18], eax
cmp dword [ebp - 0x28], 0xb8494
jne 0x40f621
mov ecx, dword [ebp - 0x18]
and ecx, dword [ebp + 0xc]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x54]
add edx, 0x996f9
mov dword [ebp - 0x54], edx
cmp dword [ebp - 0x20], 0x4a672
jle 0x40f621
mov eax, dword [ebp - 0x24]
sub eax, dword [ebp - 4]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x3c]
sub ecx, 0xbc86b
mov dword [ebp - 0x3c], ecx
mov edx, dword [ebp - 8]
xor edx, 0xaf26b
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0x18]
xor eax, 0x68083
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp + 0x10]
or ecx, dword [ebp - 0x20]
mov dword [ebp + 0x10], ecx
mov edx, dword [ebp - 0x4c]
sub edx, dword [ebp - 0x10]
mov dword [ebp - 0x4c], edx
cmp dword [ebp - 0x20], 0x2f5bc
je 0x40f621
mov eax, dword [ebp - 0x20]
and eax, 0x114f7
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 8]
xor ecx, 0x2218f
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0xc]
xor edx, dword [ebp - 0x20]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
jmp 0x40f446
mov ecx, dword [ebp - 0xc]
sub ecx, 0x3208
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 8]
or edx, 0xed3a1
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0x50]
or eax, dword [ebp - 0xc]
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0xc]
or ecx, dword [ebp - 0x44]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp + 8]
or edx, dword [ebp - 0x5c]
mov dword [ebp + 8], edx
cmp dword [ebp - 0x4c], 0x9e402
je 0x40f72d
mov eax, dword [ebp - 0x5c]
add eax, dword [ebp - 0x24]
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp - 4]
xor ecx, dword [ebp - 0x24]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0xc]
xor edx, 0xdde22
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 4]
sub eax, 0xba962
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0xc]
sub ecx, 0xa16f6
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0x10]
sub edx, 0xaa40b
mov dword [ebp + 0x10], edx
mov eax, dword [ebp - 0x4c]
sub eax, 0xc8634
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x24], 0xc1f5d
jle 0x40f72d
mov ecx, dword [ebp - 0x18]
sub ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x58]
and edx, 0x74333
mov dword [ebp - 0x58], edx
mov eax, dword [ebp - 0x30]
add eax, 0x5241a
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x48]
sub ecx, dword [ebp + 0xc]
mov dword [ebp - 0x48], ecx
cmp dword [ebp - 0x38], 0xbfb
jne 0x40f72d
mov edx, dword [ebp - 0x34]
and edx, 0xc407f
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x58]
add eax, 0xca236
mov dword [ebp - 0x58], eax
mov ecx, dword [ebp - 0x50]
sub ecx, dword [ebp + 0x18]
mov dword [ebp - 0x50], ecx
mov edx, dword [ebp - 0x40]
or edx, 0x694d2
mov dword [ebp - 0x40], edx
mov eax, dword [ebp - 0x40]
add eax, 0x5029e
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x28]
add ecx, 1
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x14]
add edx, 1
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x38]
and eax, dword [ebp - 0x48]
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x44]
xor ecx, 0x5e07e
mov dword [ebp - 0x44], ecx
mov edx, dword [ebp - 0x10]
and edx, dword [ebp + 0xc]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x34]
sub eax, 0x1edf7
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x30], 0x9b9ef
jge 0x40f7f0
mov ecx, dword [ebp - 0x40]
sub ecx, dword [ebp - 0x50]
mov dword [ebp - 0x40], ecx
mov edx, dword [ebp - 0x34]
and edx, 0x2fca8
mov dword [ebp - 0x34], edx
mov eax, dword [ebp + 0xc]
xor eax, 0xdf46a
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp - 0x44]
sub ecx, dword [ebp - 0x20]
mov dword [ebp - 0x44], ecx
mov edx, dword [ebp - 0x18]
xor edx, dword [ebp - 0x38]
mov dword [ebp - 0x18], edx
cmp dword [ebp + 8], 0x5d3bb
je 0x40f7f0
mov eax, dword [ebp - 8]
sub eax, 0x1adb3
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0x38]
xor ecx, 0x84ac0
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp + 8]
and edx, dword [ebp - 0x28]
mov dword [ebp + 8], edx
mov eax, dword [ebp + 8]
and eax, dword [ebp - 0x3c]
mov dword [ebp + 8], eax
mov ecx, dword [ebp - 0x48]
add ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x48], ecx
mov edx, dword [ebp - 0x20]
sub edx, 0xe4f19
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 8]
xor eax, 0xd18a5
mov dword [ebp - 8], eax
cmp dword [ebp - 0x14], 0x20001
jl 0x40f626
mov esp, ebp
pop ebp
ret