Function at 0x4ce410
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x300
mov eax, dword [0x4eed48]
mov edx, dword [0x4eed50]
push ebx
mov dword [ebp - 0x48], eax
mov ax, word [0x4eed54]
mov dword [ebp - 0x38], ecx
mov ecx, dword [0x4eed4c]
push esi
mov word [ebp - 0x3c], ax
push edi
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x40], edx
mov eax, 5
xor ebx, ebx
lea ebx, [ebx]
mov cx, word [ebp + eax*2 - 0x4a]
xor word [ebp + eax*2 - 0x48], cx
dec eax
cmp eax, ebx
jg 0x4ce450
mov edx, 0x72ed
xor word [ebp - 0x48], dx
mov ecx, 7
mov esi, 0x4eed2c
lea edi, [ebp - 0xd8]
rep movsd dword es:[edi], dword [esi]
mov eax, 0xc
nop
mov cx, word [ebp + eax*2 - 0xda]
xor word [ebp + eax*2 - 0xd8], cx
dec eax
cmp eax, ebx
jg 0x4ce480
mov esi, dword [sym.imp.OLEAUT32.dll_SysReAllocString]
lea eax, [ebp - 0x48]
mov edx, 0x62e7
xor word [ebp - 0xd8], dx
push eax
call esi
lea ecx, [ebp - 0xd8]
push ecx
mov dword [ebp - 0x14], eax
call esi
mov dword [ebp - 0x18], eax
mov edx, 0x7801
mov word [ebp - 0x74], dx
mov eax, 0x7868
mov word [ebp - 0x72], ax
mov ecx, 0x7806
mov word [ebp - 0x70], cx
mov edx, 0x7835
mov word [ebp - 0x6e], dx
mov eax, 0x7807
mov word [ebp - 0x6c], ax
mov ecx, 0x7858
mov word [ebp - 0x6a], cx
mov edx, 0x7808
mov word [ebp - 0x68], dx
mov eax, 0x787a
mov word [ebp - 0x66], ax
mov ecx, 0x7815
mov word [ebp - 0x64], cx
mov edx, 0x7876
mov eax, 0x7813
mov word [ebp - 0x62], dx
mov edx, eax
mov word [ebp - 0x60], ax
mov ecx, 0x7860
mov word [ebp - 0x5e], cx
mov eax, 0x7840
mov word [ebp - 0x5a], ax
mov ecx, 0x7834
mov eax, 0x7827
mov word [ebp - 0x5c], dx
mov word [ebp - 0x58], cx
mov edx, 0x7855
mov word [ebp - 0x54], ax
mov ecx, 0x7853
mov eax, 0x7856
mov word [ebp - 0x56], dx
mov word [ebp - 0x52], cx
mov ecx, eax
mov edx, 0x7826
mov word [ebp - 0x4e], ax
mov word [ebp - 0x50], dx
mov word [ebp - 0x4c], cx
mov eax, 0x14
jmp 0x4ce580
mov dx, word [ebp + eax*2 - 0x76]
xor word [ebp + eax*2 - 0x74], dx
dec eax
cmp eax, ebx
jg 0x4ce580
mov eax, ecx
xor word [ebp - 0x74], ax
lea ecx, [ebp - 0x74]
push ecx
call esi
mov dword [ebp - 0xac], eax
mov edx, 0x5db1
mov word [ebp - 0x34], dx
mov eax, 0x5dd9
mov word [ebp - 0x32], ax
mov edx, 0x5dc1
mov word [ebp - 0x2e], dx
mov eax, 0x5d96
mov ecx, 0x5db6
mov word [ebp - 0x2c], ax
mov edx, 0x5d91
mov word [ebp - 0x30], cx
mov eax, 0x5df5
mov ecx, 0x5dff
mov word [ebp - 0x28], dx
mov edx, 0x5ded
mov word [ebp - 0x26], ax
mov eax, edx
mov word [ebp - 0x2a], cx
mov ecx, 0x5d9a
mov word [ebp - 0x20], ax
mov word [ebp - 0x24], cx
mov word [ebp - 0x22], dx
mov eax, 0xa
jmp 0x4ce610
mov cx, word [ebp + eax*2 - 0x36]
xor word [ebp + eax*2 - 0x34], cx
dec eax
cmp eax, ebx
jg 0x4ce610
mov eax, 0x7cf0
mov word [ebp - 0xa8], ax
mov edx, 0x5de2
xor word [ebp - 0x34], dx
mov ecx, 0x7c82
mov word [ebp - 0xa6], cx
mov eax, 0x7c8e
mov word [ebp - 0xa2], ax
mov ecx, 0x7ceb
mov eax, ecx
mov word [ebp - 0xa0], cx
mov word [ebp - 0x9c], ax
mov edx, 0x7ced
mov word [ebp - 0xa4], dx
mov edx, 0x7c98
mov word [ebp - 0x9e], dx
mov ecx, 0x7cb8
mov word [ebp - 0x9a], cx
mov eax, 0x7cad
mov word [ebp - 0x96], ax
mov edx, 0x7ccc
mov word [ebp - 0x98], dx
mov ecx, 0x7cdf
mov word [ebp - 0x94], cx
mov eax, 0x7cde
mov word [ebp - 0x90], ax
mov edx, 0x7cab
mov word [ebp - 0x92], dx
mov ecx, 0x7cae
mov word [ebp - 0x8e], cx
mov eax, 0x7c89
mov word [ebp - 0x8a], ax
mov edx, 0x7ce7
mov ecx, 0x7cef
mov word [ebp - 0x8c], dx
mov word [ebp - 0x88], cx
mov eax, 0x7cf2
mov edx, 0x7c80
mov word [ebp - 0x84], ax
mov ecx, 0x7c9f
mov word [ebp - 0x86], dx
mov word [ebp - 0x82], cx
mov eax, 0x7c8a
mov edx, 0x7cfe
mov ecx, 0x7ce3
mov word [ebp - 0x7e], ax
mov eax, 0x7ce2
mov word [ebp - 0x80], dx
mov word [ebp - 0x7c], cx
mov edx, 0x7c8c
xor ecx, ecx
mov word [ebp - 0x78], ax
mov word [ebp - 0x7a], dx
mov word [ebp - 0x76], cx
mov eax, 0x18
lea ecx, [ecx]
mov dx, word [ebp + eax*2 - 0xaa]
xor word [ebp + eax*2 - 0xa8], dx
dec eax
cmp eax, ebx
jg 0x4ce750
mov edi, dword [ebp - 0x38]
push ebx
lea edx, [ebp - 0xc]
push edx
mov edx, dword [ebp - 0x18]
push ebx
mov eax, 0x7ca0
xor word [ebp - 0xa8], ax
mov eax, dword [edi + 4]
push ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x18]
call eax
mov esi, eax
cmp esi, ebx
jl 0x4ce9dd
mov eax, dword [edi + 4]
mov ecx, dword [eax]
push ebx
lea edx, [ebp - 4]
push edx
mov edx, dword [ebp - 0xac]
push ebx
push ebx
push edx
push eax
mov eax, dword [ecx + 0x18]
call eax
mov esi, eax
cmp esi, ebx
jl 0x4ce9dd
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
lea edx, [ebp - 4]
push edx
push ebx
push eax
mov eax, dword [ecx + 0x3c]
call eax
mov esi, eax
cmp esi, ebx
jl 0x4ce9dd
mov eax, dword [ebp - 4]
mov ecx, 0x11
mov word [ebp - 0xe8], cx
push ebx
lea ecx, [ebp - 0xe8]
push ecx
push ebx
lea ecx, [ebp - 0x34]
mov byte [ebp - 0xe0], bl
mov edx, dword [eax]
mov edx, dword [edx + 0x14]
push ecx
push eax
call edx
mov esi, eax
cmp esi, ebx
jl 0x4ce9dd
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
push ebx
lea edx, [ebp - 0x10]
push edx
mov edx, dword [ebp - 0x14]
push ebx
push edx
push eax
mov eax, dword [ecx + 0x4c]
call eax
mov esi, eax
cmp esi, ebx
jl 0x4ce9dd
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
lea edx, [ebp - 8]
push edx
push ebx
push eax
mov eax, dword [ecx + 0x3c]
call eax
mov esi, eax
cmp esi, ebx
jl 0x4ce9dd
mov edx, dword [ebp + 8]
mov ecx, 8
mov word [ebp - 0xbc], cx
push edx
lea ecx, [ebp + 8]
call fcn.004c7396
mov eax, dword [eax]
cmp eax, ebx
je 0x4ce875
mov eax, dword [eax]
mov dword [ebp - 0xb4], eax
jmp 0x4ce87b
mov dword [ebp - 0xb4], ebx
mov esi, dword [ebp + 8]
mov edi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp esi, ebx
je 0x4ce8bc
lea ecx, [esi + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x4ce8bc
cmp esi, ebx
je 0x4ce8bc
mov eax, dword [esi]
cmp eax, ebx
je 0x4ce8a3
push eax
call edi
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x4ce8b3
push eax
call fcn.004b3716
add esp, 4
push esi
call fcn.004b3716
add esp, 4
mov edx, dword [0x4eed14]
mov eax, dword [0x4eed18]
mov ecx, dword [0x4eed1c]
mov dword [ebp - 0x300], edx
mov edx, dword [0x4eed20]
push 0x1f0
mov dword [ebp - 0x2f4], edx
mov dword [ebp - 0x2fc], eax
mov eax, dword [0x4eed24]
mov dword [ebp - 0x2f8], ecx
mov ecx, dword [0x4eed28]
lea edx, [ebp - 0x2e8]
push ebx
push edx
mov dword [ebp - 0x2f0], eax
mov dword [ebp - 0x2ec], ecx
call fcn.004b3f30
add esp, 0xc
mov eax, 0xa
lea esp, [esp]
mov cx, word [ebp + eax*2 - 0x302]
xor word [ebp + eax*2 - 0x300], cx
dec eax
cmp eax, ebx
jg 0x4ce920
mov eax, dword [ebp - 8]
mov edx, 0x6784
xor word [ebp - 0x300], dx
mov ecx, dword [eax]
push ebx
lea edx, [ebp - 0xbc]
push edx
push ebx
lea edx, [ebp - 0x300]
push edx
push eax
mov eax, dword [ecx + 0x14]
call eax
mov ecx, dword [ebp - 4]
mov edx, 0xd
mov word [ebp - 0xf8], dx
push ebx
lea edx, [ebp - 0xf8]
push edx
mov esi, eax
mov eax, dword [ebp - 8]
push ebx
lea edx, [ebp - 0xa8]
mov dword [ebp - 0xf0], ecx
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x14]
call eax
cmp esi, ebx
jl 0x4ce9dd
mov ecx, dword [ebp - 0x38]
mov eax, dword [ecx + 4]
mov edx, dword [eax]
mov edx, dword [edx + 0x60]
push ebx
lea ecx, [ebp - 0x1c]
push ecx
mov ecx, dword [ebp - 8]
push ecx
mov ecx, dword [ebp - 0x14]
push ebx
push ebx
push ecx
mov ecx, dword [ebp - 0x18]
push ecx
push eax
call edx
mov esi, eax
lea eax, [ebp - 0xbc]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov ecx, dword [ebp - 0x18]
push ecx
call edi
mov edx, dword [ebp - 0x14]
push edx
call edi
cmp esi, ebx
jge 0x4ce9dd
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp - 0xc]
cmp eax, ebx
je 0x4ce9ef
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [ebp - 0xc], ebx
mov eax, dword [ebp - 8]
cmp eax, ebx
je 0x4cea01
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x4cea13
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [ebp - 0x10], ebx
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
je 0x4cea25
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [ebp - 0x1c], ebx
mov eax, dword [ebp - 4]
cmp eax, ebx
je 0x4cea34
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
xor eax, eax
cmp esi, ebx
pop edi
pop esi
setge al
pop ebx
mov esp, ebp
pop ebp
ret 8