Function at 0x401200
Capabilities:
Encode data using xor

Disassembly:
push ecx
cmp dword [0x5424c8], 0
push ebx
push ebp
push esi
push edi
mov ebx, eax
jne 0x40121f
call section..text
mov dword [0x5424c8], 1
mov ecx, 0x51b0d6
mov esi, ebx
mov dword [ebx + 0x200], 0xa
mov eax, ebx
sub esi, ecx
movzx edi, byte [ecx]
xor edx, edx
mov dh, byte [ecx - 2]
add ecx, 4
mov dl, byte [ecx - 5]
shl edx, 8
or edx, edi
movzx edi, byte [ecx - 3]
shl edx, 8
or edx, edi
cmp ecx, 0x51b0e6
mov dword [esi + ecx - 4], edx
jl 0x401234
mov ecx, dword [ebx + 0x200]
sub ecx, 0xa
je 0x401543
sub ecx, 2
je 0x40135b
sub ecx, 2
jne 0x40173f
mov ebp, 0x539820
mov esi, dword [eax + 0x1c]
mov ecx, esi
shr ecx, 0x10
movzx edx, cl
xor ecx, ecx
mov ch, byte [edx + 0x538f20]
mov edx, esi
shr edx, 8
movzx edx, dl
movzx edx, byte [edx + 0x538f20]
xor ecx, edx
movzx edx, byte [eax + 0x1c]
movzx edx, byte [edx + 0x538f20]
shl ecx, 8
xor ecx, edx
shl ecx, 8
mov edi, dword [eax + 0xc]
mov edx, esi
shr edx, 0x18
movzx edx, byte [edx + 0x538f20]
xor ecx, edx
xor ecx, dword [ebp]
mov edx, dword [eax + 4]
xor ecx, dword [eax]
add ebp, 4
xor edx, ecx
mov dword [eax + 0x20], ecx
mov ecx, dword [eax + 8]
xor ecx, edx
xor edi, ecx
mov dword [eax + 0x28], ecx
mov dword [eax + 0x24], edx
xor edx, edx
mov dword [eax + 0x2c], edi
mov ecx, edi
shr ecx, 0x18
mov dh, byte [ecx + 0x538f20]
mov ecx, edi
shr ecx, 0x10
movzx ecx, cl
movzx ecx, byte [ecx + 0x538f20]
xor edx, ecx
mov ecx, edi
shr ecx, 8
movzx ecx, cl
movzx ecx, byte [ecx + 0x538f20]
shl edx, 8
xor edx, ecx
movzx ecx, byte [eax + 0x2c]
movzx ecx, byte [ecx + 0x538f20]
shl edx, 8
xor ecx, edx
xor ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
xor edx, ecx
mov dword [eax + 0x30], ecx
mov ecx, dword [eax + 0x18]
xor ecx, edx
xor esi, ecx
mov dword [eax + 0x34], edx
mov dword [eax + 0x38], ecx
mov dword [eax + 0x3c], esi
add eax, 0x20
cmp ebp, 0x53983c
jl 0x401282
jmp 0x40173f
mov edi, 0x539824
mov esi, dword [eax + 0x14]
mov edx, esi
shr edx, 0x10
movzx ecx, dl
xor edx, edx
mov dh, byte [ecx + 0x538f20]
mov ecx, esi
shr ecx, 8
movzx ecx, cl
movzx ecx, byte [ecx + 0x538f20]
xor edx, ecx
movzx ecx, byte [eax + 0x14]
movzx ecx, byte [ecx + 0x538f20]
shl edx, 8
xor edx, ecx
shl edx, 8
mov ecx, esi
shr ecx, 0x18
movzx ecx, byte [ecx + 0x538f20]
xor edx, ecx
xor edx, dword [edi - 4]
mov ecx, edx
xor ecx, dword [eax]
mov edx, dword [eax + 4]
xor edx, ecx
mov dword [eax + 0x18], ecx
mov ecx, dword [eax + 8]
xor ecx, edx
mov dword [eax + 0x1c], edx
mov edx, dword [eax + 0xc]
xor edx, ecx
mov dword [eax + 0x20], ecx
mov ecx, dword [eax + 0x10]
xor ecx, edx
xor esi, ecx
mov dword [eax + 0x24], edx
mov dword [eax + 0x28], ecx
mov edx, esi
shr edx, 0x10
movzx ecx, dl
xor edx, edx
mov dword [eax + 0x2c], esi
mov dh, byte [ecx + 0x538f20]
mov ecx, esi
shr ecx, 8
movzx ecx, cl
movzx ecx, byte [ecx + 0x538f20]
xor edx, ecx
movzx ecx, byte [eax + 0x2c]
movzx ecx, byte [ecx + 0x538f20]
shl edx, 8
xor edx, ecx
shl edx, 8
shr esi, 0x18
movzx ecx, byte [esi + 0x538f20]
xor edx, ecx
xor edx, dword [edi]
mov esi, dword [eax + 0x2c]
mov ecx, edx
xor ecx, dword [eax + 0x18]
mov edx, dword [eax + 0x1c]
xor edx, ecx
mov dword [eax + 0x30], ecx
mov ecx, dword [eax + 0x20]
xor ecx, edx
mov dword [eax + 0x34], edx
mov edx, dword [eax + 0x24]
xor edx, ecx
mov dword [eax + 0x38], ecx
mov ecx, dword [eax + 0x28]
xor ecx, edx
xor esi, ecx
mov dword [eax + 0x3c], edx
mov edx, esi
shr edx, 0x10
mov dword [eax + 0x40], ecx
movzx ecx, dl
xor edx, edx
mov dword [eax + 0x44], esi
mov dh, byte [ecx + 0x538f20]
mov ecx, esi
shr ecx, 8
movzx ecx, cl
movzx ecx, byte [ecx + 0x538f20]
xor edx, ecx
movzx ecx, byte [eax + 0x44]
movzx ecx, byte [ecx + 0x538f20]
shl edx, 8
xor edx, ecx
shl edx, 8
shr esi, 0x18
movzx ecx, byte [esi + 0x538f20]
xor edx, ecx
xor edx, dword [edi + 4]
mov esi, dword [eax + 0x44]
mov ecx, edx
xor ecx, dword [eax + 0x30]
mov edx, dword [eax + 0x34]
xor edx, ecx
mov dword [eax + 0x48], ecx
mov ecx, dword [eax + 0x38]
xor ecx, edx
mov dword [eax + 0x4c], edx
mov edx, dword [eax + 0x3c]
xor edx, ecx
mov dword [eax + 0x50], ecx
mov ecx, dword [eax + 0x40]
xor ecx, edx
mov dword [eax + 0x54], edx
xor esi, ecx
mov dword [eax + 0x58], ecx
mov dword [eax + 0x5c], esi
mov edx, esi
shr edx, 0x10
movzx ecx, dl
xor edx, edx
mov dh, byte [ecx + 0x538f20]
mov ecx, esi
shr ecx, 8
movzx ecx, cl
movzx ecx, byte [ecx + 0x538f20]
xor edx, ecx
movzx ecx, byte [eax + 0x5c]
movzx ecx, byte [ecx + 0x538f20]
shl edx, 8
xor edx, ecx
shl edx, 8
shr esi, 0x18
movzx ecx, byte [esi + 0x538f20]
xor edx, ecx
xor edx, dword [edi + 8]
add edi, 0x10
mov ecx, edx
xor ecx, dword [eax + 0x48]
mov edx, dword [eax + 0x4c]
xor edx, ecx
mov dword [eax + 0x60], ecx
mov ecx, dword [eax + 0x50]
xor ecx, edx
mov dword [eax + 0x64], edx
mov edx, dword [eax + 0x54]
xor edx, ecx
mov dword [eax + 0x68], ecx
mov ecx, dword [eax + 0x58]
xor ecx, edx
mov dword [eax + 0x6c], edx
mov edx, dword [eax + 0x5c]
xor edx, ecx
mov dword [eax + 0x70], ecx
mov dword [eax + 0x74], edx
add eax, 0x60
cmp edi, 0x539844
jl 0x401360
jmp 0x40173f
mov edi, 0x539824
mov ebp, dword [eax + 0xc]
mov ecx, ebp
shr ecx, 0x10
movzx edx, cl
xor ecx, ecx
mov ch, byte [edx + 0x538f20]
mov edx, ebp
shr edx, 8
movzx edx, dl
movzx edx, byte [edx + 0x538f20]
xor ecx, edx
movzx edx, byte [eax + 0xc]
movzx edx, byte [edx + 0x538f20]
shl ecx, 8
xor ecx, edx
shl ecx, 8
mov esi, dword [eax + 8]
mov edx, ebp
shr edx, 0x18
movzx edx, byte [edx + 0x538f20]
xor ecx, edx
xor ecx, dword [edi - 4]
mov edx, dword [eax + 4]
xor ecx, dword [eax]
xor edx, ecx
mov dword [eax + 0x10], ecx
xor esi, edx
mov dword [eax + 0x14], edx
mov dword [eax + 0x18], esi
xor esi, ebp
mov dword [eax + 0x1c], esi
mov ecx, esi
shr ecx, 0x10
movzx edx, cl
xor ecx, ecx
mov ch, byte [edx + 0x538f20]
mov edx, esi
shr edx, 8
movzx edx, dl
movzx edx, byte [edx + 0x538f20]
xor ecx, edx
movzx edx, byte [eax + 0x1c]
movzx edx, byte [edx + 0x538f20]
shl ecx, 8
xor ecx, edx
shl ecx, 8
shr esi, 0x18
movzx edx, byte [esi + 0x538f20]
xor ecx, edx
xor ecx, dword [edi]
mov edx, dword [eax + 0x14]
xor ecx, dword [eax + 0x10]
mov esi, dword [eax + 0x1c]
xor edx, ecx
mov dword [eax + 0x20], ecx
mov ecx, dword [eax + 0x18]
xor ecx, edx
xor esi, ecx
mov dword [eax + 0x28], ecx
mov dword [eax + 0x24], edx
mov ecx, esi
shr ecx, 0x10
movzx edx, cl
xor ecx, ecx
mov dword [eax + 0x2c], esi
mov ch, byte [edx + 0x538f20]
mov edx, esi
shr edx, 8
movzx edx, dl
movzx edx, byte [edx + 0x538f20]
xor ecx, edx
movzx edx, byte [eax + 0x2c]
movzx edx, byte [edx + 0x538f20]
shl ecx, 8
xor ecx, edx
shr esi, 0x18
movzx edx, byte [esi + 0x538f20]
shl ecx, 8
xor ecx, edx
xor ecx, dword [edi + 4]
xor ecx, dword [eax + 0x20]
mov edx, dword [eax + 0x24]
xor edx, ecx
mov dword [eax + 0x30], ecx
mov ecx, dword [eax + 0x28]
xor ecx, edx
mov esi, dword [eax + 0x2c]
xor esi, ecx
mov dword [eax + 0x38], ecx
mov dword [eax + 0x34], edx
mov dword [eax + 0x3c], esi
mov ecx, esi
shr ecx, 0x10
movzx edx, cl
xor ecx, ecx
mov ch, byte [edx + 0x538f20]
mov edx, esi
shr edx, 8
movzx edx, dl
movzx edx, byte [edx + 0x538f20]
xor ecx, edx
movzx edx, byte [eax + 0x3c]
movzx edx, byte [edx + 0x538f20]
shl ecx, 8
xor ecx, edx
shl ecx, 8
shr esi, 0x18
movzx edx, byte [esi + 0x538f20]
xor ecx, edx
xor ecx, dword [edi + 8]
mov edx, dword [eax + 0x34]
xor ecx, dword [eax + 0x30]
mov esi, dword [eax + 0x3c]
xor edx, ecx
mov dword [eax + 0x40], ecx
mov ecx, dword [eax + 0x38]
xor ecx, edx
xor esi, ecx
mov dword [eax + 0x48], ecx
mov dword [eax + 0x44], edx
mov dword [eax + 0x4c], esi
mov ecx, esi
shr ecx, 0x10
movzx edx, cl
xor ecx, ecx
mov ch, byte [edx + 0x538f20]
mov edx, esi
shr edx, 8
movzx edx, dl
movzx edx, byte [edx + 0x538f20]
xor ecx, edx
movzx edx, byte [eax + 0x4c]
movzx edx, byte [edx + 0x538f20]
shl ecx, 8
xor ecx, edx
shl ecx, 8
shr esi, 0x18
movzx edx, byte [esi + 0x538f20]
xor ecx, edx
xor ecx, dword [edi + 0xc]
mov edx, dword [eax + 0x44]
xor ecx, dword [eax + 0x40]
add edi, 0x14
xor edx, ecx
mov dword [eax + 0x50], ecx
mov ecx, dword [eax + 0x48]
xor ecx, edx
mov dword [eax + 0x54], edx
mov edx, dword [eax + 0x4c]
xor edx, ecx
mov dword [eax + 0x58], ecx
mov dword [eax + 0x5c], edx
add eax, 0x50
cmp edi, 0x53984c
jl 0x401548
cmp dword [0x5424cc], 0
jne 0x401866
xor ecx, ecx
mov edi, edi
movzx edx, byte [ecx + 0x538f20]
add edx, edx
mov esi, dword [edx + edx + 0x53a848]
add edx, edx
mov dword [ecx*4 + 0x53a048], esi
mov esi, dword [edx + 0x53a448]
mov dword [ecx*4 + 0x539c48], esi
mov esi, dword [edx + 0x539420]
mov edx, dword [edx + 0x539020]
mov dword [ecx*4 + 0x53bd48], edx
movzx edx, byte [ecx + 0x538f21]
add edx, edx
add edx, edx
mov dword [ecx*4 + 0x539848], esi
mov esi, dword [edx + 0x53a848]
mov dword [ecx*4 + 0x53a04c], esi
mov esi, dword [edx + 0x53a448]
mov dword [ecx*4 + 0x539c4c], esi
mov esi, dword [edx + 0x539420]
mov edx, dword [edx + 0x539020]
mov dword [ecx*4 + 0x53bd4c], edx
movzx edx, byte [ecx + 0x538f22]
add edx, edx
add edx, edx
mov dword [ecx*4 + 0x53984c], esi
mov esi, dword [edx + 0x53a848]
mov dword [ecx*4 + 0x53a050], esi
mov esi, dword [edx + 0x53a448]
mov dword [ecx*4 + 0x539c50], esi
mov esi, dword [edx + 0x539420]
mov edx, dword [edx + 0x539020]
mov dword [ecx*4 + 0x53bd50], edx
movzx edx, byte [ecx + 0x538f23]
add edx, edx
add edx, edx
mov dword [ecx*4 + 0x539850], esi
mov esi, dword [edx + 0x53a848]
mov dword [ecx*4 + 0x53a054], esi
mov esi, dword [edx + 0x53a448]
mov dword [ecx*4 + 0x539c54], esi
mov esi, dword [edx + 0x539420]
mov edx, dword [edx + 0x539020]
mov dword [ecx*4 + 0x539854], esi
mov dword [ecx*4 + 0x53bd54], edx
add ecx, 4
cmp ecx, 0x100
jl 0x401750
mov dword [0x5424cc], 1
mov edx, dword [eax]
mov dword [ebx + 0x100], edx
mov edx, dword [eax + 4]
add eax, 4
lea ecx, [ebx + 0x100]
mov dword [ecx + 4], edx
mov edx, dword [eax + 4]
add ecx, 4
add eax, 4
add ecx, 4
mov dword [ecx], edx
mov edx, dword [eax + 4]
add eax, 4
add ecx, 4
mov dword [ecx], edx
mov edi, 1
add ecx, 4
add eax, 4
cmp dword [ebx + 0x200], edi
jle 0x4019c5
lea ecx, [ecx]
mov esi, dword [eax - 0x20]
mov dword [esp + 0x10], ebx
mov ebx, esi
shr ebx, 0x10
movzx ebp, bl
sub eax, 0x20
mov edx, esi
shr edx, 0x18
mov edx, dword [edx*4 + 0x53a048]
xor edx, dword [ebp*4 + 0x539c48]
mov ebx, esi
shr ebx, 8
movzx esi, bl
xor edx, dword [esi*4 + 0x539848]
movzx esi, byte [eax]
xor edx, dword [esi*4 + 0x53bd48]
add eax, 4
mov dword [ecx], edx
mov esi, dword [eax]
mov ebx, esi
shr ebx, 0x10
movzx ebp, bl
mov edx, esi
shr edx, 0x18
mov edx, dword [edx*4 + 0x53a048]
xor edx, dword [ebp*4 + 0x539c48]
mov ebx, esi
shr ebx, 8
movzx esi, bl
xor edx, dword [esi*4 + 0x539848]
movzx esi, byte [eax]
xor edx, dword [esi*4 + 0x53bd48]
add ecx, 4
mov dword [ecx], edx
mov esi, dword [eax + 4]
add eax, 4
mov ebx, esi
shr ebx, 0x10
movzx ebp, bl
mov edx, esi
shr edx, 0x18
mov edx, dword [edx*4 + 0x53a048]
xor edx, dword [ebp*4 + 0x539c48]
mov ebx, esi
shr ebx, 8
movzx esi, bl
xor edx, dword [esi*4 + 0x539848]
movzx esi, byte [eax]
xor edx, dword [esi*4 + 0x53bd48]
add ecx, 4
mov dword [ecx], edx
mov esi, dword [eax + 4]
add eax, 4
mov ebx, esi
shr ebx, 0x10
movzx ebp, bl
mov edx, esi
shr edx, 0x18
mov edx, dword [edx*4 + 0x53a048]
xor edx, dword [ebp*4 + 0x539c48]
mov ebx, esi
shr ebx, 8
movzx esi, bl
xor edx, dword [esi*4 + 0x539848]
movzx esi, byte [eax]
xor edx, dword [esi*4 + 0x53bd48]
mov ebx, dword [esp + 0x10]
add ecx, 4
mov dword [ecx], edx
add edi, 1
add ecx, 4
add eax, 4
cmp edi, dword [ebx + 0x200]
jl 0x4018b0
mov edx, dword [eax - 0x20]
sub eax, 0x20
mov dword [ecx], edx
mov edx, dword [eax + 4]
add eax, 4
add ecx, 4
mov dword [ecx], edx
mov edx, dword [eax + 4]
add ecx, 4
add eax, 4
pop edi
pop esi
mov dword [ecx], edx
mov eax, dword [eax + 4]
pop ebp
mov dword [ecx + 4], eax
pop ebx
pop ecx
ret