Function at 0x40f210
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
mov dword [ebp - 0x50], 0x42
mov dword [ebp - 0x2c], 0x61
mov dword [ebp - 0x38], 0x32
mov dword [ebp - 0x30], 0x64
mov dword [ebp - 4], 0x63
mov dword [ebp - 0x54], 0x27
mov dword [ebp - 0x1c], 0x1f
mov dword [ebp - 0x44], 0x2a
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x18], 0x52
mov dword [ebp - 0x6c], 0x41
mov dword [ebp - 0x58], 0x45
mov dword [ebp - 0x68], 0xf
mov dword [ebp - 0x28], 0x43
mov dword [ebp - 0x48], 0x17
mov dword [ebp - 0x5c], 0x2b
mov dword [ebp - 0x34], 0x38
mov dword [ebp - 0x14], 0x31
mov dword [ebp - 0x3c], 0x21
mov dword [ebp - 0x4c], 0x10
mov dword [ebp - 0xc], 0xa
mov dword [ebp - 0x24], 0x60
mov dword [ebp - 0x20], 0x11
mov dword [ebp - 0x40], 0x29
mov dword [ebp - 0x70], 7
mov dword [ebp - 0x74], 0x32
mov dword [ebp - 8], 0x4b
mov dword [ebp - 0x78], 0x19
mov eax, dword [ebp - 0x50]
sub eax, dword [ebp + 0xc]
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x2c]
or ecx, dword [ebp - 0x50]
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x38]
xor edx, dword [ebp - 0x2c]
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 0x30]
or eax, dword [ebp - 0x38]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 4]
add ecx, dword [ebp - 0x30]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0x54]
and edx, dword [ebp - 4]
mov dword [ebp - 0x54], edx
mov eax, dword [ebp - 0x1c]
xor eax, dword [ebp - 0x30]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x44]
xor ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x44], ecx
mov edx, dword [ebp - 0x10]
or edx, dword [ebp - 0x38]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 4]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x6c]
add ecx, dword [ebp - 4]
mov dword [ebp - 0x6c], ecx
mov edx, dword [ebp - 0x58]
or edx, dword [ebp - 0x2c]
mov dword [ebp - 0x58], edx
mov eax, dword [ebp - 0x68]
or eax, dword [ebp - 0x54]
mov dword [ebp - 0x68], eax
mov ecx, dword [ebp - 0x28]
and ecx, dword [ebp - 0x10]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x48]
or edx, dword [ebp - 0x18]
mov dword [ebp - 0x48], edx
mov eax, dword [ebp - 0x5c]
sub eax, dword [ebp - 0x18]
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp - 0x34]
and ecx, dword [ebp - 0x30]
mov dword [ebp - 0x34], ecx
mov edx, dword [ebp - 0x14]
xor edx, dword [ebp - 0x58]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x3c]
xor eax, dword [ebp - 0x1c]
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x4c]
and ecx, dword [ebp - 0x28]
mov dword [ebp - 0x4c], ecx
mov edx, dword [ebp - 0xc]
xor edx, dword [ebp - 0x14]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0x24]
sub eax, dword [ebp - 0x10]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x20]
and ecx, dword [ebp - 0x10]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x40]
and edx, dword [ebp - 0x24]
mov dword [ebp - 0x40], edx
mov eax, dword [ebp - 0x70]
or eax, dword [ebp - 0x14]
mov dword [ebp - 0x70], eax
mov ecx, dword [ebp - 0x74]
and ecx, dword [ebp - 0x20]
mov dword [ebp - 0x74], ecx
mov edx, dword [ebp - 8]
xor edx, dword [ebp - 0x2c]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0x78]
xor eax, dword [ebp - 0x38]
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x28], 0x44
jge 0x40f441
cmp dword [ebp - 0xc], 0x1e
jle 0x40f409
cmp dword [ebp - 0x24], 0x60
jne 0x40f409
cmp dword [ebp - 0x48], 3
je 0x40f409
cmp dword [ebp - 8], 0x53
jle 0x40f409
cmp dword [ebp - 8], 0x46
jle 0x40f409
cmp dword [ebp - 0x48], 0x59
jge 0x40f409
mov ecx, dword [ebp - 0x24]
and ecx, 0x42
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x28]
add edx, 1
mov dword [ebp - 0x28], edx
cmp dword [ebp - 0x1c], 0x4b
jle 0x40f43f
cmp dword [ebp - 0x20], 0x4a
jle 0x40f43f
cmp dword [ebp - 0x14], 0x11
je 0x40f43f
cmp dword [ebp - 0x40], 0x38
jle 0x40f43f
cmp dword [ebp - 0x44], 0x57
jne 0x40f43f
cmp dword [ebp + 0x14], 0x41
jne 0x40f43f
mov eax, dword [ebp + 0x10]
add eax, 1
mov dword [ebp + 0x10], eax
jmp 0x40f3d6
cmp dword [ebp + 8], 0x3e
jge 0x40f49a
cmp dword [ebp + 0x10], 0x14
jle 0x40f45c
cmp dword [ebp - 0x2c], 4
je 0x40f45c
mov ecx, dword [ebp - 0x3c]
add ecx, 1
mov dword [ebp - 0x3c], ecx
mov edx, dword [ebp + 8]
add edx, 1
mov dword [ebp + 8], edx
cmp dword [ebp - 0x40], 0x10
je 0x40f498
cmp dword [ebp - 0xc], 0x2e
jle 0x40f498
cmp dword [ebp - 0x20], 0x4d
jne 0x40f498
cmp dword [ebp - 8], 0x17
je 0x40f498
cmp dword [ebp - 0x18], 0xd
jle 0x40f498
cmp dword [ebp - 0x1c], 0x64
jle 0x40f498
cmp dword [ebp + 0xc], 0x38
je 0x40f498
mov eax, dword [ebp - 4]
or eax, 0x1d
mov dword [ebp - 4], eax
jmp 0x40f441
mov dword [ebp - 0x60], 0
jmp 0x40f4ac
mov ecx, dword [ebp - 0x60]
add ecx, 1
mov dword [ebp - 0x60], ecx
mov edx, dword [ebp - 0x5c]
add edx, 0x102
cmp dword [ebp - 0x60], edx
jge 0x40f4c5
mov eax, dword [ebp - 8]
or eax, 0x15
mov dword [ebp - 8], eax
jmp 0x40f4a3
mov ecx, dword [ebp - 0x14]
sub ecx, 1
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x64], 0
jmp 0x40f4e0
mov edx, dword [ebp - 0x64]
add edx, 1
mov dword [ebp - 0x64], edx
mov eax, dword [ebp - 4]
sub eax, 0xde
cmp dword [ebp - 0x64], eax
jge 0x40f522
cmp dword [ebp - 0x4c], 0x5a
jge 0x40f520
cmp dword [ebp - 0x34], 0x25
jne 0x40f520
cmp dword [ebp - 8], 0x18
jne 0x40f520
cmp dword [ebp - 0x18], 0x28
jne 0x40f520
cmp dword [ebp - 0x3c], 0xd
jge 0x40f520
cmp dword [ebp - 0x20], 0x59
je 0x40f520
cmp dword [ebp - 0x68], 0x4f
jge 0x40f520
mov ecx, dword [ebp - 0xc]
or ecx, 0x44
mov dword [ebp - 0xc], ecx
jmp 0x40f4d7
mov edx, dword [ebp - 0x4c]
add edx, 0x16
push edx
mov eax, dword [ebp - 0x30]
sub eax, 0x51
push eax
mov ecx, dword [ebp - 0x40]
add ecx, 0x15
push ecx
call fcn.004378c0
add esp, 0xc
mov edx, dword [ebp - 0x34]
xor edx, 0x3c
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0xc]
sub ecx, 0xe
mov dword [ebp - 0xc], ecx
cmp dword [ebp - 0x10], 0x54
jl 0x40f53f
mov edx, dword [ebp - 0x44]
sub edx, 0x40
push edx
mov eax, dword [ebp - 0x44]
sub eax, 0x39
push eax
mov ecx, dword [ebp - 0x18]
sub ecx, 0xda
push ecx
mov edx, dword [ebp - 4]
sub edx, 0xd9
push edx
mov eax, dword [ebp - 0x1c]
sub eax, 0x5d
push eax
mov ecx, dword [ebp - 0x34]
add ecx, 0x38
push ecx
mov edx, dword [ebp - 0x20]
add edx, 0x2b
push edx
call fcn.004076f0
add esp, 0x1c
mov esp, ebp
pop ebp
ret