Function at 0x407614
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffedc
mov eax, 0x569308
push ebx
push esi
push edi
call fcn.00535f7c
mov edx, dword [0x565eac]
mov ecx, dword [0x565eb7]
mov dword [ebp - 0x78], edx
mov edx, dword [0x565eb0]
mov dword [ebp - 0x74], edx
lea edi, [ebp - 0xec]
mov dx, word [0x565eb4]
mov esi, 0x565ebb
mov word [ebp - 0x70], dx
mov dl, byte [0x565eb6]
mov byte [ebp - 0x6e], dl
mov dword [ebp - 0x7c], ecx
mov ecx, 0x1b
lea eax, [ebp - 0x78]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
push eax
call fcn.00535c7c
pop ecx
mov esi, eax
xor eax, eax
lea edx, [ebp - 0x78]
cmp esi, eax
jle 0x40768e
mov cl, 0xc8
sub cl, al
inc eax
xor byte [edx], cl
inc edx
cmp esi, eax
jg 0x407682
lea eax, [ebp - 0x7c]
push eax
call fcn.00535c7c
pop ecx
mov esi, eax
xor eax, eax
lea edx, [ebp - 0x7c]
cmp esi, eax
jle 0x4076af
mov cl, 0xc8
sub cl, al
inc eax
xor byte [edx], cl
inc edx
cmp esi, eax
jg 0x4076a3
lea eax, [ebp - 0xec]
push eax
call fcn.00535c7c
pop ecx
mov esi, eax
xor eax, eax
lea edx, [ebp - 0xec]
cmp esi, eax
jle 0x4076d6
mov cl, 0xc8
sub cl, al
inc eax
xor byte [edx], cl
inc edx
cmp esi, eax
jg 0x4076ca
xor eax, eax
lea edx, [ebp - 0x78]
mov dword [ebp - 0xf0], eax
lea eax, [ebp - 8]
mov word [ebp - 0x5c], 0x14
call fcn.00543bd8
mov edx, eax
inc dword [ebp - 0x50]
lea eax, [ebp - 4]
call fcn.00544b14
inc dword [ebp - 0x50]
dec dword [ebp - 0x50]
lea eax, [ebp - 8]
mov edx, 2
call fcn.00543cd4
mov word [ebp - 0x5c], 8
lea ecx, [ebp - 0xf0]
mov edx, dword [0x565ea8]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
push eax
push edx
mov ecx, dword [edx]
call dword [ecx + 0xc]
test eax, eax
jne 0x407b13
xor eax, eax
lea edx, [ebp - 0x7c]
mov dword [ebp - 0xf4], eax
lea eax, [ebp - 0x14]
mov word [ebp - 0x5c], 0x2c
call fcn.00543bd8
mov edx, eax
inc dword [ebp - 0x50]
lea eax, [ebp - 0xc]
call fcn.00544b14
inc dword [ebp - 0x50]
dec dword [ebp - 0x50]
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00543cd4
mov word [ebp - 0x5c], 0x20
mov word [ebp - 0x5c], 0x38
lea edx, [ebp - 0xec]
lea eax, [ebp - 0x18]
call fcn.00543bd8
mov edx, eax
inc dword [ebp - 0x50]
lea eax, [ebp - 0x10]
call fcn.00544b14
inc dword [ebp - 0x50]
dec dword [ebp - 0x50]
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.00543cd4
mov word [ebp - 0x5c], 0x20
lea ecx, [ebp - 0xf4]
push ecx
push 0
push 0x10
mov eax, dword [ebp - 0x10]
push eax
mov edx, dword [ebp - 0xc]
push edx
mov ecx, dword [ebp - 0xf0]
push ecx
mov eax, dword [ecx]
call dword [eax + 0x50]
test eax, eax
jne 0x407ad8
xor edx, edx
mov dword [ebp - 0xf8], edx
mov dword [ebp - 0xfc], 1
mov ecx, dword [ebp - 0xf4]
push ecx
mov eax, dword [ecx]
call dword [eax + 0xc]
test eax, eax
jne 0x407ac3
jmp 0x407a98
xor edx, edx
lea ecx, [ebp - 0x104]
mov dword [ebp - 0x104], edx
mov word [ebp - 0x5c], 0x20
push ecx
push 0
push 0x70
push 0
mov eax, dword [ebp - 0xf8]
push eax
mov edx, dword [eax]
call dword [edx + 0x1c]
test eax, eax
jne 0x407a83
lea ecx, [ebp - 0x108]
push ecx
push 1
mov eax, dword [ebp - 0x104]
push eax
call sub.OLEAUT32.DLL_SafeArrayGetLBound
lea edx, [ebp - 0x10c]
push edx
push 1
mov ecx, dword [ebp - 0x104]
push ecx
call sub.OLEAUT32.DLL_SafeArrayGetUBound
mov esi, dword [ebp - 0x108]
cmp esi, dword [ebp - 0x10c]
jg 0x407a83
mov dword [ebp - 0x110], esi
xor eax, eax
mov word [ebp - 0x5c], 0x20
mov dword [ebp - 0x114], eax
lea edx, [ebp - 0x124]
push edx
call sub.OLEAUT32.DLL_VariantInit
lea ecx, [ebp - 0x114]
lea eax, [ebp - 0x110]
push ecx
push eax
mov edx, dword [ebp - 0x104]
push edx
call sub.OLEAUT32.DLL_SafeArrayGetElement
mov ecx, dword [ebp - 0x114]
push ecx
call sub.OLEAUT32.DLL_SysAllocString
mov ebx, eax
push 0
push 0
lea eax, [ebp - 0x124]
push eax
push 0
push ebx
mov edx, dword [ebp - 0xf8]
push edx
mov ecx, dword [edx]
call dword [ecx + 0x10]
mov edi, eax
push ebx
call sub.OLEAUT32.DLL_SysFreeString
test edi, edi
jne 0x407a5e
mov word [ebp - 0x5c], 0x44
xor eax, eax
lea edx, [ebp - 0x124]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x2c]
inc dword [ebp - 0x50]
mov word [ebp - 0x5c], 0x50
mov word [ebp - 0x5c], 0x5c
call fcn.00544558
inc dword [ebp - 0x50]
mov word [ebp - 0x5c], 0x50
lea eax, [ebp - 0x2c]
call fcn.00544640
test al, al
je 0x4079f9
lea eax, [ebp - 0x2c]
mov edx, 1
call fcn.0054464c
mov ebx, eax
jmp 0x4079e2
mov word [ebp - 0x5c], 0x74
lea eax, [ebp - 0x3c]
call fcn.00544524
mov ecx, eax
inc dword [ebp - 0x50]
lea eax, [ebp - 0x2c]
mov edx, ebx
call fcn.00544664
mov word [ebp - 0x5c], 0x68
cmp dword [ebp - 0x1c], 0
je 0x407997
mov word [ebp - 0x5c], 0x80
mov edx, 0x5678c3
lea eax, [ebp - 0x40]
call fcn.00543bd8
inc dword [ebp - 0x50]
lea edx, [ebp - 0x40]
lea eax, [ebp - 0x1c]
call fcn.00543d18
dec dword [ebp - 0x50]
lea eax, [ebp - 0x40]
mov edx, 2
call fcn.00543cd4
invalid
mov word [ebp - 0x5c], 0x8c
xor ecx, ecx
lea edx, [ebp - 0x44]
mov dword [ebp - 0x44], ecx
lea eax, [ebp - 0x3c]
inc dword [ebp - 0x50]
call fcn.00534054
lea edx, [ebp - 0x44]
lea eax, [ebp - 0x1c]
call fcn.00543d18
dec dword [ebp - 0x50]
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.00543cd4
dec dword [ebp - 0x50]
lea eax, [ebp - 0x3c]
mov edx, 2
call fcn.005445a8
mov word [ebp - 0x5c], 0x50
inc ebx
lea eax, [ebp - 0x2c]
mov edx, 1
call fcn.00544658
cmp ebx, eax
jle 0x40793d
jmp 0x407a2d
mov word [ebp - 0x5c], 0x98
xor ecx, ecx
lea edx, [ebp - 0x48]
mov dword [ebp - 0x48], ecx
lea eax, [ebp - 0x2c]
inc dword [ebp - 0x50]
call fcn.00534054
lea edx, [ebp - 0x48]
lea eax, [ebp - 0x1c]
call fcn.00543d04
dec dword [ebp - 0x50]
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00543cd4
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
call dword [ecx + 0x34]
dec dword [ebp - 0x50]
lea eax, [ebp - 0x2c]
mov edx, 2
call fcn.005445a8
dec dword [ebp - 0x50]
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00543cd4
mov word [ebp - 0x5c], 0x20
lea ecx, [ebp - 0x124]
push ecx
call sub.OLEAUT32.DLL_VariantClear
mov eax, dword [ebp - 0x114]
push eax
call sub.OLEAUT32.DLL_SysFreeString
inc esi
cmp esi, dword [ebp - 0x10c]
jle 0x407876
cmp dword [ebp - 0x104], 0
je 0x407a98
mov edx, dword [ebp - 0x104]
push edx
call sub.OLEAUT32.DLL_SafeArrayDestroy
lea ecx, [ebp - 0x100]
lea eax, [ebp - 0xf8]
push ecx
push eax
mov edx, dword [ebp - 0xfc]
push edx
push 0xffffffffffffffff
mov ecx, dword [ebp - 0xf4]
push ecx
mov eax, dword [ecx]
call dword [eax + 0x10]
test eax, eax
je 0x40780b
cmp dword [ebp - 0xf8], 0
je 0x407ad8
mov edx, dword [ebp - 0xf8]
push edx
mov ecx, dword [edx]
call dword [ecx + 8]
cmp dword [ebp - 0xf4], 0
je 0x407aed
mov eax, dword [ebp - 0xf4]
push eax
mov edx, dword [eax]
call dword [edx + 8]
dec dword [ebp - 0x50]
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00544b88
dec dword [ebp - 0x50]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00544b88
mov word [ebp - 0x5c], 8
cmp dword [ebp - 0xf0], 0
je 0x407b28
mov ecx, dword [ebp - 0xf0]
push ecx
mov eax, dword [ecx]
call dword [eax + 8]
dec dword [ebp - 0x50]
lea eax, [ebp - 4]
mov edx, 2
call fcn.00544b88
mov ecx, dword [ebp - 0x6c]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret