Function at 0x4ddd23
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb4
push ebx
push esi
xor esi, esi
mov dword [ebp - 0xb0], 0x7f
inc esi
xor ecx, ecx
mov eax, ecx
mov dword [ebp - 0x68], esi
mov edx, ecx
mov dword [ebp - 0xc], ecx
mov ebx, ecx
mov dword [ebp - 0x20], ecx
push edi
mov dword [ebp - 0x4c], ecx
mov edi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x60], eax
mov word [ebp - 0x5c], cx
mov dword [ebp - 0xac], ecx
mov dword [ebp - 0x44], eax
mov dword [ebp - 0xa8], eax
mov word [ebp - 0xa4], cx
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x54], eax
mov word [ebp - 0x50], cx
mov dword [ebp - 0xa0], ecx
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x9c], eax
mov word [ebp - 0x98], cx
mov dword [ebp - 0x94], ecx
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x90], eax
mov word [ebp - 0x8c], cx
mov dword [ebp - 0x88], ecx
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x84], eax
mov word [ebp - 0x80], cx
mov dword [ebp - 0x7c], ecx
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x78], eax
mov word [ebp - 0x74], cx
jmp 0x4dde0b
mov edx, esi
inc esi
mov eax, dword [ecx + esi*4]
cmp word [eax + 8], bx
jne 0x4ddddf
mov ebx, dword [ebp - 0x14]
mov eax, dword [ecx]
mov dword [ebp - 0x34], esi
or esi, 0xffffffff
cmp dword [ebp - 0x34], 0
jbe 0x51e321
test bx, bx
je 0x4dde55
mov edx, dword [ebp - 8]
mov ebx, dword [ebp - 4]
mov eax, dword [ebp - 0x68]
mov ecx, eax
push eax
mov dword [ebp - 0x24], edi
call fcn.004de2f7
inc dword [ebp - 0x68]
or esi, 0xffffffff
mov dword [ebp - 0x28], eax
test eax, eax
je 0x4de0d9
mov dword [0x4d1528], ecx
xor ecx, ecx
mov dword [ebp - 0x70], ecx
mov edx, ecx
mov ecx, dword [eax + 4]
push 0x7f
pop esi
push 0xffffffffffffffff
mov eax, dword [ecx]
movzx ebx, word [eax + 8]
cmp bx, si
mov dword [ebp - 0x14], ebx
pop esi
je 0x4dde00
push 0x7f
mov esi, edx
pop ebx
jmp 0x4ddddf
mov eax, dword [eax]
cmp eax, 0x13
jg 0x4ddf0f
cmp eax, 0x12
jge 0x51e349
sub eax, 4
cmp eax, 0xa
ja 0x4dde05
jmp dword [eax*4 + 0x402785]
cmp eax, 0x20
jg 0x4de017
je 0x4de03c
sub eax, 0x14
je 0x51e499
sub eax, 1
je 0x51e444
sub eax, 1
je 0x51e3eb
sub eax, 1
je 0x51e3cd
mov edx, dword [ebp - 8]
mov ebx, dword [ebp - 4]
sub eax, 1
jne 0x4dde0b
jmp 0x51e374
mov edx, dword [ebp - 8]
jmp 0x4dde0b
sub eax, 0x21
jne 0x4de143
mov eax, dword [ecx + 4]
push 0x7f
pop ecx
cmp word [eax + 8], cx
jne 0x51e54d
sub dword [ebp - 0x4c], 1
jne 0x51e587
jmp 0x4de04c
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
cmp eax, 1
jg 0x51e57c
push dword [ebp - 0x18]
mov ebx, dword [ebp - 4]
push dword [ebp - 0xc]
mov eax, dword [ebp - 8]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push ebx
push eax
push dword [ebp - 0x10]
push edi
call fcn.004de478
test eax, eax
jns 0x4ddf79
jmp 0x4de0f8
push dword [ebp - 0x18]
push dword [ebp - 0xc]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push ebx
push edx
push dword [ebp - 0x10]
xor ebx, ebx
push ebx
call fcn.004de478
test eax, eax
js 0x4de0f8
mov esi, ebx
lea ecx, [ebp - 0x7c]
call fcn.004de31a
lea ecx, [ebp - 0x88]
call fcn.004de31a
lea ecx, [ebp - 0x94]
call fcn.004de31a
lea ecx, [ebp - 0xa0]
call fcn.004de31a
lea ecx, [ebp - 0x58]
call fcn.004de31a
lea ecx, [ebp - 0xac]
call fcn.004de31a
lea ecx, [ebp - 0x64]
call fcn.004de31a
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
sub eax, 4
je 0x51e516
sub eax, 1
je 0x51e4c7
mov edx, dword [ebp - 8]
mov ebx, dword [ebp - 4]
sub eax, 5
jne 0x4dde0b
jmp 0x4de03c
invalid
aas
imul edi, dword [edi], 0x12
stosb byte es:[edi], al
stosd dword es:[edi], eax
xor eax, 0xc3b8f5e6
mov edi, 0xe76763be
xor eax, 0x6d6d35be
jb 0x51e41e
jb 0x51e466
insd dword es:[edi], dx
jg 0x51e4ec
pop esi
push ecx
adc esi, dword [ecx + 0x19]
lodsd eax, dword [esi]
sbb al, 0x20
lea eax, [0x409ef8f0]
mov ah, 0x13
jle 0x51e4ee
adc esi, dword [edx + esi*2 + 0x20]
outsb dx, byte [esi]
inc ebx
push edx
and eax, dword [esi + edx*2 - 0x28]
insd dword es:[edi], dx
jl 0x51e54d
retf
xor byte [edx - 0x5d], al
or dword [ebp + 0xe53cb28], 0x4d
nop
mov byte [0xbb9b302e], al
mov ah, byte [ebp - 0x5272dfe0]
fidiv word [0x213c0496]
fdiv dword [0x434e912b]
clc
xchg esi, eax
mov dword [0xbd866390], eax
mov ch, 0xaa
sub edx, eax
xchg byte [ebp - 0x2fd4554b], bh
mov al, byte [0x9c9f55eb]
and byte [ebp + 0x4c73ae76], bl
push esi
imul edx, dword [ecx - 0x1c], 0x3e
and al, 0xec
and al, 0xec
in al, dx
jge 0x51e52d
push ds
or byte [esi + 0x27f5725a], 0xa3
pop esi
stosd dword es:[edi], eax
scasb al, byte es:[edi]
lodsd eax, dword es:[esi]
pop edx
jb 0x51e52b
daa
mov dword [0x26aeab5e], eax
lodsd eax, dword [esi]
xor eax, dword [edx + 0x6e8d4da4]
ja 0x51e533
fstp qword [edx]
jns 0x51e573
invalid
inc ebx
dec eax
invalid
xor ebp, dword [ebx + eax*8]
test dword [esi + 0x5d20a3ee], ebp
mov ch, 0xaf
fidivr dword [edx + 0x6e]
arpl word [esi - 0x6b], sp
int3