Function at 0x418fac
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x64
mov eax, dword [ebp + 0xc]
push eax
sub esp, 0x1c
mov dword [ebp - 0x1c], esp
push eax
mov dword [ebp - 0x14], esp
sub esp, 0x34
mov dword [ebp - 0x24], esp
sub esp, 0x10
mov dword [ebp - 0x34], esp
push eax
mov ecx, esp
mov esi, dword [eax + 4]
mov ebx, 0xfffffffe
nop
nop
mov eax, ebx
cmp word [esi + ebx + 2], 0
lea ebx, [ebx + 2]
jne 0x418fd0
mov eax, dword [ebp + 0x10]
mov edi, dword [eax + 4]
mov eax, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [edi + eax + 2], 0
lea eax, [eax + 2]
jne 0x418ff0
sar ebx, 1
sar eax, 1
lea edx, [ebx + eax]
mov dword [ebp - 0x2c], eax
add eax, ebx
add eax, 0x1b
test eax, eax
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x28], edx
jns 0x41901e
mov eax, 0xffffffff
jmp 0x419025
lea eax, [edx*2 + 0x36]
push eax
call fcn.004084c0
add esp, 4
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x70], 0x17e219fc
mov dword [ebp - 0x6c], 0x138d1587
mov dword [ebp - 0x68], 0xf9a11f1
mov dword [ebp - 0x64], 0xbf70d2c
mov dword [ebp - 0x60], 0x78a0980
mov dword [ebp - 0x5c], 0x3900599
mov dword [ebp - 0x58], 0x3fa7018f
mov dword [ebp - 0x54], 0x3ba83daf
mov dword [ebp - 0x50], 0x37d93918
mov dword [ebp - 0x4c], 0x33be35a9
mov dword [ebp - 0x48], 0x2fb731bc
mov dword [ebp - 0x44], 0x2bb12dbe
mov dword [ebp - 0x40], 0x27c229a7
mov word [ebp - 0x3c], 0x2524
mov dword [ebp - 0x3a], 0
mov byte [ebp - 0x36], 0
mov eax, 0x53564e39
lea ecx, [ebp - 0x70]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ebx, byte [ecx]
mov edx, eax
or edx, ebx
sub ebx, edx
add ebx, eax
not edx
or edx, ebx
mov ebx, edx
not ebx
add edx, 0x21
and ebx, 1
or edx, 1
add edx, ebx
mov byte [ecx], dl
dec eax
inc ecx
cmp eax, 0x53564dfe
jne 0x4190b0
movzx ecx, word [esi]
mov eax, dword [ebp - 0x10]
test cx, cx
je 0x419101
add esi, 2
mov eax, dword [ebp - 0x10]
nop
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [esi]
add esi, 2
test cx, cx
jne 0x4190f0
mov word [eax], 0
movzx ecx, word [ebp - 0x70]
test cx, cx
je 0x419133
lea edx, [ebp - 0x6e]
mov esi, dword [ebp + 0xc]
nop
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 0x419120
jmp 0x419136
mov esi, dword [ebp + 0xc]
mov word [eax], 0
movzx ecx, word [edi]
test cx, cx
je 0x419161
add edi, 2
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [edi]
add edi, 2
test cx, cx
jne 0x419150
mov word [eax], 0
mov edi, dword [esi]
mov eax, 0xfffffffe
nop
nop
nop
cmp word [edi + eax + 2], 0
lea eax, [eax + 2]
jne 0x419170
mov esi, dword [esi + 8]
mov ecx, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [esi + ecx + 2], 0
lea ecx, [ecx + 2]
jne 0x419190
mov edx, eax
sar edx, 1
xor edx, 1
mov dword [ebp - 0x18], edx
mov edx, dword [ebp + 0x10]
mov ebx, dword [edx]
mov edx, 0xfffffffe
nop
cmp word [ebx + edx + 2], 0
lea edx, [edx + 2]
jne 0x4191b0
sar ecx, 1
and eax, 2
add eax, dword [ebp - 0x18]
sar edx, 1
add eax, ecx
lea ecx, [edx + eax]
add ecx, 0x12
test ecx, ecx
jns 0x4191d8
mov eax, 0xffffffff
jmp 0x4191e1
add eax, edx
lea eax, [eax*2 + 0x24]
push eax
call fcn.004084c0
add esp, 4
mov ecx, eax
movzx eax, word [edi]
mov dword [ebp - 0x18], ecx
test ax, ax
je 0x419211
add edi, 2
mov ecx, dword [ebp - 0x18]
nop
nop
nop
mov word [ecx], ax
add ecx, 2
movzx eax, word [edi]
add edi, 2
test ax, ax
jne 0x419200
lea edi, [ecx + 2]
mov word [ecx], 0x2f
mov edx, dword [ebp - 0x1c]
mov dword [edx], 0xe159e7b5
mov dword [edx + 4], 0xdd6ee368
mov dword [edx + 8], 0xd948df43
mov dword [edx + 0xc], 0xd541db55
mov dword [edx + 0x10], 0xd140d745
mov dword [edx + 0x14], 0xcd83d35d
mov word [edx + 0x18], 0xcfcc
mov dword [edx + 0x1a], 0
mov byte [edx + 0x1e], 0
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, eax
add cl, 0xd9
xor cl, byte [edx + eax]
add cl, 0xc3
mov byte [edx + eax], cl
mov ecx, eax
and ecx, 1
xor eax, 1
lea eax, [eax + ecx*2]
cmp eax, 0x1f
jb 0x419260
movzx eax, word [esi]
test ax, ax
je 0x4192a3
add esi, 2
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
nop
mov word [edi], ax
add edi, 2
movzx eax, word [esi]
add esi, 2
test ax, ax
jne 0x419290
jmp 0x4192a9
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
mov word [edi], 0
movzx eax, word [ecx]
test ax, ax
je 0x4192d1
add ecx, 2
nop
nop
nop
nop
nop
nop
nop
mov word [edi], ax
add edi, 2
movzx eax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4192c0
mov word [edi], 0
movzx eax, word [ebx]
test ax, ax
je 0x419301
add ebx, 2
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [edi], ax
add edi, 2
movzx eax, word [ebx]
add ebx, 2
test ax, ax
jne 0x4192f0
mov word [edi], 0
mov dword [edx], 0xf3f2f12a
mov eax, 0xab
mov ecx, 0xe7745f53
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx esi, byte [edx + eax - 0xab]
lea ebx, [eax - 0x73ba2fff]
mov edx, ecx
xor edx, ebx
and edx, esi
xor edx, ebx
add dl, 0xa4
mov esi, dword [ebp - 0x14]
mov byte [esi + eax - 0xab], dl
mov edx, dword [ebp - 0x14]
inc eax
dec ecx
cmp eax, 0xaf
jne 0x419320
push 0
push 0
push 0xc00000
push edx
mov esi, dword [ebp - 0x10]
push esi
push dword [ebp - 0x18]
mov ebx, dword [ebp + 8]
push ebx
call fcn.0041d300
add esp, 0x1c
mov byte [ebp - 0x14], al
jmp dword [0x442de0]