Function at 0x46d542
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 0x40368b
mov dword [ebp - 0x21c], eax
jmp 0x5cf944
mov edx, esi
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax + 0x20], cl
inc eax
test cl, cl
jne 0x40368f
mov byte [esi + 0x18], 1
nop
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [esi + 0x18], 0
jne 0x4036a3
mov eax, dword [esi + 0x1c]
mov dword [ebp - 0x21c], eax
jmp 0x5cf944
mov edx, dword [ebx + 8]
mov eax, edx
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41a48a
sub eax, edi
push eax
push 0
push edx
call sub.msvcrt.dll_memset
mov edi, dword [ebp - 0x214]
add esp, 0xc
mov edx, dword [ebx + 0xc]
mov dword [edx], esi
mov eax, dword [edi + 0x10]
jmp 0x5c7884
mov eax, dword [ebx]
mov byte [edx], 0
cmp eax, 0x1000
jae 0x441b88
mov dword [esi + 0x12c], eax
jmp 0x441b9b
sub edx, eax
lea ecx, [ecx]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x441b8d
mov eax, dword [ebp - 0x21c]
jmp 0x562176
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [section..data]
jmp 0x51984c
mov ecx, dword [ebp - 0x210]
mov eax, dword [ecx + 0x10]
mov dword [ebp - 0x210], eax
test eax, eax
jne 0x519884
jmp 0x51986e
mov ecx, dword [ebx + 4]
xor eax, eax
test ecx, ecx
je 0x565ddf
lea edx, [eax + 1]
imul edx, edx, 0x2613
xor dx, word [eax*2 + 0x5ef428]
inc eax
mov word [ebp + eax*2 - 0x20a], dx
jmp dword [0x4fec8e]
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 0x403660
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ccbac
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x20c]
jmp dword [0x519893]
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x5347a3
mov eax, dword [ebp - 0x21c]
mov dword [esi + 0x128], eax
mov byte [esi + 0x120], 1
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [esi + 0x120], 0
jmp dword [0x5347db]
mov dword [esi + 0x128], eax
mov byte [esi + 0x120], 1
lea ecx, [ecx]
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [esi + 0x120], 0
jne 0x562186
mov esi, dword [esi + 0x124]
test esi, esi
je 0x4fec5e
mov ecx, dword [ebp - 0x20c]
mov eax, dword [ecx + 0x22c]
test eax, eax
je 0x41a4a9
cmp byte [eax + 0x14], 0
je 0x41a4a9
cmp dword [ebx + 4], 0
je 0x41a4a9
jmp 0x41a482
lea ecx, [eax + 1]
imul ecx, ecx, 0x2fe7
xor cx, word [eax*2 + 0x5ef43c]
inc eax
mov word [ebp + eax*2 - 0x20a], cx
cmp eax, 8
jl 0x565ddf
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
jmp 0x5d5432
mov dword [ebp - 0x214], eax
test eax, eax
jne 0x5cf95a
mov ebx, dword [ebp - 0x218]
mov eax, dword [ebp - 0x20c]
mov eax, dword [eax + 0x22c]
test eax, eax
je 0x4fec42
cmp byte [eax + 0x14], 0
je 0x4fec42
mov edx, dword [ebx + 4]
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x5c78be
push 0x4fec34
ret
mov edi, dword [ebx + 0xc]
mov dword [ebp - 0x214], edi
test edi, edi
je 0x5c7898
jmp 0x5cf960
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
je 0x441b6d
mov byte [edx], 0
cmp eax, 0x1000
jae 0x5347a1
mov dword [esi + 0x12c], eax
push 0x53479c
ret
push 0
lea ecx, [ebp - 0x108]
push ecx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.004ccbac
mov esp, ebp
pop ebp
ret