Function at 0x462ed0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x1054
call fcn.004237a0
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [esi + 8]
mov ecx, dword [edi + 0xf0]
mov eax, ecx
xor eax, 1
push eax
push dword [edi + ecx*4 + 0x108]
mov ecx, edi
call fcn.00459700
lea ecx, [esp + 0x50]
mov edx, 0x100
nop dword [eax + eax]
mov dword [ecx], 0
lea ecx, [ecx + 8]
mov dword [ecx - 4], 0
sub edx, 1
jne 0x462f10
lea ecx, [esp + 0x50]
mov dword [esp + 0x850], ecx
mov edx, ecx
mov ecx, edi
test al, al
je 0x462f45
call fcn.00419be0
mov ecx, eax
mov dword [esp + 0x18], eax
jmp 0x462f6e
call fcn.0046a350
cmp dword [edi + 0xf0], 0
lea edx, [esp + 0x50]
mov ebx, eax
mov ecx, edi
jne 0x462f62
call fcn.004196a0
jmp 0x462f67
call fcn.00419940
lea ecx, [eax + ebx]
mov dword [esp + 0x18], ecx
xor eax, eax
mov dword [esp + 0x14], eax
test ecx, ecx
jle 0x463155
nop dword [eax]
lea ecx, [esp + 0x50]
lea eax, [ecx + eax*8]
lea ecx, [esp + 0x38]
mov dword [esp + 0x10], eax
push ecx
push dword [eax]
mov ecx, dword [esi + 8]
call fcn.00459b30
mov edi, dword [esi + 8]
mov ecx, edi
mov eax, dword [edi + 0xf0]
push eax
xor eax, 1
push dword [edi + eax*4 + 0x108]
call fcn.00459700
test al, al
jne 0x46312f
mov eax, dword [ebp + 8]
cmp eax, 1
jne 0x463126
mov ecx, dword [esp + 0x10]
add dword [esi + 0x2018], eax
adc dword [esi + 0x201c], 0
mov ecx, dword [ecx]
test ecx, 0x38000
je 0x462ff1
add dword [esi + 0x2020], eax
adc dword [esi + 0x2024], 0
mov eax, ecx
shr eax, 0x16
test al, 1
je 0x463008
add dword [esi + 0x2028], 1
adc dword [esi + 0x202c], 0
test ecx, 0x1c0000
je 0x46301e
add dword [esi + 0x2030], 1
adc dword [esi + 0x2034], 0
shr ecx, 0x15
test cl, 1
je 0x463034
add dword [esi + 0x2038], 1
adc dword [esi + 0x203c], 0
mov ecx, dword [edi + 0xf0]
mov eax, ecx
xor eax, 1
push eax
push dword [edi + ecx*4 + 0x108]
mov ecx, edi
call fcn.00459700
test al, al
je 0x46312f
add dword [esi + 0x2040], 1
mov edx, 0x100
adc dword [esi + 0x2044], 0
xor eax, eax
mov dword [esp + 0xc], eax
lea eax, [esp + 0x858]
nop word [eax + eax]
mov dword [eax], 0
lea eax, [eax + 8]
mov dword [eax - 4], 0
sub edx, 1
jne 0x463080
lea eax, [esp + 0x858]
mov ecx, edi
mov edx, eax
mov dword [esp + 0x1058], eax
call fcn.00419be0
xor ebx, ebx
mov dword [esp + 0x1c], eax
test eax, eax
jle 0x463116
mov ecx, dword [esi + 8]
lea eax, [esp + 0x20]
push eax
push dword [esp + ebx*8 + 0x85c]
call fcn.00459b30
mov edi, dword [esi + 8]
mov ecx, edi
mov eax, dword [edi + 0xf0]
push eax
xor eax, 1
push dword [edi + eax*4 + 0x108]
call fcn.00459700
mov edx, dword [esp + 0xc]
test al, al
lea eax, [esp + 0x20]
push eax
push dword [esp + ebx*8 + 0x85c]
lea ecx, [edx + 1]
cmovne ecx, edx
mov dword [esp + 0x14], ecx
mov ecx, edi
call fcn.00459810
inc ebx
cmp ebx, dword [esp + 0x1c]
jl 0x4630b6
cmp dword [esp + 0xc], 0
jne 0x46312f
add dword [esi + 0x2048], 1
adc dword [esi + 0x204c], 0
jmp 0x46312f
dec eax
mov ecx, esi
push eax
call fcn.00462ed0
mov ecx, dword [esi + 8]
lea eax, [esp + 0x38]
push eax
mov eax, dword [esp + 0x14]
push dword [eax]
call fcn.00459810
mov eax, dword [esp + 0x14]
inc eax
mov dword [esp + 0x14], eax
cmp eax, dword [esp + 0x18]
jl 0x462f80
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4