Function at 0x455302
Capabilities:
Encode data using xor
Print debug messages

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffddc
call fcn.00452b59
test eax, eax
je 0x4553e0
push dword [ebp + 8]
call fcn.00452aae
pop ecx
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
jle 0x4553e0
mov eax, dword [ebp - 0xc]
mov edx, eax
shl eax, 3
sub eax, edx
mov cl, byte [eax*4 + 0x468860]
mov byte [ebp - 0x15], cl
xor eax, eax
mov al, byte [ebp - 0x15]
push eax
push 0x465a63
lea edx, [ebp - 0x120]
push edx
call fcn.00451a80
add esp, 0xc
lea ecx, [ebp - 0x120]
push ecx
call sub.kernel32.dll_OutputDebugStringA
xor eax, eax
mov dword [ebp - 0x10], eax
jmp 0x4553d5
mov edx, dword [ebp - 0x10]
lea edx, [edx + edx*4]
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + edx*8 + 0x18], 1
jbe 0x4553d2
mov eax, dword [ebp - 0x10]
shl eax, 3
lea eax, [eax + eax*4]
add eax, dword [ebp + 0xc]
add eax, 0x28
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 0x1c]
mov cl, byte [edx]
xor cl, byte [ebp - 0x15]
mov byte [ebp - 0x16], cl
mov dword [ebp - 0x14], 1
mov al, byte [ebp - 0x16]
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x1c]
xor byte [ecx + edx], al
mov al, byte [ebp - 0x14]
and al, 0xff
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x1c]
xor byte [ecx + edx], al
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x1c]
mov cl, byte [edx + eax]
mov byte [ebp - 0x16], cl
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0xf
jb 0x4553a3
inc dword [ebp - 0x10]
mov eax, dword [ebp + 0xc]
mov edx, dword [eax + 0xc]
cmp edx, dword [ebp - 0x10]
ja 0x45536f
xor ecx, ecx
mov dword [ebp - 8], ecx
push 0
lea eax, [ebp - 8]
push eax
mov edx, dword [ebp + 0xc]
push dword [edx]
push dword [ebp + 0xc]
mov ecx, dword [ebp + 0xc]
push dword [ecx]
push dword [ebp + 0xc]
push 0x222054
push dword [ebp + 8]
call sub.kernel32.dll_DeviceIoControl
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4554f3
call fcn.00452b59
test eax, eax
je 0x4554f3
push dword [ebp + 8]
call fcn.00452aae
pop ecx
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
jle 0x4554f3
mov eax, dword [ebp - 0xc]
mov edx, eax
shl eax, 3
sub eax, edx
mov cl, byte [eax*4 + 0x468860]
mov byte [ebp - 0x15], cl
xor eax, eax
mov al, byte [ebp - 0x15]
push eax
push 0x465a7d
lea edx, [ebp - 0x224]
push edx
call fcn.00451a80
add esp, 0xc
lea ecx, [ebp - 0x224]
push ecx
call sub.kernel32.dll_OutputDebugStringA
xor eax, eax
mov dword [ebp - 0x10], eax
jmp 0x4554e8
mov edx, dword [ebp - 0x10]
lea edx, [edx + edx*4]
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + edx*8 + 0x18], 1
jbe 0x4554e5
mov eax, dword [ebp - 0x10]
shl eax, 3
lea eax, [eax + eax*4]
add eax, dword [ebp + 0xc]
add eax, 0x28
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], 0xf
cmp dword [ebp - 0x14], 1
jne 0x4554b5
mov edx, dword [ebp - 0x1c]
mov cl, byte [edx]
xor cl, byte [ebp - 0x15]
mov byte [ebp - 0x16], cl
jmp 0x4554c2
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x1c]
mov cl, byte [edx + eax - 1]
mov byte [ebp - 0x16], cl
mov al, byte [ebp - 0x16]
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x1c]
xor byte [ecx + edx], al
mov al, byte [ebp - 0x14]
and al, 0xff
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x1c]
xor byte [ecx + edx], al
dec dword [ebp - 0x14]
cmp dword [ebp - 0x14], 1
jae 0x4554a2
inc dword [ebp - 0x10]
mov eax, dword [ebp + 0xc]
mov edx, dword [eax + 0xc]
cmp edx, dword [ebp - 0x10]
ja 0x455479
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret