Function at 0x587500
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [ebp - 0x210]
mov ebx, dword [eax]
mov eax, dword [ebx]
mov ecx, dword [ecx + 0x248]
mov esi, dword [ecx]
mov dword [ebp - 0x218], ebx
test eax, eax
jne 0x4117db
mov dword [ebp - 0x21c], eax
jmp 0x4befef
mov edx, esi
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax + 0x20], cl
inc eax
test cl, cl
jne 0x4117df
mov byte [esi + 0x18], 1
nop
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp dword [0x411802]
cmp eax, 8
jl 0x534ca3
mov edx, dword [ebx]
push edx
mov eax, dword [ebp - 0x218]
mov ecx, dword [eax]
push ecx
lea edx, [ebp - 0x208]
push edx
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.msvcrt.dll_sprintf]
add esp, 0x10
push 0
push 0
lea ecx, [ebp - 0x108]
push ecx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [ebp - 4]
jmp 0x48a55a
mov dword [esi + 0x128], eax
mov byte [esi + 0x120], 1
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [esi + 0x120], 0
jne 0x42d657
jmp 0x44cba9
mov eax, dword [ebx]
mov byte [edx], 0
cmp eax, 0x1000
jmp 0x52d626
cmp byte [esi + 0x120], 0
jne 0x52d660
mov esi, dword [esi + 0x124]
test esi, esi
je 0x4f31d1
mov ecx, dword [ebp - 0x20c]
mov eax, dword [ecx + 0x22c]
test eax, eax
je 0x5af4ba
cmp byte [eax + 0x14], 0
je 0x5af4ba
cmp dword [ebx + 4], 0
je 0x5af4ba
mov edx, dword [ebx + 8]
mov eax, edx
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x44cbe7
sub eax, edi
jmp dword [0x44cbfe]
je 0x42d671
mov byte [edx], 0
cmp eax, 0x1000
jae 0x451dcf
mov dword [esi + 0x12c], eax
jmp 0x451ddf
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x451dd1
mov eax, dword [ebp - 0x21c]
jmp 0x42d64a
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.00555928
mov esp, ebp
pop ebp
ret
mov edi, dword [ebx + 0xc]
mov dword [ebp - 0x214], edi
test edi, edi
je 0x5af4d6
jmp 0x4bf00b
mov edi, dword [ebp - 0x214]
mov ecx, dword [ebp - 0x20c]
mov ebx, dword [edi]
mov edx, dword [ecx + 0x248]
mov eax, dword [ebx + 4]
mov esi, dword [edx]
lea edx, [esi + 0x130]
test eax, eax
jmp 0x451db0
mov ecx, dword [ebx + 4]
jmp 0x534c70
jae 0x52d637
mov dword [esi + 0x12c], eax
jmp 0x52d64a
sub edx, eax
lea ecx, [ecx]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x52d63c
mov eax, dword [ebp - 0x21c]
mov dword [esi + 0x128], eax
mov byte [esi + 0x120], 1
lea ecx, [ecx]
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x44cb9c
xor eax, eax
test ecx, ecx
je 0x534ca3
lea edx, [eax + 1]
imul edx, edx, 0x2613
xor dx, word [eax*2 + 0x5cf428]
inc eax
mov word [ebp + eax*2 - 0x20a], dx
cmp eax, 8
jl 0x534c7a
push ecx
jmp 0x41987c
lea ecx, [eax + 1]
imul ecx, ecx, 0x2fe7
xor cx, word [eax*2 + 0x5cf43c]
inc eax
mov word [ebp + eax*2 - 0x20a], cx
jmp 0x419870
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ecx + 0x1e0]
push ebx
push esi
push edi
mov dword [ebp - 0x20c], ecx
mov dword [ebp - 0x210], eax
test eax, eax
jne 0x4117b0
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00555928
mov esp, ebp
pop ebp
ret
mov edx, dword [ebx + 0xc]
mov dword [edx], esi
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x214], eax
test eax, eax
jne 0x4bf005
mov ebx, dword [ebp - 0x218]
mov eax, dword [ebp - 0x20c]
mov eax, dword [eax + 0x22c]
test eax, eax
jmp dword [0x5af4eb]