Function at 0x414d10
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xe0
mov eax, dword [ebp + 0xc]
mov esi, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [eax + esi + 2], 0
lea esi, [esi + 2]
jne 0x414d30
sar esi, 1
lea edi, [esp + 0x8c]
push edi
push 0
push 0
push esi
push eax
push 0
call dword [0x444220]
mov ebx, dword [esp + 0x8c]
test ebx, ebx
jns 0x414d65
mov eax, 0xffffffff
jmp 0x414d68
lea eax, [ebx + ebx]
push eax
call fcn.00431ad0
add esp, 4
push edi
push ebx
mov dword [esp + 0x10], eax
push eax
push esi
push dword [ebp + 0xc]
push 0
call dword [0x444220]
mov dword [esp + 0x30], 0xbb74b90a
mov dword [esp + 0x34], 0xbf29bd19
mov dword [esp + 0x38], 0xa340a12a
mov dword [esp + 0x3c], 0xa703a514
mov dword [esp + 0x40], 0xab3da934
mov dword [esp + 0x44], 0xaf3dad01
mov dword [esp + 0x48], 0x93909100
lea eax, [esp + 0x4c]
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov byte [esp + 0x58], 0
mov dword [esp + 0x98], 0
mov ecx, dword [esp + 0x98]
cmp ecx, 0x28
ja 0x414e36
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp + 0x98]
mov edx, dword [esp + 0x98]
add cl, 0x47
xor cl, byte [esp + edx + 0x30]
add cl, 0xf
mov edx, dword [esp + 0x98]
mov byte [esp + edx + 0x30], cl
inc dword [esp + 0x98]
mov ecx, dword [esp + 0x98]
cmp ecx, 0x29
jb 0x414e00
lea edi, [esp + 0xc0]
lea edx, [esp + 0x30]
mov ecx, 7
xchg esi, edx
rep movsd dword es:[edi], dword [esi]
xchg esi, edx
lea edi, [esp + 0xdc]
xor ecx, ecx
xchg esi, eax
rep movsw word es:[edi], word [esi]
xchg esi, eax
mov eax, dword [esp + 0x8c]
mov ecx, eax
add ecx, 0xd
jns 0x414e6f
mov eax, 0xffffffff
jmp 0x414e74
add eax, eax
add eax, 0x1a
push eax
call fcn.00431ad0
add esp, 4
mov esi, eax
mov eax, dword [esp + 8]
movzx ecx, word [eax]
mov eax, esi
test cx, cx
je 0x414eb1
mov eax, dword [esp + 8]
lea edx, [eax + 2]
mov eax, esi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [edx]
add edx, 2
test cx, cx
jne 0x414ea0
mov word [eax], 0
movzx ecx, word [esp + 0xc0]
test cx, cx
je 0x414ee1
lea edx, [esp + 0xc2]
nop
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [edx]
add edx, 2
test cx, cx
jne 0x414ed0
mov word [eax], 0
lea eax, [esp + 0x74]
push 0x20
push 1
push 3
push 0x120089
push eax
push esi
call fcn.00435dc0
add esp, 0x18
not eax
shr eax, 0x1f
mov eax, dword [eax*4 + 0x43d5c0]
mov ecx, 0x8db6156e
xor ecx, dword [str.adHr]
add eax, ecx
inc eax
jmp eax
add byte [eax], al
movzx eax, word [esp + 0x22]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x60]
mov esi, dword [esp + 0x34]
lea edi, [esp + 0x50]
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], eax
mov dword [esp + 8], edx
mov dword [esp + 4], ecx
mov dword [esp], esi
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 9
call fcn.00404730
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x4c]
test eax, eax
mov eax, 0x1a46d6d0
jne 0x42de60
mov eax, 0xee8fab1b
mov ecx, dword [esp + 0x1c]
mov dword [ecx], eax
mov eax, dword [esp + 0xac]
xor eax, 0x1ec58e9c
mov ecx, dword [esp + 0x15c]
mov eax, dword [ecx + eax*4]
mov ecx, dword [0x44180c]
xor ecx, 0x13978b9a
sub eax, ecx
mov esi, ebx
mov ebp, dword [esp + 0x74]
jmp eax
and al, 0x70
add eax, dword [eax]
add byte [ebx + 0x36c248c], cl
add byte [eax], al
mov eax, dword [eax + ecx*4]
mov ecx, dword [0x4414b8]
xor ecx, 0x2ec7b730
sub eax, ecx
jmp eax