Function at 0x45dd84
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov ecx, 4
push 0
push 0
dec ecx
jne 0x45dd8c
push ecx
push ebx
push esi
push edi
mov dword [ebp - 0x14], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404cd0
xor eax, eax
push ebp
push 0x45e047
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.004048e8
mov eax, dword [ebp - 8]
test eax, eax
je 0x45ddca
sub eax, 4
mov eax, dword [eax]
mov edi, eax
test edi, edi
jle 0x45dea5
mov esi, 1
mov eax, esi
mov ecx, 3
cdq
idiv ecx
mov ebx, edx
mov eax, dword [ebp - 8]
movzx eax, byte [eax + esi - 1]
add ebx, eax
cmp ebx, 0x5b
jne 0x45de01
lea eax, [ebp - 8]
call fcn.00404d40
mov byte [eax + esi - 1], 0x5b
cmp ebx, 0x5c
jne 0x45de13
lea eax, [ebp - 8]
call fcn.00404d40
mov byte [eax + esi - 1], 0x5d
cmp ebx, 0x7b
jne 0x45de25
lea eax, [ebp - 8]
call fcn.00404d40
mov byte [eax + esi - 1], 0x7c
cmp ebx, 0x7c
jne 0x45de37
lea eax, [ebp - 8]
call fcn.00404d40
mov byte [eax + esi - 1], 0x25
cmp ebx, 0x3a
jne 0x45de49
lea eax, [ebp - 8]
call fcn.00404d40
mov byte [eax + esi - 1], 0x28
cmp ebx, 0x3b
jne 0x45de5b
lea eax, [ebp - 8]
call fcn.00404d40
mov byte [eax + esi - 1], 0x29
cmp ebx, 0x41
jl 0x45de71
cmp ebx, 0x5a
jg 0x45de71
lea eax, [ebp - 8]
call fcn.00404d40
mov byte [eax + esi - 1], bl
cmp ebx, 0x61
jl 0x45de87
cmp ebx, 0x7a
jg 0x45de87
lea eax, [ebp - 8]
call fcn.00404d40
mov byte [eax + esi - 1], bl
cmp ebx, 0x30
jl 0x45de9d
cmp ebx, 0x39
jg 0x45de9d
lea eax, [ebp - 8]
call fcn.00404d40
mov byte [eax + esi - 1], bl
inc esi
dec edi
jne 0x45ddd9
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.004048e8
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x45debc
sub eax, 4
mov eax, dword [eax]
mov edi, eax
test edi, edi
jle 0x45dfa0
mov esi, 1
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax + esi - 1]
cmp al, 0x31
jne 0x45dee9
lea eax, [ebp - 0xc]
call fcn.00404d40
mov byte [eax + esi - 1], 0x33
jmp 0x45df98
cmp al, 0x32
jne 0x45deff
lea eax, [ebp - 0xc]
call fcn.00404d40
mov byte [eax + esi - 1], 0x34
jmp 0x45df98
cmp al, 0x33
jne 0x45df15
lea eax, [ebp - 0xc]
call fcn.00404d40
mov byte [eax + esi - 1], 0x32
jmp 0x45df98
cmp al, 0x34
jne 0x45df28
lea eax, [ebp - 0xc]
call fcn.00404d40
mov byte [eax + esi - 1], 0x36
jmp 0x45df98
cmp al, 0x35
jne 0x45df3b
lea eax, [ebp - 0xc]
call fcn.00404d40
mov byte [eax + esi - 1], 0x37
jmp 0x45df98
cmp al, 0x36
jne 0x45df4e
lea eax, [ebp - 0xc]
call fcn.00404d40
mov byte [eax + esi - 1], 0x39
jmp 0x45df98
cmp al, 0x37
jne 0x45df61
lea eax, [ebp - 0xc]
call fcn.00404d40
mov byte [eax + esi - 1], 0x30
jmp 0x45df98
cmp al, 0x38
jne 0x45df74
lea eax, [ebp - 0xc]
call fcn.00404d40
mov byte [eax + esi - 1], 0x31
jmp 0x45df98
cmp al, 0x39
jne 0x45df87
lea eax, [ebp - 0xc]
call fcn.00404d40
mov byte [eax + esi - 1], 0x35
jmp 0x45df98
cmp al, 0x30
jne 0x45df98
lea eax, [ebp - 0xc]
call fcn.00404d40
mov byte [eax + esi - 1], 0x38
inc esi
dec edi
jne 0x45decb
xor ebx, ebx
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x45dfae
sub eax, 4
mov eax, dword [eax]
mov edi, eax
test edi, edi
jle 0x45dfc7
mov esi, 1
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax + esi - 1]
xor ebx, eax
inc esi
dec edi
jne 0x45dfb9
lea ecx, [ebp - 0x10]
mov edx, 2
mov eax, ebx
call fcn.00408988
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 0x10]
movzx edx, byte [edx]
call fcn.00404a38
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x18]
call fcn.004082e8
push dword [ebp - 0x18]
push dword [ebp - 0xc]
lea eax, [ebp - 0x24]
mov edx, dword [ebp - 0x10]
movzx edx, byte [edx + 1]
call fcn.00404a38
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.004082e8
push dword [ebp - 0x20]
mov eax, dword [ebp - 0x14]
mov edx, 3
call fcn.00404be4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45e04e
lea eax, [ebp - 0x24]
mov edx, 4
call fcn.00404874
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.00404874
ret