Function at 0x452d90
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 4]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
push eax
push ebx
push edi
call fcn.00429920
mov ecx, eax
add esp, 0xc
test ecx, ecx
je 0x452e23
mov eax, dword [ebp + 0x10]
mov esi, dword [ecx + 8]
test eax, eax
jne 0x452e14
mov edx, dword [ecx + 4]
mov eax, dword [ecx]
test edx, edx
je 0x452dca
mov dword [edx], eax
jmp 0x452dcd
mov dword [edi + 8], eax
mov edx, dword [ecx]
test edx, edx
je 0x452dd9
mov eax, dword [ecx + 4]
mov dword [edx + 4], eax
mov edx, dword [edi + 0xc]
test edx, edx
je 0x452df3
mov eax, dword [ebp - 4]
cmp dword [edx + eax*8 + 4], ecx
lea edx, [edx + eax*8]
jne 0x452df1
mov eax, dword [ecx]
mov dword [edx + 4], eax
dec dword [edx]
push ecx
call fcn.004134b0
add esp, 4
add dword [edi + 4], 0xffffffff
jne 0x452e1a
push edi
call fcn.00452c80
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], ebx
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x453021
push 0
push 0x10
call fcn.00457140
mov ebx, eax
add esp, 8
mov dword [ebp - 0x10], ebx
test ebx, ebx
je 0x452e1a
mov eax, dword [ebp + 0xc]
mov dword [ebx + 0xc], eax
mov dword [ebx + 8], esi
inc dword [edi + 4]
mov esi, dword [edi + 4]
cmp esi, 0xa
jb 0x452fb4
mov ecx, dword [edi]
lea eax, [ecx + ecx]
cmp esi, eax
jbe 0x452fb4
add esi, esi
mov edx, 0x80
lea eax, [esi*8]
cmp eax, 0x400
cmova esi, edx
cmp esi, ecx
je 0x452fb4
mov eax, dword [0x4dc370]
test eax, eax
je 0x452e91
call eax
lea eax, [esi*8]
push 0
push eax
call fcn.00457140
mov ecx, dword [0x4dc374]
add esp, 8
mov esi, eax
mov dword [ebp - 0xc], esi
test ecx, ecx
je 0x452eb4
call ecx
test esi, esi
je 0x452fb4
push dword [edi + 0xc]
call fcn.004134b0
push esi
mov dword [edi + 0xc], esi
call dword [0x4da038]
shr eax, 3
mov dword [ebp - 8], eax
mov dword [edi], eax
lea ecx, [eax*8]
push ecx
push 0
push esi
call fcn.004a2550
mov esi, dword [edi + 8]
add esp, 0x14
mov dword [edi + 8], 0
test esi, esi
je 0x452fa3
nop dword [eax + eax]
mov ebx, dword [esi + 0xc]
xor eax, eax
mov cl, byte [ebx]
test cl, cl
je 0x452f37
mov edi, eax
nop dword [eax]
movzx eax, cl
lea ebx, [ebx + 1]
lea ecx, [edi*8]
movzx edx, byte [eax + 0x4c1ab8]
xor edx, ecx
mov cl, byte [ebx]
xor edi, edx
test cl, cl
jne 0x452f10
mov dword [ebp - 4], edi
mov edi, dword [ebp + 8]
mov eax, dword [ebp - 4]
xor edx, edx
mov ebx, dword [esi]
div dword [ebp - 8]
mov eax, dword [ebp - 0xc]
lea edx, [eax + edx*8]
test edx, edx
je 0x452f7d
mov eax, dword [edx]
test eax, eax
je 0x452f53
mov ecx, dword [edx + 4]
jmp 0x452f55
xor ecx, ecx
inc eax
mov dword [edx + 4], esi
mov dword [edx], eax
test ecx, ecx
je 0x452f7d
mov dword [esi], ecx
mov eax, dword [ecx + 4]
mov dword [esi + 4], eax
mov eax, dword [ecx + 4]
test eax, eax
je 0x452f75
mov dword [eax], esi
mov dword [ecx + 4], esi
jmp 0x452f96
mov dword [edi + 8], esi
mov dword [ecx + 4], esi
jmp 0x452f96
mov eax, dword [edi + 8]
mov dword [esi], eax
mov eax, dword [edi + 8]
test eax, eax
je 0x452f8c
mov dword [eax + 4], esi
mov dword [esi + 4], 0
mov dword [edi + 8], esi
mov esi, ebx
test ebx, ebx
jne 0x452f00
mov ebx, dword [ebp - 0x10]
push dword [ebp + 0xc]
call fcn.00477a20
xor edx, edx
add esp, 4
div dword [edi]
jmp 0x452fb7
mov edx, dword [ebp - 4]
mov eax, dword [edi + 0xc]
test eax, eax
je 0x453008
lea edx, [eax + edx*8]
test edx, edx
je 0x453008
mov eax, dword [edx]
test eax, eax
je 0x452fd0
mov ecx, dword [edx + 4]
jmp 0x452fd2
xor ecx, ecx
inc eax
mov dword [edx + 4], ebx
mov dword [edx], eax
test ecx, ecx
je 0x453008
mov dword [ebx], ecx
mov eax, dword [ecx + 4]
mov dword [ebx + 4], eax
mov eax, dword [ecx + 4]
test eax, eax
je 0x452ff9
pop edi
mov dword [eax], ebx
xor eax, eax
pop esi
mov dword [ecx + 4], ebx
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [edi + 8], ebx
xor eax, eax
pop edi
pop esi
mov dword [ecx + 4], ebx
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 8]
mov dword [ebx], eax
mov eax, dword [edi + 8]
test eax, eax
je 0x453017
mov dword [eax + 4], ebx
mov dword [ebx + 4], 0
mov dword [edi + 8], ebx
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret